Source: macs
Version: 2.2.7.1-4
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: python3.10
Hi Maintainer
When python3.10 is added as a supported version, macs 2.2.7.1-4 will
FTBFS with the following error:
I: pybuild base:232: python3.10 setup.py config
CRITICAL: Python version must >= 3.6!
E: pybuild pybuild:354: configure: plugin distutils failed with: exit
code=1: python3.10 setup.py config
This can easily be worked around with the patch below, but perhaps a
new upstream version will provide a better solution.
Regards
Graham
--- a/setup.py
+++ b/setup.py
@@ -20,10 +20,6 @@
install_requires = [f"numpy>={numpy_requires}",]
def main():
- if float(sys.version[:3])<3.6:
- sys.stderr.write("CRITICAL: Python version must >= 3.6!\n")
- sys.exit(1)
-
cwd = os.path.abspath(os.path.dirname(__file__))
# install required numpy