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
This commit is contained in:
Thomas Bouvier 2023-01-22 00:21:41 +01:00 committed by GitHub
parent f593309b4e
commit da1165ffa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]
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-setuptools", type="build")
depends_on("py-click", type=("build", "run"))
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-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-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-gitpython@1:", type=("build", "run"), when="@0.13.0:")
depends_on("py-requests", 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:")