From a7cc58d42c8f3add5e5596688cdcee17808a16d4 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 26 Aug 2022 17:02:02 -0700 Subject: py-radiant-mlhub: add v0.5 (#32406) --- .../repos/builtin/packages/py-pydantic/package.py | 1 + .../builtin/packages/py-radiant-mlhub/package.py | 32 ++++++++++++++++------ .../repos/builtin/packages/py-torchgeo/package.py | 2 +- .../repos/builtin/packages/py-tqdm/package.py | 4 ++- 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pydantic/package.py b/var/spack/repos/builtin/packages/py-pydantic/package.py index eaabc3c37d..3e6df65743 100644 --- a/var/spack/repos/builtin/packages/py-pydantic/package.py +++ b/var/spack/repos/builtin/packages/py-pydantic/package.py @@ -12,6 +12,7 @@ class PyPydantic(PythonPackage): homepage = "https://github.com/samuelcolvin/pydantic" pypi = "pydantic/pydantic-1.8.2.tar.gz" + version("1.9.2", sha256="8cb0bc509bfb71305d7a59d00163d5f9fc4530f0881ea32c74ff4f74c85f3d3d") version("1.8.2", sha256="26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b") depends_on("python@3.6.1:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-radiant-mlhub/package.py b/var/spack/repos/builtin/packages/py-radiant-mlhub/package.py index b6f1ce7b6a..dbe74c6545 100644 --- a/var/spack/repos/builtin/packages/py-radiant-mlhub/package.py +++ b/var/spack/repos/builtin/packages/py-radiant-mlhub/package.py @@ -14,6 +14,9 @@ class PyRadiantMlhub(PythonPackage): maintainers = ["adamjstewart"] + version("0.5.2", sha256="d310afce962508a44c60f5738fef164c50e78f76c3e85813653824b39a189ca3") + version("0.5.1", sha256="b7daff4a127e96e27c64eda66e393d9727e61a87c887f86738753486cc44fa46") + version("0.5.0", sha256="fff788aaa5f8afcb0f6eabff4147eaaf7de375f0a43ecaf2238033fc3a62e2c2") version("0.4.1", sha256="1d95475ec9d4cf460d5201425ba843523b1885a9384b9c1adb81a4a1088adb0f") version("0.4.0", sha256="0208881601216f895a1c084a3ca9e5c46b09dbc09dca0447540192e4abb847b1") version("0.3.1", sha256="3a5a8e971132d5b4cd9e412c7f6d87894fc588655ae0e93006646927b1ecb902") @@ -21,15 +24,28 @@ class PyRadiantMlhub(PythonPackage): version("0.2.2", sha256="0d9f634b7e29c7f7294b81a10cf712ac63251949a9c5a07aa6c64c0d5b77e1ba") version("0.2.1", sha256="75a2f096b09a87191238fe557dc64dda8c44156351b4026c784c848c7d84b6fb") - depends_on("python@3.6:", type=("build", "run")) + depends_on("python@3.8:", when="@0.5:", type=("build", "run")) depends_on("python@3.7:", when="@0.3:", type=("build", "run")) + depends_on("python@3.6:", type=("build", "run")) depends_on("py-setuptools", type="build") - depends_on("py-requests@2.25.1:2.25", when="@:0.2", type=("build", "run")) - depends_on("py-requests@2.25:2", when="@0.3:", type=("build", "run")) - depends_on("py-pystac@0.5.4", when="@:0.2", type=("build", "run")) - depends_on("py-pystac@1.1:1", when="@0.3:", type=("build", "run")) - depends_on("py-click@7.1.2:7.1", when="@:0.2", type=("build", "run")) depends_on("py-click@7.1.2:8", when="@0.3:", type=("build", "run")) + depends_on("py-click@7.1.2:7.1", when="@:0.2", type=("build", "run")) + depends_on("py-pydantic@1.9.2:1.9", when="@0.5.2:", type=("build", "run")) + depends_on("py-pydantic@1.9:1", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-pystac@1.4", when="@0.5.2:", type=("build", "run")) + depends_on("py-pystac@1.4:1", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-pystac@1.1:1", when="@0.3:0.4", type=("build", "run")) + depends_on("py-pystac@0.5.4", when="@:0.2", type=("build", "run")) + depends_on("py-python-dateutil@2.8.2:2.8", when="@0.5.2:", type=("build", "run")) + depends_on("py-python-dateutil@2.8:2", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-requests@2.27", when="@0.5.2:", type=("build", "run")) + depends_on("py-requests@2.27:2", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-requests@2.25:2", when="@0.3:0.4", type=("build", "run")) + depends_on("py-requests@2.25.1:2.25", when="@:0.2", type=("build", "run")) + depends_on("py-shapely@1.8", when="@0.5.2:", type=("build", "run")) + depends_on("py-shapely@1.8:1", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-tqdm@4.64", when="@0.5.2:", type=("build", "run")) + depends_on("py-tqdm@4.64:4", when="@0.5.0:0.5.1", type=("build", "run")) + depends_on("py-tqdm@4.56:4", when="@0.3:0.4", type=("build", "run")) depends_on("py-tqdm@4.56", when="@:0.2", type=("build", "run")) - depends_on("py-tqdm@4.56:4", when="@0.3:", type=("build", "run")) - depends_on("py-typing-extensions@3.7:", when="@0.4.1: ^python@:3.7", type=("build", "run")) + depends_on("py-typing-extensions@3.7:", when="@0.4.1:0.4 ^python@:3.7", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-torchgeo/package.py b/var/spack/repos/builtin/packages/py-torchgeo/package.py index 47ae8cdb1a..d91b53d5e8 100644 --- a/var/spack/repos/builtin/packages/py-torchgeo/package.py +++ b/var/spack/repos/builtin/packages/py-torchgeo/package.py @@ -80,7 +80,7 @@ class PyTorchgeo(PythonPackage): depends_on("py-pandas@0.23.2:1", when="@0.3:", type="run") depends_on("py-pandas@0.19.1:1", when="@0.2", type="run") depends_on("py-pycocotools@2", type="run") - depends_on("py-radiant-mlhub@0.2.1:0.5", type="run") + depends_on("py-radiant-mlhub@0.2.1:0.4", type="run") depends_on("py-rarfile@3:4", type="run") depends_on("py-scipy@1.2:1", when="@0.3:", type="run") depends_on("py-scipy@0.9:1", when="@:0.2", type="run") diff --git a/var/spack/repos/builtin/packages/py-tqdm/package.py b/var/spack/repos/builtin/packages/py-tqdm/package.py index a42a86a02a..ecf8f16034 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.64.0", sha256="40be55d30e200777a307a7585aee69e4eabb46b4ec6a4b4a5f2d9f11e7d5408d") version("4.62.3", sha256="d359de7217506c9851b7869f3708d8ee53ed70a1b8edbba4dbcb47442592920d") version("4.59.0", sha256="d666ae29164da3e517fcf125e41d4fe96e5bb375cd87ff9763f6b38b5592fe33") version("4.56.2", sha256="11d544652edbdfc9cc41aa4c8a5c166513e279f3f2d9f1a9e1c89935b51de6ff") @@ -26,6 +27,7 @@ class PyTqdm(PythonPackage): depends_on("python@2.7:2.8,3.4:", type=("build", "run")) depends_on("py-setuptools@42:", type=("build", "run")) depends_on("py-setuptools-scm@3.4:+toml", type="build") - # depends_on('py-colorama', type=('build', 'run'), when='platform=windows') + depends_on("py-colorama", when="platform=windows", type=("build", "run")) + depends_on("py-importlib-resources", when="@4.63: ^python@:3.6", type=("build", "run")) depends_on("py-requests", when="+telegram", type=("build", "run")) depends_on("py-ipywidgets@6:", when="+notebook", type=("build", "run")) -- cgit v1.2.3-70-g09d2