py-torchdata: add v0.10.1 (#48118)
This commit is contained in:
parent
e77e1d6528
commit
5add010c71
@ -18,6 +18,7 @@ class PyTorchdata(PythonPackage):
|
||||
license("BSD-3-Clause")
|
||||
|
||||
version("main", branch="main")
|
||||
version("0.10.1", sha256="42f977c6a4a890848ef50c4ce3e01beeec04cc921e3ccc71d941f97de209bbfb")
|
||||
version("0.9.0", sha256="b547bbe848ad813cc5365fe0bb02051150bec6c7c4ee7bffd6b6d3d7bdeddd75")
|
||||
version("0.8.0", sha256="d5d27b264e79d7d00ad4998f14d097b770332d979672dceb6d038caf204f1208")
|
||||
version("0.7.1", sha256="ef9bbdcee759b53c3c9d99e76eb0a66da33d36bfb7f859a25a9b5e737a51fa23")
|
||||
@ -42,13 +43,14 @@ class PyTorchdata(PythonPackage):
|
||||
|
||||
with default_args(type=("build", "run")):
|
||||
# https://github.com/pytorch/data#version-compatibility
|
||||
depends_on("python@3.9:3.12", when="@0.9:")
|
||||
depends_on("python@3.9:3.13", when="@0.10:")
|
||||
depends_on("python@3.9:3.12", when="@0.9")
|
||||
depends_on("python@3.8:3.12", when="@0.8")
|
||||
depends_on("python@3.8:3.11", when="@0.6:0.7")
|
||||
depends_on("python@3.7:3.10", when="@:0.5")
|
||||
|
||||
depends_on("py-torch@main", when="@main")
|
||||
depends_on("py-torch@2.5.0", when="@0.9.0")
|
||||
depends_on("py-torch@2.5.0", when="@0.9:0.10")
|
||||
depends_on("py-torch@2.4.0", when="@0.8.0")
|
||||
depends_on("py-torch@2.1.1", when="@0.7.1")
|
||||
depends_on("py-torch@2.1.0", when="@0.7.0")
|
||||
@ -66,8 +68,8 @@ class PyTorchdata(PythonPackage):
|
||||
depends_on("py-portalocker@2:", when="@0.4:0.5")
|
||||
|
||||
# third_party/CMakeLists.txt
|
||||
depends_on("py-pybind11", when="@0.4:")
|
||||
depends_on("aws-sdk-cpp", when="@0.4:")
|
||||
depends_on("py-pybind11", when="@0.4:0.9")
|
||||
depends_on("aws-sdk-cpp", when="@0.4:0.9")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.set("USE_SYSTEM_LIBS", "ON")
|
||||
|
Loading…
Reference in New Issue
Block a user