-
Notifications
You must be signed in to change notification settings - Fork 69
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
Upgrade fails due to inconsistent version #984
Comments
Thanks for the report. I cannot reproduce though. Installing rpy2-3.5.6, and then |
I tested some more but I have been unable to figure it out. Does it behave differently for you if you build from source ( |
Binaries for Linux are currently not provided (although they might at some point - see #960). Otherwise, the following ran successfully on my end: pip uninstall rpy2 # until no rpy2 left
pip install --no-binary :all: rpy2==3.5.6
pip install -U --no-binary :all: rpy2 The issue is likely with either a pypi mirror your are using, or the use of a proxy or cache. |
Thanks for looking into it. I will close the issue. For full disclosure, my pip cache is disabled, no proxy is setup, and I am not using a mirror. |
This issue reoccurred when updating from 3.5.7 to 3.5.8. It appears that the dynamic version number defined in
|
I really cannot reproduce on this end, and so far this seems like the only report of an issue like this. Could it be that you have an outdated version of |
Pip is up to date (23.0). I left a question at pypa/setuptools#3819 |
I did a bit of sleuthing and found that this import statement is causing the problem: Line 25 in 4a4e600
Once I commented it out the issue did not arise. |
@lgautier local and testPyPI installs worked. 👍🏻 |
Thanks. |
Describe the issue or bug
Upgrading rpy2 from
3.5.6
to3.5.7
fails due to inconsistent version.Discarding https://files.pythonhosted.org/packages/8b/39/4a9d9e59ba062f156a642af7271bed418584406a6e65c3a23d1ded8c4a77/rpy2-3.5.7.tar.gz (from https://pypi.org/simple/rpy2/) (requires-python:>=3.7): Requested rpy2 from https://files.pythonhosted.org/packages/8b/39/4a9d9e59ba062f156a642af7271bed418584406a6e65c3a23d1ded8c4a77/rpy2-3.5.7.tar.gz has inconsistent version: expected '3.5.7', but metadata has '3.5.6'
To Reproduce
Expected behavior
rpy2 would upgrade.
Error
Relevant verbose output:
Additional context
The text was updated successfully, but these errors were encountered: