-
Notifications
You must be signed in to change notification settings - Fork 149
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
latest pip (20.3) cannot install latest rst2pdf (0.93) for python 3.5 #955
Comments
Thanks for posting this and the workarounds, that's helpful. I'd strongly recommend upgrading Python when you can, the latest release of rst2pdf is 0.98 supported by Python 3.6 and later. I'll leave this issue open to make it easier to find in case others have unsupported versions and run into the same thing. |
This is a known issue with that package and was tackled with a new 0.94 release. See #489 (comment) for potential resolutions. I think with that present, we can close this. |
Hmm, actually, perhaps I was too hasty in closing this. The issue seems to be that we have no release that supports Python 3.5 and because 0.94 and on including the relevant metadata to indicate this, pip is falling back to 0.93 which is neither compatible with Python 3 nor packaged correctly. As discussed at #489 (comment), I'm now thinking we might want to release a 0.95.1 release that re-adds support for Python 3.4 and 3.5, just to fix the immediate issue for anyone that's using Ubuntu 16.04. Alternatively, we stay broken and acknowledge that we have no release that supports Python 3.5. Thoughts @lornajane @akrabat ? |
Given that 3.5 is a default in a distro, I think pip install should install an rst2pdf that stands a chance of working, so I think releasing a 0.95.1 makes sense. We clearly have no plans to support it in terms of fixes going forwards, but that's okay too as the obvious path is to upgrade your Python if you need a newer rst2pdf. |
rst2pdf v 0.95.1 released which will hopefully solve this. |
Description of problem
rst2pdf-0.93.tar.gz
is actually0.93.dev0
version. Latest version ofpip
prohibates this mismatch between archive name and metadata.Workaround 1
Install a previous version of rst2pdf
$ pip install --no-cache-dir -U "rst2pdf<0.93" ... Successfully installed rst2pdf-0.91
Workaround 2
Use a previous version of pip
Workaround 3
upgrade python in order to use rst2pdf>0.93 , not a aption if you have to use python 3.5 (e.g with debian stretch)
🖥 Versions
python -V
Python 3.5.9pip --version
20.3rst2pdf 0.93 / 0.93dev0
Which operating system are you using? Mac os / Linux (debian stretch)
The text was updated successfully, but these errors were encountered: