Comments (7)
I've seen this issue too. To the best of my recollection, it was an issue with the fact that any packages from setup_requires
are installed in some hackish way that doesn't always work nicely. I ran into a similar issue where installing cffi with setup_requires raised an error because it couldn't find the installed ffi library; again I had to use the pip install workaround.
I would defer this issue to the pip guys...this definitely isn't an issue particular to cibuildwheel.
from cibuildwheel.
A note: setup_requires
don't use wheels, pip installing the dependencies before is a good optimization (especially when requiring stuff like Cython or Numpy). How this works inside is a mystery for me. Maybe the root of this issue is in setuptools.
from cibuildwheel.
Thanks for the report @hroncok. The more I learn about setup_requires
, the more I'm sure it shouldn't be used. Packages installed though it are installed in some arcane setuptools way that isn't well supported in a post-pip
world.
In summary - don't use setup_requires
. If you must use it, preinstall those dependencies using CIBW_BEFORE_BUILD="pip install x y z"
.
from cibuildwheel.
might be solved with pip install certifi
?
from cibuildwheel.
Any update on this @hroncok? Did you get it working using another method?
from cibuildwheel.
from cibuildwheel.
That's basically what I have learned as well.
from cibuildwheel.
Related Issues (20)
- [CI] Use pre-built sdists for testing @ GHA rather than testing a Git checkout
- "symbol not found" in MacOS arm64 wheels for C-extension dependent on NumPy HOT 2
- Sporadic timeouts in oci_container.py HOT 1
- Troubleshooting Python 3.12 uWSGI wheel HOT 16
- Note about `actions/upload-artifact@v4` HOT 25
- Feature Request: flag to skip build if there is not a numpy wheel available HOT 2
- Access environment variables in config-settings
- No build identifiers selected, even though build_config is cp312-* HOT 2
- [FR] Make it easier to run `cibuildwheel` against unlisted Python builds HOT 7
- Cross compilation yields x86-64 wheel HOT 1
- Failure on ubuntu22.04: sizeof(Big Struct) differs between binary wheel and local "pip install" HOT 1
- Ubuntu: ABI difference between pip install (SYSV) and cibuildwheel (GNU/Linux)? HOT 4
- How to cross-compile dylib on macos? HOT 4
- Multi-line test commands can spuriously pass HOT 4
- Update PyPy to 7.3.15 HOT 7
- GitHub Actions Windows: Invalid --only='""' (fixed in 2.16.5) HOT 6
- Transient failures for Windows AMD64 builds when searching for `pyproject.toml` HOT 10
- Support arm64 macOS runner for GitHub Actions HOT 14
- Uninformative error message - Issue with Windows Build HOT 3
- Allow copying artifacts to `/output` in case of test failure on docker
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 cibuildwheel.