-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Incompatible version is released to Python 2 #8545
Comments
What is the status of this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions. |
this issue is not solved and causes serious error when installing chainer in python2. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions. |
This issue is closed as announced. Feel free to re-open it if needed. |
please please stop distributing |
I'm sorry for the inconvenience. I've uploaded v7.0.0.post1 sdist release to PyPI with the correct python_requies tag, and "yank"ed v7.0.0 release. Could you test if the problem has been resolved? (I think pip 20.3+ is required to respect yank flag) |
I checked with
|
Glad to hear that! |
@kmaehashi Wow, very nice solution! |
@pazeshun Thanks for the feedback! As for cupy-cuda* packages, I think it's reasonable to simply remove Python 2.7 wheels from PyPI, but unfortunately for |
…mpatible versions to Python2 - chainer/chainer#8545 - protocolbuffers/protobuf#8984
chainer>=7.0.0
released before #8517 is still released to Python 2, even though they doesn't support Python 2.Due to this, we cannot use
pip install chainer
in Python 2. Instead, we always have to specify install version likepip install chainer<7.0.0
.This situation easily causes mistakes of installing incompatible versions.
In addition, this is problem when using ROS.
In ROS, we want to resolve all dependency with
rosdep install
command, but its philosophy is likeapt
and it doesn't have a method to specify install version.http://wiki.ros.org/ROS/Tutorials/rosdep
(Now we are working on making exceptions of Python packages in that philosophy, but the discussion doesn't advance:
ros-infrastructure/rosdep#694)
I know released version cannot be overwritten,
https://stackoverflow.com/questions/21064581/how-to-overwrite-pypi-package-when-doing-upload-from-command-line
so solutions I know are the following:
chainer>=7.0.0
(very strange solution)chainer>=7.0.0
released before Do not install chainer>=7.0.0 in python2 #8517 (very drastic solution)I know this is difficult problem, but hope this is solved.
cf. #8517 (comment)
The text was updated successfully, but these errors were encountered: