From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: Re: [PATCH]: guix: python-build-system: Change pypi-uri to use https://pypi.io. Date: Fri, 24 Jun 2016 09:51:56 +1000 Message-ID: <576C761C.9020106@uq.edu.au> References: <87inx1t6l6.fsf@dustycloud.org> <20160622185036.GA13667@jasmine> <87shw4i16t.fsf_-_@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGEPq-0008J8-N6 for guix-devel@gnu.org; Thu, 23 Jun 2016 19:52:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGEPl-0006z3-R4 for guix-devel@gnu.org; Thu, 23 Jun 2016 19:52:09 -0400 Received: from mailhub1.soe.uq.edu.au ([130.102.132.208]:38752 helo=newmailhub.uq.edu.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGEPl-0006yx-85 for guix-devel@gnu.org; Thu, 23 Jun 2016 19:52:05 -0400 In-Reply-To: <87shw4i16t.fsf_-_@member.fsf.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= , Leo Famulari Cc: guix-devel On 23/06/16 21:39, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > Leo Famulari writes: > >> On Wed, Jun 22, 2016 at 01:35:17PM -0500, Christopher Allan Webber wro= te: >>> Note that the old URL scheme no longer seemed to work. >>> >>> I'm not thrilled by the new URL "scheme". It seems like more work to >>> update with each version bump. I'm not sure what the solution is? >> Please review Ben's 'pypi-origin' patch :) >> >> http://lists.gnu.org/archive/html/guix-devel/2016-06/msg00724.html >> >>> (source (origin >>> (method url-fetch) >>> - (uri (pypi-uri "Flask" version)) >>> + (uri >>> + (string-append >>> + "https://pypi.python.org/packages/55/8a/" >>> + "78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c9596888= 72643ffb3/" >>> + "Flask-0.11.1.tar.gz")) >> In the meantime, I think it's best to keep the hash on its own line, t= o >> reduce noise in the commit log if we do more updates in this format. > Ah, nixpkgs use pypi.io for it, and it will redirect the old uri > scheme to the new one. > > I guess we should do the same? This is a simpler solution than 'pypi-origin'. Thanks. My only concern is that it is "pre-production", WDYT? ben