From owner-freebsd-python@FreeBSD.ORG Tue Dec 3 07:50:01 2013 Return-Path: Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2D0E886 for ; Tue, 3 Dec 2013 07:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CFB411D54 for ; Tue, 3 Dec 2013 07:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB37o1pL031411 for ; Tue, 3 Dec 2013 07:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB37o1de031410; Tue, 3 Dec 2013 07:50:01 GMT (envelope-from gnats) Date: Tue, 3 Dec 2013 07:50:01 GMT Message-Id: <201312030750.rB37o1de031410@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Volodymyr Kostyrko Subject: Re: ports/183477: [patch] databases/py-mysql2pgsql dependency fix X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Volodymyr Kostyrko List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 07:50:01 -0000 The following reply was made to PR ports/183477; it has been noted by GNATS. From: Volodymyr Kostyrko To: koobs@FreeBSD.org, bug-followup@FreeBSD.org, kozlov.sergey.404@gmail.com Cc: Subject: Re: ports/183477: [patch] databases/py-mysql2pgsql dependency fix Date: Tue, 03 Dec 2013 09:43:42 +0200 30.11.2013 07:42, Kubilay Kocak wrote: > Volodymyr is correct, argparse is part of the standard library in 2.7 > and 3.2+, and py-mysql2pgsql is *incorrectly* including argparse > unconditionally in install_requires. > > I have just committed a fix to the devel/py-tox port [1], to correctly > model the conditional inclusion of argparse based on Python version, > that the tox authors correctly specify in their setup.py [2] after a > similar bug report [3] > > [1] http://svnweb.freebsd.org/ports?view=revision&revision=335263 > [2] > https://bitbucket.org/hpk42/tox/diff/setup.py?diff2=f20abdbeb930&at=default > [3] https://bitbucket.org/hpk42/tox/issue/5 > > I have attached a patch to pymysql2pgsql to do the same, I suggest > someone open an issue or submit a Pull Request, so it is fixed upstream: > > https://github.com/philipsoutham/py-mysql2pgsql/ Fixed there, next version will contain the fix. I hope I'll branch it Real Soon Now (TM), when triggers and longblobs will pass tests. -- Sphinx of black quartz judge my vow.