On Sat, Aug 06, 2016 at 02:52:37PM +0200, David Craven wrote: > > 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.
Almost always native-inputs, but there are a handful of packages that actually use setuptools at runtime. > 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. We prefer to use pypi-uri. We used the long blake URLs while we were adjusting pypi-uri to work with the new PyPi URL scheme.