Skip to content
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

wheel version 0.38.0 is incompatible with python < 3.7 #478

Closed
smistad opened this issue Oct 28, 2022 · 1 comment
Closed

wheel version 0.38.0 is incompatible with python < 3.7 #478

smistad opened this issue Oct 28, 2022 · 1 comment

Comments

@smistad
Copy link

smistad commented Oct 28, 2022

The line "from __future__ import annotations" was added to the file src/wheel/__init__.py in version 0.38.0.
This makes the wheel package incompatible with python versions < 3.7 as __future__ annotations was not added until python 3.7 (https://peps.python.org/pep-0563/#enabling-the-future-behavior-in-python-3-7).

I think a lot of people are still using version 3.6 of python, including myself, and wheel 0.38.0 broke my build setup with the error message "SyntaxError: future feature annotations is not defined".

@agronholm
Copy link
Contributor

First of all, the 0.38.0 release was yanked from PyPI, so it won't be downloaded unless you explicitly specify the version. Second, it was packaged with a specifier that prevents installation on Pythons earlier than 3.7. If your tools are so ancient they will not honor any of these restrictions, I suggest you upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants