The “local wheel” path isn’t the greatest right now, but to do this
# Assumes you’ve already populated the wheelhouse with pip wheel
pip install —find-links ~/.pip/wheelhouse whatever
fwiw, I found one of the discussions we had ~year ago about wheel
caching.
One question: should pip be able to install a incompatible binary wheel
directly without even a warning? It does now, but I don't think it should.
pip does confirm the wheel file is compatible with your platform/python
(based on the file tags), when downloading from indexes and links.
BUT,
On Nov 1, 2013, at 11:25 PM, Marcus Smith qwc...@gmail.com wrote:
pip does confirm the wheel file is compatible with your platform/python
(based on the file tags), when downloading from indexes and links.
BUT, just noticed, when installing directly from a specific file, it seems
it's not
On 19.10.13 03:22, Nick Coghlan wrote:
On 19 Oct 2013 04:59, Chris Barker chris.bar...@noaa.gov
mailto:chris.bar...@noaa.gov wrote:
Someone on another list indicated that pip installing binary wheels
from PyPi will ONLY work for Windows.
Is that the case? I think it's desperately needed
On Fri, Nov 1, 2013 at 6:39 AM, Christian Tismer tis...@stackless.com wrote:
On 19.10.13 03:22, Nick Coghlan wrote:
On 19 Oct 2013 04:59, Chris Barker chris.bar...@noaa.gov wrote:
Someone on another list indicated that pip installing binary wheels
from PyPi will ONLY work for Windows.
Is
On Oct 31, 2013, at 07:24 PM, Donald Stufft don...@stufft.io wrote: On Oct 31, 2013, at 1:15 PM, Ronald Oussoren ronaldousso...@mac.com wrote: Is it "just" a matter of researching if the various build options on OSX really lead to binaries with the same ABI, or is more work needed? Basically it’s
On 1 November 2013 13:41, Ronald Oussoren ronaldousso...@mac.com wrote:
If you build a Wheel with Homebrew Python will it work on the official OSX
installers? What if I have a library installed from Homebrew? Essentially
trying to figure out how likely it is that with the existing tags a wheel
On Fri, Nov 1, 2013 at 6:59 AM, Paul Moore p.f.mo...@gmail.com wrote:
The key point here is the granularity of the PEP 425 tags used by wheel.
The risk is that a wheel created on another system might declare (via
its filename) that it is compatible with your system, and then not be,
causing
On 1 November 2013 15:48, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Nov 1, 2013 at 6:59 AM, Paul Moore p.f.mo...@gmail.com wrote:
The key point here is the granularity of the PEP 425 tags used by wheel.
The risk is that a wheel created on another system might declare (via
its
On 01.11.13 13:34, Daniel Holth wrote:
On Fri, Nov 1, 2013 at 6:39 AM, Christian Tismer tis...@stackless.com wrote:
On 19.10.13 03:22, Nick Coghlan wrote:
On 19 Oct 2013 04:59, Chris Barker chris.bar...@noaa.gov wrote:
Someone on another list indicated that pip installing binary wheels
from
Chris Barker wrote:
anyone putting a [MacOSX] binary on PyPi has
an obligation to built is so it will work with the python.org
http://python.org python -- and it's not inherently any harder to do
that than on Windows
Is there some way that a wheel could be checked to make
sure it doesn't
Paul Moore wrote:
Python version - cpXY
Platform - distutils.util.get_platform(), which is darwin for OSX,
if I'm reading the code correctly.
ABI - essentially sysconfig.get_config_vars().get('SOABI') if that exists
Does the MAXOSX_DEPLOYMENT_TARGET figure into this
anywhere? Just knowing that
On Nov 1, 2013, at 6:49 PM, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013 22:36, Donald Stufft don...@stufft.io wrote:
python -c import distutils;
print(distutils.util.get_platform().replace('.', '_').replace('-', '_'))
macosx_10_8_x86_64
OK, cool. That means that binary
On 1 November 2013 22:51, Donald Stufft don...@stufft.io wrote:
How can I get the SOABI?
Sorry, didn't I include that before?
sysconfig.get_config_var('SOABI')
should do it.
Paul
___
Distutils-SIG maillist - Distutils-SIG@python.org
On Nov 1, 2013, at 6:57 PM, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013 22:51, Donald Stufft don...@stufft.io wrote:
How can I get the SOABI?
Sorry, didn't I include that before?
sysconfig.get_config_var('SOABI')
should do it.
Paul
Hmm,
python -c import sysconfig;
Looks like wheels are not being created with an ABI tag at all.
Here’s a Wheel I made to test things:
https://testpypi.python.org/pypi/PyNaCl
On Nov 1, 2013, at 6:58 PM, Donald Stufft don...@stufft.io wrote:
On Nov 1, 2013, at 6:57 PM, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November
Donald Stufft wrote:
python -c import distutils; print(distutils.util.get_platform().replace('.',
'_').replace('-', '_'))
macosx_10_8_x86_64
Hmm, this just appears to reflect the version of MacOSX
that the Python running distutils was built on, or is
running on (not sure which).
This is not
On 1 November 2013 22:58, Donald Stufft don...@stufft.io wrote:
python -c import sysconfig; print(sysconfig.get_config_var('SOABI’))
None
That implies no explicit ABI tag - the platform and Python version
tags are deemed sufficient to ensure interoperability.
Paul
On 1 November 2013 23:10, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Will there be a mechanism to get the actual MacOSX version
needed into the metadata, rather than the one you happen
to be building on?
There can be anything - the question here is really whether anything
is *needed*, or is
In article 527434d6.9020...@canterbury.ac.nz,
Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Donald Stufft wrote:
python -c import distutils;
print(distutils.util.get_platform().replace('.', '_').replace('-', '_'))
macosx_10_8_x86_64
Hmm, this just appears to reflect the version of
In article 5b1e4ff5-1107-4e85-b0ac-f29461cee...@stufft.io,
Donald Stufft don...@stufft.io wrote:
Looks like wheels are not being created with an ABI tag at all.
IIRC, distutils.util.get_platform() was not modified to reflect the SOABI when
that feature was introduced in Python 3.2 (?).
On Nov 1, 2013, at 8:39 PM, Ned Deily n...@acm.org wrote:
In article 5b1e4ff5-1107-4e85-b0ac-f29461cee...@stufft.io,
Donald Stufft don...@stufft.io wrote:
Looks like wheels are not being created with an ABI tag at all.
IIRC, distutils.util.get_platform() was not modified to reflect the
On 2 Nov 2013 09:15, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013 23:10, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Will there be a mechanism to get the actual MacOSX version
needed into the metadata, rather than the one you happen
to be building on?
There can be anything
On Nov 1, 2013, at 8:45 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 09:15, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013 23:10, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Will there be a mechanism to get the actual MacOSX version
needed into the metadata,
On 2 Nov 2013 11:10, Donald Stufft don...@stufft.io wrote:
On Nov 1, 2013, at 8:45 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 09:15, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013 23:10, Greg Ewing greg.ew...@canterbury.ac.nz
wrote:
Will there be a mechanism to
On Nov 1, 2013, at 9:56 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 11:10, Donald Stufft don...@stufft.io wrote:
On Nov 1, 2013, at 8:45 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 09:15, Paul Moore p.f.mo...@gmail.com wrote:
On 1 November 2013
On Fri, Nov 1, 2013 at 5:45 PM, Nick Coghlan ncogh...@gmail.com wrote:
* the key relevant points about users on Windows and Mac OS X are that
most (perhaps only many on Mac OS X) tutorials and introductory courses
will direct them to the binary installers on python.org, and such users
are
On 2 Nov 2013 11:59, Donald Stufft don...@stufft.io wrote:
On Nov 1, 2013, at 9:56 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 11:10, Donald Stufft don...@stufft.io wrote:
On Nov 1, 2013, at 8:45 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 2 Nov 2013 09:15, Paul
Wheels take precedence over sdists.
also, for those that don't know, pip also prioritizes wheels over other
wheels (using the same PEP425 module that the wheel project uses, which has
a sort order).
In short, plat-specific over python-specific, over general wheels.
not a very likely scenario,
If someone adds a new dependency, they should be able to easily say build
anything that I don't already have a local wheel file for from source.
pip wheel -r requirements.txt will blindly rebuild wheels for all your
dependencies, regardless of it being in your wheel dir already.
it's been on
On 21 Oct, 2013, at 20:52, Donald Stufft don...@stufft.io wrote:
On Oct 21, 2013, at 1:02 PM, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Oct 18, 2013 at 6:22 PM, Nick Coghlan ncogh...@gmail.com wrote:
-- it would be very useful if folks could easily
get binary wheels for OS-X
On 31 October 2013 23:38, Ronald Oussoren ronaldousso...@mac.com wrote:
On 21 Oct, 2013, at 20:52, Donald Stufft don...@stufft.io wrote:
On Oct 21, 2013, at 1:02 PM, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Oct 18, 2013 at 6:22 PM, Nick Coghlan ncogh...@gmail.com wrote:
-- it
On 19 Oct, 2013, at 3:22, Nick Coghlan ncogh...@gmail.com wrote:
On 19 Oct 2013 04:59, Chris Barker chris.bar...@noaa.gov wrote:
Someone on another list indicated that pip installing binary wheels
from PyPi will ONLY work for Windows.
Is that the case? I think it's desperately
On 31 Oct, 2013, at 15:26, Nick Coghlan ncogh...@gmail.com wrote:
On 31 October 2013 23:38, Ronald Oussoren ronaldousso...@mac.com wrote:
On 21 Oct, 2013, at 20:52, Donald Stufft don...@stufft.io wrote:
On Oct 21, 2013, at 1:02 PM, Chris Barker chris.bar...@noaa.gov wrote:
On Fri,
On Thu, Oct 31, 2013 at 10:26 AM, Nick Coghlan ncogh...@gmail.com wrote:
On 31 October 2013 23:38, Ronald Oussoren ronaldousso...@mac.com wrote:
On 21 Oct, 2013, at 20:52, Donald Stufft don...@stufft.io wrote:
On Oct 21, 2013, at 1:02 PM, Chris Barker chris.bar...@noaa.gov wrote:
On Fri,
On 31 Oct, 2013, at 17:49, Daniel Holth dho...@gmail.com wrote:
On Thu, Oct 31, 2013 at 10:26 AM, Nick Coghlan ncogh...@gmail.com wrote:
On 31 October 2013 23:38, Ronald Oussoren ronaldousso...@mac.com wrote:
On 21 Oct, 2013, at 20:52, Donald Stufft don...@stufft.io wrote:
On Oct 21,
On Oct 31, 2013, at 1:15 PM, Ronald Oussoren ronaldousso...@mac.com wrote:
Is it just a matter of researching if the various build options on OSX
really lead to binaries with the same ABI, or is more work needed?
Basically it’s this:
I was told a wheel built on Ubuntu probably won’t work
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 02:24 PM, Donald Stufft wrote:
To be honest the same problems likely exists on Windows, it?s just
less likely and the benefits of prebuilt binaries greater.
For all platforms *except* Windows, wheels are essentially caches --
there is
On Oct 31, 2013, at 4:49 PM, Tres Seaver tsea...@palladion.com wrote:
Pip *does* need to allow installing them on those platforms, but probably
only via explicit paths / URLS (rather than finding them on PyPI).
You can install them just fine on any platform, the only restrictions are PyPI
On 1 Nov 2013 06:50, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 02:24 PM, Donald Stufft wrote:
To be honest the same problems likely exists on Windows, it?s just
less likely and the benefits of prebuilt binaries greater.
For all
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 5:34 PM, Nick Coghlan wrote:
On 1 Nov 2013 06:50, Tres Seaver tsea...@palladion.com
mailto:tsea...@palladion.com wrote:
On 10/31/2013 02:24 PM, Donald Stufft wrote:
To be honest the same problems likely exists on Windows, it?s
On Oct 31, 2013, at 5:52 PM, Eric V. Smith e...@trueblade.com wrote:
I'm more than
happy to build them myself on a dedicated build machine.
This works! You just can’t upload/install from PyPI.
The restriction is *only* centered around PyPI.
-
Donald Stufft
PGP:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 6:05 PM, Donald Stufft wrote:
On Oct 31, 2013, at 5:52 PM, Eric V. Smith e...@trueblade.com
wrote:
I'm more than happy to build them myself on a dedicated build
machine.
This works! You just can’t upload/install from PyPI.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 05:52 PM, Eric V. Smith wrote:
I'm more than happy to build them myself on a dedicated build
machine.
Right -- that makes them back into caches. ;) You can safely deploy them
because you know the architecture / libc / etc. against
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 04:55 PM, Donald Stufft wrote:
On Oct 31, 2013, at 4:49 PM, Tres Seaver tsea...@palladion.com
wrote:
Pip *does* need to allow installing them on those platforms, but
probably only via explicit paths / URLS (rather than finding
On Oct 31, 2013 8:50 PM, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/2013 02:24 PM, Donald Stufft wrote:
To be honest the same problems likely exists on Windows, it?s just
less likely and the benefits of prebuilt binaries greater.
For
On Sat, Oct 19, 2013 at 3:22 AM, Nick Coghlan ncogh...@gmail.com wrote:
Once ensurepip has landed in Python 3.4 and pip 1.5 is released, we should
be able to get back to updating the various metadata specs, with the aim of
getting cross-platform wheel support in pip 1.6 :)
If I understand
On Oct 31, 2013, at 7:14 PM, Sebastien Douche sdou...@gmail.com wrote:
On Sat, Oct 19, 2013 at 3:22 AM, Nick Coghlan ncogh...@gmail.com wrote:
Once ensurepip has landed in Python 3.4 and pip 1.5 is released, we should
be able to get back to updating the various metadata specs, with the aim of
On Fri, Nov 1, 2013 at 12:17 AM, Donald Stufft don...@stufft.io wrote:
No, Python 3.4.x will ship whatever the latest version of pip is, so if 1.6
is out
when 3.4.1 ships it’ll ship with pip 1.6.
Good to know. Thanks Donald.
--
Sebastien Douche sdou...@gmail.com
Twitter: @sdouche / G+:
On Thu, Oct 31, 2013 at 2:34 PM, Nick Coghlan ncogh...@gmail.com wrote:
For all platforms *except* Windows, wheels are essentially caches --
there is no real reason to distribute them via PyPI at all, because OSx
and Linux develpoers will have tools to build them from sdists.
That's not at
On Thu, Oct 31, 2013 at 9:49 AM, Daniel Holth dho...@gmail.com wrote:
I'm sure you could build your own broken Windows Python, but who
bothers?
As long as we are clear that we are talking about a social difference here,
not a technical one...
IMO it pretty much boils down to the fact that
On Oct 31, 2013, at 7:25 PM, Chris Barker chris.bar...@noaa.gov wrote:
On Thu, Oct 31, 2013 at 9:49 AM, Daniel Holth dho...@gmail.com wrote:
I'm sure you could build your own broken Windows Python, but who
bothers?
As long as we are clear that we are talking about a social difference here,
On Mon, Oct 21, 2013 at 11:52 AM, Donald Stufft don...@stufft.io wrote:
Thanks -- but really? don't OS-X wheels get:
macosx_10_6_intel
or some such tacked on? Where does that go wrong?
Homebrew, Mac Ports, Fink. That would work OK if nobody ever installed things
that the system didn't
On 23 Oct 2013 05:42, Chris Barker chris.bar...@noaa.gov wrote:
On Mon, Oct 21, 2013 at 11:52 AM, Donald Stufft don...@stufft.io wrote:
Thanks -- but really? don't OS-X wheels get:
macosx_10_6_intel
or some such tacked on? Where does that go wrong?
Homebrew, Mac Ports, Fink. That
On Tue, Oct 22, 2013 at 1:19 PM, Nick Coghlan ncogh...@gmail.com wrote:
PEP 453 has had most of my attention lately, but my tentative thought has
been to introduce a relatively freeform variant field to the wheel spec.
Windows and Mac OS X would then default to an empty variant, while other
On Fri, Oct 18, 2013 at 6:22 PM, Nick Coghlan ncogh...@gmail.com wrote:
-- it would be very useful if folks could easily
get binary wheels for OS-X
We do plan to support it, but the pip devs uncovered a hole in the current
wheel spec that means it generates the same filename on *nix systems
Someone on another list indicated that pip installing binary wheels
from PyPi will ONLY work for Windows.
Is that the case? I think it's desperately needed for OS-X as well.
Linux is so diverse that I can't imagine it being useful, but OS-X has
only so many versions, and the python.org OS-X
On 19 Oct 2013 04:59, Chris Barker chris.bar...@noaa.gov wrote:
Someone on another list indicated that pip installing binary wheels
from PyPi will ONLY work for Windows.
Is that the case? I think it's desperately needed for OS-X as well.
Linux is so diverse that I can't imagine it being
58 matches
Mail list logo