Code Monkey home page Code Monkey logo

Comments (2)

AJIEIIIA avatar AJIEIIIA commented on August 11, 2024

I know quadprog==0.1.10 has this dependency fixed, but jsut in case other packages might not be so nice

from vulcan-py.

Thirdegree avatar Thirdegree commented on August 11, 2024

Unfortunately I don't think it is possible to correctly handle this case (and indeed, setuptools.build_meta will also fail to install the following:

$ command cat pyproject.toml 
[build-system]
requires = [ "setuptools<58", "Cython==0.27.3", "wheel"]
build-backend = "setuptools.build_meta"
$ command cat setup.cfg 
[options]
install_requires = 
    quadprog==0.1.6

With the same error:

      File "/tmp/pip-install-551h99mw/quadprog_62dd3219c5324e93ac88e2f65d3f04ba/setup.py", line 17, in <module>
        from Cython.Build import cythonize
    ModuleNotFoundError: No module named 'Cython'

)

We can't install the requires dependencies into the lock virtualenvs because that would impact and potentially conflict with the actual dependnecies of the project.

With respect to installing first cython and then quadprog, I would indeed expect that to work when done one after the other. But in the same way as above, the following fails: python -m pip install Cython==0.27.3 quadprog==0.1.6

from vulcan-py.

Related Issues (14)

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.