-
Notifications
You must be signed in to change notification settings - Fork 7.1k
0.2.2 wheel is forcing tqdm==4.19.9 #766
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
@soumith , just a quick question ! I think we can remove that line . |
See: #542 |
@mitar I Tried using the versions mentioned above by me and no error is showing for me. |
There is no error. It is just that it forces |
With error i meant , mentioned in #541 . |
But tqdm/tqdm#548 is not closed? |
I'd suggest using platform specific dependencies (see https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies and https://www.python.org/dev/peps/pep-0508/) so the downgrade is only forced for Python 2. |
we'll fix it today. |
I think I'll just remove the dependency on tqdm, and use instead the version from pytorch in https://github.com/pytorch/pytorch/blob/13e6326c07cd44ad52db32ac3918eeb79f8230bc/torch/utils/model_zoo.py#L126-L151 |
So while
setup.py
has code which forcestqdm==4.19.9
version only on Python 2 and leaves version unforced on Python 3, 0.2.2 package was published with a wheel which is the same for both Python 2 and Python 3 and havetqdm==4.19.9
version hard-coded. It seems when wheel was made Python 2 was used.I think that if you have such condition in
setup.py
you have to publish a different wheel for Python 2 and Python 3 and not the same one.The text was updated successfully, but these errors were encountered: