From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#22437: Problems with non-auto-translated python-2 package variants Date: Fri, 22 Jan 2016 14:52:42 -0500 Message-ID: <20160122195242.GA26196@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhla-0008AE-BN for bug-guix@gnu.org; Fri, 22 Jan 2016 14:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMhlW-0006Ch-6w for bug-guix@gnu.org; Fri, 22 Jan 2016 14:53:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhlW-0006Cd-36 for bug-guix@gnu.org; Fri, 22 Jan 2016 14:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aMhlV-0006Zc-SS for bug-guix@gnu.org; Fri, 22 Jan 2016 14:53:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhlG-00081q-Fe for bug-guix@gnu.org; Fri, 22 Jan 2016 14:52:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMhlB-00069P-GZ for bug-guix@gnu.org; Fri, 22 Jan 2016 14:52:46 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhlA-000680-JV for bug-guix@gnu.org; Fri, 22 Jan 2016 14:52:41 -0500 Received: from localhost (c-68-81-58-201.hsd1.pa.comcast.net [68.81.58.201]) by mail.messagingengine.com (Postfix) with ESMTPA id AAC6FC013FE for ; Fri, 22 Jan 2016 14:52:39 -0500 (EST) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22437@debbugs.gnu.org Python-2 variants of python-3 packages that are not automatically translated by package-with-python2 are not used by auto-translated python-2 packages. For example, python2-cryptography requires python2-ipaddress. This is not required by python-cryptography: http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/python.scm#n5838 Python-oauthlib requires python-cryptography, and thus cannot be translated wholly by package-with-python2. Package-with-python2 fails to refer to the "hand-made" python2-cryptography that includes python2-ipaddress, and insteads attempts to generate it automatically. This results in a failed build of python2-cryptopgraphy because python2-ipaddress is not being provided. The solution is to remove python-cryptography from python2-oauthlib and provide python2-cryptography "by hand": http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/python.scm#n2333 This is especially annoying when a python-2 variant needs to refer to more than one of these "hand-made" python-2 packages: http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00921.html There are many python-3 packages that include python-setuptools, even though they build without it. I assume this is to easily take advantage of package-with-python2. Some context: bug: python2 versions of packages failing as inputs http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22013 guix-devel: Python2-jsonschema fails: http://lists.gnu.org/archive/html/guix-devel/2016-01/msg00604.html guix-devel: Split acme into both Python variants http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00921.html