Comments (7)
@ddelange I understand the source of the issue and mentioned it in the issue you can see above, but publishing Linux wheels doesn't seems to be something planned for now. I understand it's kind of an issue to manage such cases and that #40 you pointed out tries to solve the issue. While it's not yet the case, maybe is it at least possible to have a clean error message (that might even point out to that issue!) rather than a harsh exception (not even visible when ran by Homebrew btw)?
EDIT: And thanks for the explanation, of course!
from pipgrip.
Hi @Porkepix 👋
Will close this issue as duplicate of #40 (see #52 for another example of failing source build).
This is a downstream issue with wxPython
not (yet) publishing wheels for your current environment (mix of cpu architecture, os, python version and implementation. See also first line of your command output above. You can confirm the issue by searching on pypi.org and inspecting the wheel filenames under downloads. In this case ( is probably a trivial fix in their source installation instruction set for linux.
To avoid source install (tar.gz
), there are beautiful CI setups out there to get wheels uploaded for pretty much the whole matrix. Here's a package that can work with limited ABI, so there they can build py36 wheels that are upward compatible, and so a linux x86 py36 abi3 wheel will smoothly install in your particular py310 env. For example giampaolo/psutil#2103. Adopting such a solution, however, is up to the upstream maintainers & contributors.
Hope that helps!
from pipgrip.
not even visible when ran by Homebrew btw
definitely looking into that!
agreed that the error message could be more verbose and link to #40
from pipgrip.
Just coming from the side here, but it certainly SHOULD be possible to determine dependencies without using platform specific wheels.
Maybe this is a still a gap in the toolchain(s) though -- if a package is built from old-style setup.py :-(
from pipgrip.
Yes, it's a classic I'm afraid ref pypa/pip#1884
for instance, if there's no Mac wheel, it might be that the project does something like install_requires=['torchvision==0.10.0;sys_platform=="darwin"']
, and so you will need to run through all of setup.py
to find out the correct dependencies, as the linux wheel won't contain this dependency.
from pipgrip.
Och! that's even worse than I thought.
It seems it wouldn't have been too hard to add a requirements specification to the sdist spec years ago, but ohh well.
-CHB
from pipgrip.
Yes, py ecosystem can be a bit of a headache at times. Too many wasted hours was the trigger for me to publish this package in the first place... Ran into more walls in #45
from pipgrip.
Related Issues (20)
- Cross-platform resolving? HOT 2
- pipgrep allennlp is slow HOT 5
- Emit Markers when Locking HOT 1
- pipgrip incompatible with twine 4 HOT 4
- Error HOT 2
- pipgrip selects yanked verison HOT 6
- --reversed-tree raises NotImplementedError HOT 1
- This is not a bug!!! i am unable to execute pipgrip. HOT 9
- Implement VCS support HOT 9
- Fails to fetch deps for `numba==0.50.1` HOT 6
- Installing pipgrip fails HOT 2
- Programmatic API for pipgrip HOT 2
- Show partial tree on errors HOT 12
- Fails to discover dependencies of TensorFlow HOT 1
- Are environment markers aka conditional requirements supported? HOT 1
- Skip package versions when wheel fails to build HOT 3
- Error when package requires itself HOT 6
- Error when multiple extras are requested separately HOT 4
- VCS requirement sometimes triggers panic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipgrip.