-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: can't install 2.1.0rc0. "Inconsistent version: expected '2.1.0rc0', but metadata has '0+unknown'" #54686
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
Comments
first, thanks a tonne for trying out the release candidate - this will help find bugs you're missing pip install --pre pandas==2.1.0rc0 |
It's a very confusing error message, though .. (but that might be something to change in pip) One aspect of the error message is about that it says pandas "0+unknown" is being installed, and this seems a bit suspicious to me? (whether it's actually causing an error or not) Shouldn't meson know the version that is being installed in case of an sdist? When doing this locally in a clean env with just python 3.11 and pip, and forcing to install from source (
Shouldn't meson-python know the correct version for the sdist? cc @lithomas1 |
And I tried doing the same for a previous RC, pandas 2.0.0rc0, where this actually worked:
so this might actually be a regression? |
I think I patched this in #54525. Can you try [from nightlies]https://anaconda.org/scientific-python-nightly-wheels/pandas/2.1.0rc0%2B111.g7a16d92286/download/pandas-2.1.0rc0%2B111.g7a16d92286.tar.gz? (You can download the .tar.gz and pip install using the file) (I realize now that the tag for the nightlies seems to be messed up as well, it should be 2.2.0dev0 not 2.1.0rc0, but that's since I repushed 2.1.0rc0 since the wheel builds didn't trigger for the rc. |
Indeed, installing the latest nightly sdist works. And since #54525 was backported, assuming this will also work for 2.1.0. So closing as fixed. |
Thanks guys |
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Failed to install pandas 2.1.0rc0 on aarch64 linux with pip version 22.3.1
Expected Behavior
I would expect pip install to complete successfully.
Installed Versions
None, pandas failed to install
The text was updated successfully, but these errors were encountered: