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

fix python version patch for biobb-* packages

parent ac05e100
No related branches found
No related tags found
1 merge request!458Backports for ebrains 23 06
...@@ -20,7 +20,7 @@ class BiobbGromacs(PythonPackage): ...@@ -20,7 +20,7 @@ class BiobbGromacs(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable) # Patching to enable python 3.10 (not official, might not be stable)
def patch(self): 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 # Test
@run_after('install') @run_after('install')
......
...@@ -20,7 +20,7 @@ class BiobbModel(PythonPackage): ...@@ -20,7 +20,7 @@ class BiobbModel(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable) # Patching to enable python 3.10 (not official, might not be stable)
def patch(self): 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( filter_file(
"'Programming Language :: Python :: 3.9'", "'Programming Language :: Python :: 3.9'",
"'Programming Language :: Python :: 3.9',\r\n " "'Programming Language :: Python :: 3.9',\r\n "
......
...@@ -20,7 +20,7 @@ class BiobbStructureUtils(PythonPackage): ...@@ -20,7 +20,7 @@ class BiobbStructureUtils(PythonPackage):
# Patching to enable python 3.10 (not official, might not be stable) # Patching to enable python 3.10 (not official, might not be stable)
def patch(self): 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( filter_file(
"'Programming Language :: Python :: 3.9'", "'Programming Language :: Python :: 3.9'",
"'Programming Language :: Python :: 3.9',\r\n " "'Programming Language :: Python :: 3.9',\r\n "
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment