From aaf6a9789f47d2147edddd608eacc3411cf885df Mon Sep 17 00:00:00 2001 From: Pierre-Luc Date: Tue, 9 Jan 2024 09:52:57 -0500 Subject: [PATCH] Set python-requires metadata to >=3.8 xmlschema now requires Python >=3.8 but the package metadata did not get updated. This allow pip to pick and install the 3.x release on Python 3.7 and then xmlschema fails at runtime. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 724135b7..f13ad3b1 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ 'xmlschema-json2xml=xmlschema.cli:json2xml', ] }, - python_requires='>=3.7', + python_requires='>=3.8', install_requires=['elementpath>=4.1.5, <5.0.0'], extras_require={ 'codegen': ['elementpath>=4.1.5, <5.0.0', 'jinja2'],