Re: [Distutils] Working toward Linux wheel support
On Thu, Sep 3, 2015 at 8:16 AM, Donald Stufftwrote: > On September 3, 2015 at 8:15:53 AM, Daniel Holth (dho...@gmail.com) wrote: > > We could at least merge the implementation of the SOABI tag for Python > 2.7 > > (cp27m, cp27mu, ...), which has been in the PEP from the beginning but > was > > never implemented for Python 2. This lets you distinguish between wheels > > built for CPython with debug, pymalloc, unicode builds. > > > > For pypy which does not have SOABI, the current 'none' should suffice. > The ABI tag code as written will actually set it for PyPy (e.g. 'pp222mu') since the SOABI config var is unset on it (and probably any other non-Python-3 implementation). This was intentional since PyPy does actually build some C Extensions, but I can limit SOABI detection to CPython if it doesn't make sense to do it on PyPy. However, I see now it will also be set for Jython, which it definitely should not do, so I'll fix that regardless. > > > > Merging the SOABI tag sounds like a win to me. > I'll create PRs for this against wheel and pip shortly. I can also work on a PEP for the platform tag - I don't think it's going to need to be a big one. Are there any preferences as to whether this should be a new PEP or an update to 425? > > - > Donald Stufft > PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 > DCFA > > > ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Working toward Linux wheel support
IIRC there's also a bug where we use pypy's version "2.6.2" and not the version of Python it implements "2.7" for the first tag. On Thu, Sep 3, 2015 at 9:53 AM Nate Coraorwrote: > On Thu, Sep 3, 2015 at 8:16 AM, Donald Stufft wrote: > >> On September 3, 2015 at 8:15:53 AM, Daniel Holth (dho...@gmail.com) >> wrote: >> > We could at least merge the implementation of the SOABI tag for Python >> 2.7 >> > (cp27m, cp27mu, ...), which has been in the PEP from the beginning but >> was >> > never implemented for Python 2. This lets you distinguish between wheels >> > built for CPython with debug, pymalloc, unicode builds. >> > >> > For pypy which does not have SOABI, the current 'none' should suffice. >> > > The ABI tag code as written will actually set it for PyPy (e.g. 'pp222mu') > since the SOABI config var is unset on it (and probably any other > non-Python-3 implementation). This was intentional since PyPy does actually > build some C Extensions, but I can limit SOABI detection to CPython if it > doesn't make sense to do it on PyPy. > > However, I see now it will also be set for Jython, which it definitely > should not do, so I'll fix that regardless. > > >> > >> >> Merging the SOABI tag sounds like a win to me. >> > > I'll create PRs for this against wheel and pip shortly. I can also work on > a PEP for the platform tag - I don't think it's going to need to be a big > one. Are there any preferences as to whether this should be a new PEP or an > update to 425? > > >> >> - >> Donald Stufft >> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 >> DCFA >> >> >> ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Working toward Linux wheel support
On Thu, Sep 3, 2015 at 9:56 AM, Daniel Holthwrote: > IIRC there's also a bug where we use pypy's version "2.6.2" and not the > version of Python it implements "2.7" for the first tag. > It's the other way around: https://github.com/pypa/pip/issues/2882 My changes set the Python tag to the version of PyPy. > On Thu, Sep 3, 2015 at 9:53 AM Nate Coraor wrote: > >> On Thu, Sep 3, 2015 at 8:16 AM, Donald Stufft wrote: >> >>> On September 3, 2015 at 8:15:53 AM, Daniel Holth (dho...@gmail.com) >>> wrote: >>> > We could at least merge the implementation of the SOABI tag for Python >>> 2.7 >>> > (cp27m, cp27mu, ...), which has been in the PEP from the beginning but >>> was >>> > never implemented for Python 2. This lets you distinguish between >>> wheels >>> > built for CPython with debug, pymalloc, unicode builds. >>> > >>> > For pypy which does not have SOABI, the current 'none' should suffice. >>> >> >> The ABI tag code as written will actually set it for PyPy (e.g. >> 'pp222mu') since the SOABI config var is unset on it (and probably any >> other non-Python-3 implementation). This was intentional since PyPy does >> actually build some C Extensions, but I can limit SOABI detection to >> CPython if it doesn't make sense to do it on PyPy. >> >> However, I see now it will also be set for Jython, which it definitely >> should not do, so I'll fix that regardless. >> > >> >>> > >>> >>> Merging the SOABI tag sounds like a win to me. >>> >> >> I'll create PRs for this against wheel and pip shortly. I can also work >> on a PEP for the platform tag - I don't think it's going to need to be a >> big one. Are there any preferences as to whether this should be a new PEP >> or an update to 425? >> >> >>> >>> - >>> Donald Stufft >>> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 >>> DCFA >>> >>> >>> ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Working toward Linux wheel support
On Thu, Sep 3, 2015 at 10:04 AM, Nate Coraorwrote: > On Thu, Sep 3, 2015 at 9:56 AM, Daniel Holth wrote: > >> IIRC there's also a bug where we use pypy's version "2.6.2" and not the >> version of Python it implements "2.7" for the first tag. >> > > It's the other way around: > > https://github.com/pypa/pip/issues/2882 > > My changes set the Python tag to the version of PyPy. > > >> On Thu, Sep 3, 2015 at 9:53 AM Nate Coraor wrote: >> >>> On Thu, Sep 3, 2015 at 8:16 AM, Donald Stufft wrote: >>> On September 3, 2015 at 8:15:53 AM, Daniel Holth (dho...@gmail.com) wrote: > We could at least merge the implementation of the SOABI tag for Python 2.7 > (cp27m, cp27mu, ...), which has been in the PEP from the beginning but was > never implemented for Python 2. This lets you distinguish between wheels > built for CPython with debug, pymalloc, unicode builds. > > For pypy which does not have SOABI, the current 'none' should suffice. >>> >>> The ABI tag code as written will actually set it for PyPy (e.g. >>> 'pp222mu') since the SOABI config var is unset on it (and probably any >>> other non-Python-3 implementation). This was intentional since PyPy does >>> actually build some C Extensions, but I can limit SOABI detection to >>> CPython if it doesn't make sense to do it on PyPy. >>> >>> However, I see now it will also be set for Jython, which it definitely >>> should not do, so I'll fix that regardless. >>> >> >>> > Merging the SOABI tag sounds like a win to me. >>> >>> I'll create PRs for this against wheel and pip shortly. I can also work >>> on a PEP for the platform tag - I don't think it's going to need to be a >>> big one. Are there any preferences as to whether this should be a new PEP >>> or an update to 425? >>> >> Here are the PRs for SOABI support and PyPy version tag correction: https://bitbucket.org/pypa/wheel/pull-requests/55/soabi-support-for-python-2x-and-pypy/diff https://github.com/pypa/pip/pull/3075 --nate >>> - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA > ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Working toward Linux wheel support
We could at least merge the implementation of the SOABI tag for Python 2.7 (cp27m, cp27mu, ...), which has been in the PEP from the beginning but was never implemented for Python 2. This lets you distinguish between wheels built for CPython with debug, pymalloc, unicode builds. For pypy which does not have SOABI, the current 'none' should suffice. On Wed, Sep 2, 2015 at 7:45 PM Donald Stufftwrote: > On September 1, 2015 at 9:57:50 AM, Daniel Holth (dho...@gmail.com) wrote: > > Looks amazing, why don't we merge it. > > > > I think we need to update the PEP or write a new PEP before we add new > tags to the implementation. > > - > Donald Stufft > PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 > DCFA > > > ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Working toward Linux wheel support
On September 3, 2015 at 8:15:53 AM, Daniel Holth (dho...@gmail.com) wrote: > We could at least merge the implementation of the SOABI tag for Python 2.7 > (cp27m, cp27mu, ...), which has been in the PEP from the beginning but was > never implemented for Python 2. This lets you distinguish between wheels > built for CPython with debug, pymalloc, unicode builds. > > For pypy which does not have SOABI, the current 'none' should suffice. > Merging the SOABI tag sounds like a win to me. - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
[Distutils] ensurepip in linux distros
Can anyone summarize the state of ensurepip for the major linux distros. Do any currently include a version that leaves ensurepip intact? If not, will any? Moreover, would any ever also bootstrap pip for you? I'm not asking out of interest in wanting it, more to understand for the sake of editing pip and PyPUG docs. thanks, Marcus ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
[Distutils] mention Copr/EPEL/IUS in pip install instructions?
Hello: I'm looking for opinions on mentioning Copr and/or EPEL and/or IUS in the pip install instructions. Here's the PR with the actual docs changes: https://github.com/pypa/pip/pull/3067 The goal is to give people a linux distro-friendly way (at least for fedora/centos/rhel) to upgrade pip (in distro-managed pythons) to a newer version, i.e. something more friendly than "get-pip.py" I started the thread in the pypa-dev list. thought I might get broader feedback over here. feedback in the PR is appreciated. thanks Marcus ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig