From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 12/12] gnu: python: Add python-ipaddress. Date: Sat, 6 Aug 2016 14:52:37 +0200 Message-ID: References: <20160805183730.19049-2-david@craven.ch> <20160805183730.19049-12-david@craven.ch> <20160805185019.GA20142@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW15o-0007Sj-Ll for guix-devel@gnu.org; Sat, 06 Aug 2016 08:52:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW15k-0003PX-GG for guix-devel@gnu.org; Sat, 06 Aug 2016 08:52:43 -0400 Received: from mail-yb0-x243.google.com ([2607:f8b0:4002:c09::243]:35326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW15j-0003Ou-9Q for guix-devel@gnu.org; Sat, 06 Aug 2016 08:52:40 -0400 Received: by mail-yb0-x243.google.com with SMTP id g133so1958675ybf.2 for ; Sat, 06 Aug 2016 05:52:37 -0700 (PDT) In-Reply-To: <20160805185019.GA20142@jasmine> 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: Leo Famulari Cc: guix-devel > I believe we already have python2-ipaddress, although an older version. Ups, I missed that. Thanks. Can you answer some questions on best practices for packaging python packages? 1. Are python-setuptools inputs or native-inputs? It seems to be done both ways but I guess it doesn't really matter since it's an interpreted language. 2. Pypi uri scheme changed in April to including a blake hash of the files, but they introduced backwards compatible redirects after it broke many existing tools [0]. Should new packages use the new or the old scheme? IMO the old one is cleaner since we can use (pypi-uri "package-name" version) to construct it instead of having long hashes. If this is a best practice we should also have the pypi importer suggest it instead of the new url's. [0] https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package