py-lightly: add v1.4.8 (#38397)

* py-lightly: add v1.4.8

* Fix typo

* Update deps as well

* typing-extensions dep needed earlier

Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>

* Runtime dep on setuptools removed in master

---------

Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>
This commit is contained in:
Adam J. Stewart 2023-06-21 10:47:24 -05:00 committed by GitHub
parent 8ba45b0b99
commit a8534b7345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -13,6 +13,7 @@ class PyAenum(PythonPackage):
homepage = "https://github.com/ethanfurman/aenum"
pypi = "aenum/aenum-2.1.2.tar.gz"
version("3.1.12", sha256="3e531c91860a81f885f7e6e97d219ae9772cb899580084788935dad7d9742ef0")
version("2.1.2", sha256="a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687")
depends_on("py-setuptools", type="build")

View File

@ -15,6 +15,8 @@ class PyLightly(PythonPackage):
maintainers("adamjstewart")
version("1.4.9", sha256="33c7988b41447c9beeb1781805ad24c8a61aa174e1a37b0b95d8e91e4a7c7f96")
version("1.4.8", sha256="3af5d8da0ac981f362bd61cbd4935dadbc32d24995c40ac2a511e6d743a03fd7")
version("1.4.7", sha256="dce719996d9b01b2a3c652e9cbab3ff80d078c4ed86d1adb39220d20e1f3fdf2")
version("1.4.6", sha256="1c8b904a96fadaefbaa00296eea0ac1e8b50cb10e94595c74b0abada5f4f5a64")
version("1.4.5", sha256="67b1de64950ff5bc35ef86fec3049f437ed1c9cb4a191c43b52384460207535f")
@ -37,6 +39,12 @@ class PyLightly(PythonPackage):
depends_on("py-tqdm@4.44:", type=("build", "run"))
depends_on("py-urllib3@1.15.1:", type=("build", "run"))
# requirements/openapi.txt
depends_on("py-python-dateutil@2.5.3:", when="@1.4.8:", type=("build", "run"))
depends_on("py-urllib3@1.25.3:", when="@1.4.8:", type=("build", "run"))
depends_on("py-pydantic@1.10.5:1", when="@1.4.8:", type=("build", "run"))
depends_on("py-aenum@3.1.11:", when="@1.4.8:", type=("build", "run"))
# requirements/torch.txt
depends_on("py-torch", type=("build", "run"))
depends_on("py-torch@:1", when="@:1.4.1", type=("build", "run"))
@ -48,4 +56,5 @@ class PyLightly(PythonPackage):
depends_on("py-torch+distributed", when="@:1.4.4", type=("build", "run"))
# Historical dependencies
depends_on("py-setuptools@21:", when="@1.4.8", type=("build", "run"))
depends_on("py-setuptools@21:65.5.1", when="@:1.4.1", type=("build", "run"))

View File

@ -12,16 +12,16 @@ class PyPydantic(PythonPackage):
homepage = "https://github.com/samuelcolvin/pydantic"
pypi = "pydantic/pydantic-1.8.2.tar.gz"
version("1.10.9", sha256="95c70da2cd3b6ddf3b9645ecaa8d98f3d80c606624b6d245558d202cd23ea3be")
version("1.10.2", sha256="91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410")
version("1.9.2", sha256="8cb0bc509bfb71305d7a59d00163d5f9fc4530f0881ea32c74ff4f74c85f3d3d")
version("1.8.2", sha256="26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b")
variant("dotenv", default=False, description="Install requirements for pydantic.dotenv")
depends_on("python@3.7:", when="@1.10.2:", type=("build", "run"))
depends_on("python@3.6.1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-typing-extensions@4.1.0:", when="@1.10.2:", type=("build", "run"))
depends_on("py-typing-extensions@4.2:", when="@1.10.9:", type=("build", "run"))
depends_on("py-typing-extensions@4.1:", when="@1.10:", type=("build", "run"))
depends_on("py-typing-extensions@3.7.4.3:", type=("build", "run"))
depends_on("py-python-dotenv@0.10.4:", when="+dotenv", type=("build", "run"))