summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-oracledb/package.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-oracledb/package.py b/var/spack/repos/builtin/packages/py-oracledb/package.py
index 3e50ac8da0..2e690e36be 100644
--- a/var/spack/repos/builtin/packages/py-oracledb/package.py
+++ b/var/spack/repos/builtin/packages/py-oracledb/package.py
@@ -12,17 +12,23 @@ class PyOracledb(PythonPackage):
Python programs to access Oracle Database."""
homepage = "https://oracle.github.io/python-oracledb/"
- pypi = "oracledb/oracledb-1.2.2.tar.gz"
+ pypi = "oracledb/oracledb-1.4.2.tar.gz"
license("Apache-2.0")
- version("1.2.2", sha256="dd9f63084e44642b484a46b2fcfb4fc921f39facf494a1bab00628fa6409f4fc")
+ version("2.4.1", sha256="bd5976bef0e466e0f9d1b9f6531fb5b8171dc8534717ccb04b26e680b6c7571d")
+ version("2.3.0", sha256="b9b0c4ec280b10063e6789bed23ddc2435ae98569ebe64e0b9a270780b9103d5")
+ version("1.4.2", sha256="e28ed9046f2735dc2dd5bbcdf3667f284e384e0ec7eed3eeb3798fa8a7d47e36")
- depends_on("c", type="build") # generated
+ depends_on("python@3.8:3.13", when="@2.4:")
+ depends_on("python@3.8:3.12", when="@2.0:2.3")
+ depends_on("python@3.8:3.11", when="@:1.4")
+
+ depends_on("c", type="build")
depends_on("py-setuptools@40.6.0:", type="build")
depends_on("py-cryptography@3.2.1:", type=("build", "run"))
- depends_on("py-cython", type="build")
+ depends_on("py-cython@3:", type="build")
depends_on("python@3.6:", type=("build", "run"))
depends_on("oracle-instant-client", type="run", when="impl=thick")