summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bouvier <contact@thomas-bouvier.io>2023-01-22 00:21:41 +0100
committerGitHub <noreply@github.com>2023-01-21 17:21:41 -0600
commitda1165ffa32a485b85bfa3e7a1497d5134a90fd1 (patch)
treec137a102720e73ead6b13258da287e93fc794f24
parentf593309b4e1c4590b757d7190dc14450241efd51 (diff)
downloadspack-da1165ffa32a485b85bfa3e7a1497d5134a90fd1.tar.gz
spack-da1165ffa32a485b85bfa3e7a1497d5134a90fd1.tar.bz2
spack-da1165ffa32a485b85bfa3e7a1497d5134a90fd1.tar.xz
spack-da1165ffa32a485b85bfa3e7a1497d5134a90fd1.zip
`py-wandb`: add v0.13.9 (#35059)
* `py-wandb`: add v0.13.9 * `py-wandb`: mark v0.10.1 as deprecated * Fixes suggested by @adamjstewart * No platform-specific requirements
-rw-r--r--var/spack/repos/builtin/packages/py-wandb/package.py51
1 files changed, 39 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/py-wandb/package.py b/var/spack/repos/builtin/packages/py-wandb/package.py
index 477679e783..7c73fa33e3 100644
--- a/var/spack/repos/builtin/packages/py-wandb/package.py
+++ b/var/spack/repos/builtin/packages/py-wandb/package.py
@@ -10,23 +10,50 @@ class PyWandb(PythonPackage):
"""A tool for visualizing and tracking your machine
learning experiments."""
- homepage = "https://github.com/wandb/"
- url = "https://github.com/wandb/client/archive/v0.10.1.tar.gz"
+ homepage = "https://github.com/wandb/wandb"
+ pypi = "wandb/wandb-0.13.9.tar.gz"
- version("0.10.1", sha256="abd334cd1460ac1f6e5aa959d3e04c46cd246f96cfc3323fc0572916760d32ab")
+ maintainers = ["thomas-bouvier"]
- depends_on("py-setuptools", type="build")
+ version("0.13.9", sha256="0a17365ce1f18306ce7a7f16b943094fac7284bb85f4e52c0685705602f9e307")
+ version(
+ "0.10.1",
+ sha256="d02427cda58a6618ba10a027a76d9e3f68ad923d35964b1b68785c49e5160009",
+ deprecated=True,
+ )
+
+ depends_on("python@3.6:", type=("build", "link", "run"), when="@0.13.0:")
+ depends_on("py-setuptools", type=("build", "run"))
+
+ with when("@0.13.0:"):
+ depends_on("py-pathtools", type=("build", "run"))
+ depends_on("py-setproctitle", type=("build", "run"))
+ depends_on("py-appdirs@1.4.3:", type=("build", "run"))
+ depends_on("py-protobuf@3.19:4", type=("build", "run"))
+ conflicts("^py-protobuf@4.21.0")
+ depends_on("py-dataclasses", type=("build", "run"), when="^python@:3.6")
+ depends_on("py-typing-extensions", type=("build", "run"), when="^python@:3.9")
+
+ with when("@0.10.1"):
+ depends_on("py-gql", type=("build", "run"))
+ depends_on("py-nvidia-ml-py3", type=("build", "run"))
+ depends_on("py-python-dateutil", type=("build", "run"))
+ depends_on("py-shortuuid", type=("build", "run"))
+ depends_on("py-six", type=("build", "run"))
+ depends_on("py-watchdog", type=("build", "run"))
+ depends_on("py-configparser", type=("build", "run"))
+
+ depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-click", type=("build", "run"))
+ depends_on("py-click@7:", type=("build", "run"), when="@0.13.0:")
+ conflicts("^py-click@8.0.0")
depends_on("py-gitpython", type=("build", "run"))
- depends_on("py-gql", type=("build", "run"))
- depends_on("py-nvidia-ml-py3", type=("build", "run"))
- depends_on("py-python-dateutil", type=("build", "run"))
+ depends_on("py-gitpython@1:", type=("build", "run"), when="@0.13.0:")
depends_on("py-requests", type=("build", "run"))
- depends_on("py-shortuuid", type=("build", "run"))
- depends_on("py-six", type=("build", "run"))
- depends_on("py-watchdog", type=("build", "run"))
- depends_on("py-pyyaml", type=("build", "run"))
+ depends_on("py-requests@2", type=("build", "run"), when="@0.13.0:")
depends_on("py-psutil", type=("build", "run"))
+ depends_on("py-psutil@5:", type=("build", "run"), when="@0.13.0:")
depends_on("py-sentry-sdk", type=("build", "run"))
+ depends_on("py-sentry-sdk@1.0.0:", type=("build", "run"), when="@0.13.0:")
depends_on("py-dockerpy-creds", type=("build", "run"))
- depends_on("py-configparser", type=("build", "run"))
+ depends_on("py-dockerpy-creds@0.4.0:", type=("build", "run"), when="@0.13.0:")