Skip to content
Snippets Groups Projects

Added unofficial support for python < 3.11 to biobb packages. Stability not...

Merged Ricard Zarco Badia requested to merge rzarco/ebrains-spack-builds:master into master
7 files
+ 58
0
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -20,6 +20,16 @@ class BiobbAnalysis(PythonPackage):
depends_on('gromacs')
depends_on('ambertools')
# 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(
"'Programming Language :: Python :: 3.9'",
"'Programming Language :: Python :: 3.9',\r\n "
"'Programming Language :: Python :: 3.10'",
"setup.py",
)
# Test
@run_after('install')
@on_package_attributes(run_tests=True)