Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2017 19:30:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 217044] devel/py-setuptools: Upgrade to 34.1.1
Message-ID:  <bug-217044-21822-ZP6gxNkw0L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217044-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217044-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217044

--- Comment #1 from John W. O'Brien <john@saltant.com> ---
Here's a candidate strategy.

1. Teach USES=python about USE_PYTHON=wheel [0]
2. Convert devel/py-pyparsing, devel/py-six, and devel/py-appdirs to wheel
3. Implement devel/py-packaging to wheel
4. Convert devel/py-setuptools to wheel and depend on the foregoing

The first step would be the only relatively heavy lift. Fortunately, the wheel
feature would initially only need limited PEP-427 compliance since all ports
that need it for this purpose are pure python, support both py2 and py3, set
"Root-Is-Purelib: true", and don't require most steps of the "spread" phase
because they all lack a .data directory. It should be reasonably sane to retain
autoplist support for the wheel feature by using the output of `unzip -l`.

Jason Coombs writes, "Instead of vendoring the growing list of dependencies
that Setuptools requires to function, Setuptools now requires these
dependencies just like any other project." This "growing list" makes me wonder
how quickly Setuptools has been accumulating dependencies. The answer is not
that fast, at least so far.

    2014-09-04 packaging [1]
    2015-12-10 pyparsing [2]
    2016-01-07 six [3]
    2016-08-27 appdirs [4]

This gives me a basis to expect that a nascent implementation of #1 above given
the minimal requirements described isn't likely to be broken right away.

If there are any major problems or pitfalls with this approach I haven't
thought of or encountered them yet. I shall, therefore, set off down this road
in search of fame and fortune.

[0] https://www.python.org/dev/peps/pep-0427/
[1]
https://github.com/pypa/setuptools/commit/84c9006110e53c84296a05741edb7b9edd305f12
[2]
https://github.com/pypa/setuptools/commit/a718819d2849196e902808301c9a95724510c5c1
[3]
https://github.com/pypa/setuptools/commit/3bd5118eaa87b4f6598e0a473fec3623b6579d3b
[4]
https://github.com/pypa/setuptools/commit/691e6ac03339d6aef045e05872b286d91e9f49b9

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217044-21822-ZP6gxNkw0L>