Skip to content
Snippets Groups Projects
Commit 3669d482 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

fix python version patch for biobb-* packages

parent 4ae39b3a
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class BiobbGromacs(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable)
def patch(self):
filter_file(" python_requires='>=3.7,<3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
filter_file(" python_requires='>=3.7,<=3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
# Test
@run_after('install')
......
......@@ -23,7 +23,7 @@ class BiobbModel(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable)
def patch(self):
filter_file(" python_requires='>=3.7,<3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
filter_file(" python_requires='>=3.7,<=3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
filter_file(
"'Programming Language :: Python :: 3.9'",
"'Programming Language :: Python :: 3.9',\r\n "
......
......@@ -23,7 +23,7 @@ class BiobbStructureUtils(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable)
def patch(self):
filter_file(" python_requires='>=3.7,<3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
filter_file(" python_requires='>=3.7,<=3.10',", " python_requires='>=3.7,<3.11',", "setup.py")
filter_file(
"'Programming Language :: Python :: 3.9'",
"'Programming Language :: Python :: 3.9',\r\n "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment