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

from __future__ import annotations requires python 3.7 #490

Closed
remi-delmas-3000 opened this issue Nov 14, 2023 · 4 comments
Closed

from __future__ import annotations requires python 3.7 #490

remi-delmas-3000 opened this issue Nov 14, 2023 · 4 comments

Comments

@remi-delmas-3000
Copy link

Hi just posting this here so that other users like me are aware of the issue: release 0.14.0 introduced the use of type annotations from __future__ import annotations, which actually require python >= 3.7 to work as mentioned here https://peps.python.org/pep-0563/.

Voluptuous still advertises python 3.6 and lower as supported.

@alecthomas
Copy link
Owner

Where does it advertise this so we can change it?

@spacegaier
Copy link
Collaborator

spacegaier commented Nov 15, 2023

We are indeed still listing 2.7 and 3.6 on pypi (from here https://github.com/alecthomas/voluptuous/blob/master/setup.py).

I added a corresponding note to the Github release.

@alecthomas
Copy link
Owner

Ah I see. It'd be nice if we could somehow keep that in sync with the CI test matrix and the tox.ini

@spacegaier
Copy link
Collaborator

Ah I see. It'd be nice if we could somehow keep that in sync with the CI test matrix and the tox.ini

Not sure if it is worth the hassle to try to set that up, but if someone already knows how to, let me know or provide a PR that handles it.

Closing this issue as resolved via #494.

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

3 participants