Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to matplotlib-base in setup.cfg prevents installation via pip #1662

Open
wuebbel opened this issue Nov 22, 2024 · 2 comments
Open

Comments

@wuebbel
Copy link

wuebbel commented Nov 22, 2024

setup.cfg contains
matplotlib-base >=3.4
which prevents the installation of master.zip via pip, since base is not available via pip:

CBM8032% pip install https://github.com/odlgroup/odl/archive/master.zip
Collecting https://github.com/odlgroup/odl/archive/master.zip
  Using cached https://github.com/odlgroup/odl/archive/master.zip
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement matplotlib-base>=3.4 (from odl) (from versions: none)
ERROR: No matching distribution found for matplotlib-base>=3.4

Simply changing matplotlib-base to matplotlib solves the problem. Seems that the package is never called.

@leftaroundabout
Copy link
Contributor

Thanks for the report. I need to update the PyPI release so installation with pip is smooth again.

As you noticed many things can be done without matplotlib, but there is binding code that requires it, that's why we depend on the lightweight matplotlib-base. With Conda this installs just fine and ensures compatibility, but indeed it might make sense to just omit it for PyPI.

@wuebbel
Copy link
Author

wuebbel commented Nov 22, 2024

Thanks for the quick response. Would be great to have that installable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants