-
Notifications
You must be signed in to change notification settings - Fork 1k
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
conda install of 1.5.1 not detected by pip #2447
Comments
@phschiele this is in relation to the bug we saw when building spcqe a couple days ago |
@pluflou I am able to reproduce your output on a fresh code space:
Installing from PyPI works, though. |
No I haven't... We didn't change anything about the way cvxpy gets installed between 1.4.3 and 1.5.1 (the I added a test in conda-forge/cvxpy-feedstock#92 and could reproduce the failure. On a hunch, I restricted to Lines 26 to 34 in f098629
which cannot work in conda-forge for various reasons (these packages get installed through conda before the build starts). However, we've been doing that since a long time, so I don't think this should play a role here. |
@timkpaine found the issue - it's that |
It should be safe to include |
Describe the bug
There is a bug in the packaging of v1.5.1. Pip fails to detect it when installed with conda; it seems to be missing the dist-info directory.
To Reproduce
In a fresh conda environment, install the latest cxvpy:
conda install cvxpy -c conda-forge
Expected behavior
I expect to see cvxpy listed as installed when calling
pip list
orpip freeze
.Output
cvxpy shows up as
UNKNOWN
when callingpip list
orpip freeze
:Version
Additional context
This was working as expected in v1.4.3. We saw this bug when building our conda package that depends on cvxpy. The build fails to pass the pip check test in our conda recipe (see workflow failure here and PR here).
The text was updated successfully, but these errors were encountered: