Skip to content

Commit 3175b44

Browse files
authored
py-tifffile: add v2026.4.11 (spack#4474)
1 parent ab8fc2f commit 3175b44

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

  • repos/spack_repo/builtin/packages/py_tifffile

repos/spack_repo/builtin/packages/py_tifffile/package.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class PyTifffile(PythonPackage):
1515

1616
license("BSD-3-Clause")
1717

18+
version("2026.4.11", sha256="17758ff0c0d4db385792a083ad3ca51fcb0f4d942642f4d8f8bc1287fdcf17bc")
1819
version("2025.10.4", sha256="2e437c16ab211be5bcdc79f71b4907359115f1f83b5d919e7c297c29725d3e38")
1920
version("2024.8.30", sha256="2c9508fe768962e30f87def61819183fb07692c258cb175b3c114828368485a4")
2021
version("2023.8.30", sha256="6a8c53b012a286b75d09a1498ab32f202f24cc6270a105b5d5911dc4426f162a")
@@ -26,15 +27,19 @@ class PyTifffile(PythonPackage):
2627
version("2020.10.1", sha256="799feeccc91965b69e1288c51a1d1118faec7f40b2eb89ad2979591b85324830")
2728
version("0.12.1", sha256="802367effe86b0d1e64cb5c2ed886771f677fa63260b945e51a27acccdc08fa1")
2829

29-
depends_on("python@3.11:", when="@2025.5.21:", type=("build", "run"))
30-
depends_on("python@3.9:", when="@2023.7.18:", type=("build", "run"))
31-
depends_on("python@3.8:", when="@2022.2.2:", type=("build", "run"))
3230
depends_on("py-setuptools", type="build")
3331

34-
# py-tifffile@2023.1.23: don't have a lower bound on py-numpy anymore
35-
# -> leave it in nonetheless
36-
depends_on("py-numpy@1.19.2:", when="@2022.2.2:", type=("build", "run"))
37-
depends_on("py-numpy@1.15.1:", when="@2020.10.1:", type=("build", "run"))
38-
depends_on("py-numpy@1.8.2:", type=("build", "run"))
39-
# https://github.com/cgohlke/tifffile/issues/252
40-
depends_on("py-numpy@:1", when="@:2024.4.23", type=("build", "run"))
32+
with default_args(type=("build", "run")):
33+
depends_on("python@3.12:", when="@2025.5.21:")
34+
depends_on("python@3.11:", when="@2025.5.21:")
35+
depends_on("python@3.9:", when="@2023.7.18:")
36+
depends_on("python@3.8:", when="@2022.2.2:")
37+
38+
depends_on("py-numpy@2:", when="@2026.4.11:")
39+
# py-tifffile@2023.1.23: don't have a lower bound on py-numpy anymore
40+
# -> leave it in nonetheless
41+
depends_on("py-numpy@1.19.2:", when="@2022.2.2:")
42+
depends_on("py-numpy@1.15.1:", when="@2020.10.1:")
43+
depends_on("py-numpy@1.8.2:")
44+
# https://github.com/cgohlke/tifffile/issues/252
45+
depends_on("py-numpy@:1", when="@:2024.4.23")

0 commit comments

Comments
 (0)