diff options
author | Auriane R <48684432+aurianer@users.noreply.github.com> | 2024-07-09 00:21:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 15:21:14 -0700 |
commit | fbceae7773c51198a775efffd7a9e21d0fe1e05c (patch) | |
tree | 29ba0d3e7f9d7f2cb8cb6ca19c13208bcb61e9b3 /var | |
parent | b921d1a920c3eb88e91ab24c296cd1ea8fc07331 (diff) | |
download | spack-fbceae7773c51198a775efffd7a9e21d0fe1e05c.tar.gz spack-fbceae7773c51198a775efffd7a9e21d0fe1e05c.tar.bz2 spack-fbceae7773c51198a775efffd7a9e21d0fe1e05c.tar.xz spack-fbceae7773c51198a775efffd7a9e21d0fe1e05c.zip |
[py-datasets] Add py-datasets version 2.20.0 (#44903)
* Add py-datasets version 2.20.0
* Add dependency requirements for version 2.20 + refactor
* Add missing tqdm and requests versions and to install latest py-datasets
* Add missing python requirements for 2.8.0 and 2.20.0
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-datasets/package.py | 64 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-requests/package.py | 1 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-tqdm/package.py | 1 |
3 files changed, 42 insertions, 24 deletions
diff --git a/var/spack/repos/builtin/packages/py-datasets/package.py b/var/spack/repos/builtin/packages/py-datasets/package.py index a85a40531c..03ecf1c792 100644 --- a/var/spack/repos/builtin/packages/py-datasets/package.py +++ b/var/spack/repos/builtin/packages/py-datasets/package.py @@ -18,30 +18,46 @@ class PyDatasets(PythonPackage): license("Apache-2.0") + version("2.20.0", sha256="3c4dbcd27e0f642b9d41d20ff2efa721a5e04b32b2ca4009e0fc9139e324553f") version("2.8.0", sha256="a843b69593914071f921fc1086fde939f30a63415a34cdda5db3c0acdd58aff2") version("1.8.0", sha256="d57c32bb29e453ee7f3eb0bbca3660ab4dd2d0e4648efcfa987432624cab29d3") - depends_on("python@3.6:", type=("build", "run")) - depends_on("py-setuptools", type="build") - depends_on("py-numpy@1.17:", type=("build", "run")) - depends_on("py-pyarrow@1:3+parquet", type=("build", "run"), when="@:1.8.0") - depends_on("py-pyarrow@6:+parquet", type=("build", "run"), when="@2.8.0:") - depends_on("py-dill@:0.3.6", type=("build", "run")) - depends_on("py-pandas", type=("build", "run")) - depends_on("py-requests@2.19:", type=("build", "run")) - depends_on("py-tqdm@4.27:4.49", type=("build", "run"), when="@:1.8.0") - depends_on("py-tqdm@4.62.1:", type=("build", "run"), when="@2.8.0:") - depends_on("py-xxhash", type=("build", "run")) - depends_on("py-multiprocess", type=("build", "run")) - depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run")) - depends_on("py-huggingface-hub@:0.0", type=("build", "run"), when="@:1.8.0") - depends_on("py-huggingface-hub@0.2:0", type=("build", "run"), when="@2.8.0:") - depends_on("py-packaging", type=("build", "run")) - depends_on("py-aiohttp", type=("build", "run"), when="@2.8.0:") - depends_on("py-responses@:0.18", type=("build", "run"), when="@2.8.0:") - depends_on("py-pyyaml@5.1:", type=("build", "run"), when="@2.8.0:") - - with when("@:1.8.0"): - depends_on("py-fsspec", type=("build", "run"), when="^python@3.8:") - depends_on("py-fsspec@:0.8.0", type=("build", "run"), when="^python@:3.7") - depends_on("py-fsspec@2021.11.1:+http", type=("build", "run"), when="@2.8.0:") + with default_args(type="build"): + depends_on("py-setuptools") + + with default_args(type=("build", "run")): + depends_on("python@3.6:") + depends_on("py-numpy@1.17:") + depends_on("py-pandas") + depends_on("py-requests@2.19:") + depends_on("py-xxhash") + depends_on("py-multiprocess") + depends_on("py-packaging") + with when("@:1.8.0"): + depends_on("py-dill@:0.3.6") + depends_on("py-fsspec", when="^python@3.8:") + depends_on("py-fsspec@:0.8.0", when="^python@:3.7") + depends_on("py-huggingface-hub@:0.0") + depends_on("py-importlib-metadata", when="^python@:3.7") + depends_on("py-pyarrow@1:3+parquet") + depends_on("py-tqdm@4.27:4.49", when="@:1.8.0") + with when("@2.8.0:"): + depends_on("py-aiohttp") + depends_on("py-pyyaml@5.1:") + depends_on("python@3.7:") + with when("@2.8.0"): + depends_on("py-dill@:0.3.6") + depends_on("py-fsspec@2021.11.1:+http") + depends_on("py-huggingface-hub@0.2:0") + depends_on("py-pyarrow@6:+parquet") + depends_on("py-responses@:0.18") + depends_on("py-tqdm@4.62.1:") + with when("@2.20.0:"): + depends_on("py-filelock") + depends_on("py-dill@0.3.0:0.3.8") # temporary upper bound + depends_on("py-fsspec@2023.1.0:2024.5.0+http") + depends_on("py-huggingface-hub@0.21.2:") + depends_on("py-pyarrow@15:+parquet") + depends_on("py-requests@2.32.2:") + depends_on("py-tqdm@4.66.3:") + depends_on("python@3.8:") diff --git a/var/spack/repos/builtin/packages/py-requests/package.py b/var/spack/repos/builtin/packages/py-requests/package.py index 4b88746a53..6cad175f44 100644 --- a/var/spack/repos/builtin/packages/py-requests/package.py +++ b/var/spack/repos/builtin/packages/py-requests/package.py @@ -15,6 +15,7 @@ class PyRequests(PythonPackage): license("Apache-2.0") + version("2.32.2", sha256="dd951ff5ecf3e3b3aa26b40703ba77495dab41da839ae72ef3c8e5d8e2433289") version("2.31.0", sha256="942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1") version("2.28.2", sha256="98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf") version("2.28.1", sha256="7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983") diff --git a/var/spack/repos/builtin/packages/py-tqdm/package.py b/var/spack/repos/builtin/packages/py-tqdm/package.py index dd379e923d..f4dce81b48 100644 --- a/var/spack/repos/builtin/packages/py-tqdm/package.py +++ b/var/spack/repos/builtin/packages/py-tqdm/package.py @@ -12,6 +12,7 @@ class PyTqdm(PythonPackage): homepage = "https://github.com/tqdm/tqdm" pypi = "tqdm/tqdm-4.45.0.tar.gz" + version("4.66.3", sha256="23097a41eba115ba99ecae40d06444c15d1c0c698d527a01c6c8bd1c5d0647e5") version("4.66.1", sha256="d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7") version("4.65.0", sha256="1871fb68a86b8fb3b59ca4cdd3dcccbc7e6d613eeed31f4c332531977b89beb5") version("4.64.1", sha256="5f4f682a004951c1b450bc753c710e9280c5746ce6ffedee253ddbcbf54cf1e4") |