summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-bx-python/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-bx-python/package.py b/var/spack/repos/builtin/packages/py-bx-python/package.py
index 17f642e0fb..810f243fa1 100644
--- a/var/spack/repos/builtin/packages/py-bx-python/package.py
+++ b/var/spack/repos/builtin/packages/py-bx-python/package.py
@@ -16,10 +16,14 @@ class PyBxPython(PythonPackage):
version("0.9.0", sha256="fe545c44d2ea74b239d41e9090618aaf6a859d1a1f64b4a21b133cb602dfdb49")
version("0.8.8", sha256="ad0808ab19c007e8beebadc31827e0d7560ac0e935f1100fb8cc93607400bb47")
- depends_on("python@3.7:", when="@0.8.13:", type=("build", "run"))
+ # See https://pypi.org/project/bx-python/(version)/#files for which Python versions
+ # work with which releases.
+ depends_on("python@3.7:3.11", when="@=0.9.0", type=("build", "run"))
+ depends_on("python@3.5:3.8", when="@=0.8.8", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-cython", type="build")
depends_on("py-numpy", type=("build", "run"))
depends_on("py-six", when="@:0.8.9", type=("build", "run"))
# py-python-lzo is listed as a dependency in `tox.ini` rather than in `setup.cfg`
depends_on("py-python-lzo@1.14:", type=("build", "run"))
+ depends_on("zlib", type="link")