Closed andy-maier closed 11 months ago
PR #493 fixes this issue (assuming that Python 3.6 is the intended minimum Python version). Let me know if you want a higher version, then I can adjust the PR.
Resolved via https://github.com/alecthomas/voluptuous/pull/494
Version 0.14.0 introduced the use of type hints, but its package definition does not require Python 3.6 or higher.
The Trove classifiers in the setup.py file state Python 2.7 and 3.6 and higher, but pip does not use that information, so pip happily installs 0.14.0 on Python 2.7, resulting in:
I am well aware that Python 2.7 is no longer supported by the PSF, but we still need to support it in some of our projects for certain environments (including RedHat), and our builds currently break due to that.
The mitigation for us is to pin voluptuous on Python 2.7 to <0.14.0.
The vuluptuous project should do two things:
python_requires
argument tosetup()
The question is, what is the minimum Python 3.x version now for version 0.14.0, is 3.6 sufficient?