diff --git a/var/spack/repos/builtin/packages/py-rasterio/package.py b/var/spack/repos/builtin/packages/py-rasterio/package.py index 7eddb86cba..1afdfa5e66 100644 --- a/var/spack/repos/builtin/packages/py-rasterio/package.py +++ b/var/spack/repos/builtin/packages/py-rasterio/package.py @@ -20,6 +20,7 @@ class PyRasterio(PythonPackage): maintainers = ["adamjstewart"] version("master", branch="master") + version("1.3.4", sha256="5a8771405276ecf00b8ee927bd0a81ec21778dcfc97e4a37d0b388f10c9a41a8") version("1.3.3", sha256="b6fb1f12489f3a678c05ddcb78a74f0b6f63836219f51c0541e505f5e5208e7d") version("1.3.2", sha256="a91b32f649bc5aa3259909349258eb7999b7e830375f63cd37ade2082066ec1c") version("1.3.1", sha256="91a22c512862e6411def675cd864eb63000ec2e0922c8bf25834c631ba80bdc1") @@ -38,6 +39,7 @@ class PyRasterio(PythonPackage): depends_on("python@2.7:2.8,3.5:3.7", when="@:1.0", type=("build", "link", "run")) depends_on("py-numpy@1.18:", when="@1.3:", type=("build", "link", "run")) depends_on("py-numpy@1.15:", when="@1.2:", type=("build", "link", "run")) + depends_on("py-numpy", type=("build", "link", "run")) depends_on("gdal@3.1:", when="@1.3:") depends_on("gdal@2.4:3.3", when="@1.2.7:1.2") depends_on("gdal@2.3:3.2", when="@1.2.0:1.2.6") @@ -46,7 +48,8 @@ class PyRasterio(PythonPackage): depends_on("gdal@1.11:2", when="@:1.0.24") # From pyproject.toml - depends_on("py-cython", type="build", when="@1.3:") + depends_on("py-cython@0.29.29:", when="@1.3.3:", type="build") + depends_on("py-cython@0.29.24:0.29", when="@1.3.0:1.3.2", type="build") # From setup.py depends_on("py-affine", type=("build", "run")) @@ -55,7 +58,6 @@ class PyRasterio(PythonPackage): depends_on("py-click@4:", when="@1.2.4:", type=("build", "run")) depends_on("py-click@4:7", when="@:1.2.3", type=("build", "run")) depends_on("py-cligj@0.5:", type=("build", "run")) - depends_on("py-numpy", type=("build", "link", "run")) depends_on("py-snuggs@1.4.1:", type=("build", "run")) depends_on("py-click-plugins", type=("build", "run")) depends_on("py-setuptools", type=("build", "run"))