GithubHelp home page GithubHelp logo

Comments (7)

tgarc avatar tgarc commented on May 22, 2024 1

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.

hroncok avatar hroncok commented on May 22, 2024 1

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.

joerick avatar joerick commented on May 22, 2024 1

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.

joerick avatar joerick commented on May 22, 2024

might be solved with pip install certifi?

from cibuildwheel.

joerick avatar joerick commented on May 22, 2024

Any update on this @hroncok? Did you get it working using another method?

from cibuildwheel.

hroncok avatar hroncok commented on May 22, 2024

from cibuildwheel.

hroncok avatar hroncok commented on May 22, 2024

That's basically what I have learned as well.

from cibuildwheel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.