Skip to content

Commit

Permalink
py-timm: does not yet support Python 3.11 (spack#36260)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Mar 21, 2023
1 parent fa57e62 commit 98ece85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions var/spack/repos/builtin/packages/py-timm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class PyTimm(PythonPackage):
version("0.5.4", sha256="5d7b92e66a76c432009aba90d515ea7a882aae573415a7c5269e3617df901c1f")
version("0.4.12", sha256="b14be70dbd4528b5ca8657cf5bc2672c7918c3d9ebfbffe80f4785b54e884b1e")

# https://github.com/huggingface/pytorch-image-models/issues/1530
# https://github.com/huggingface/pytorch-image-models/pull/1649
depends_on("python@:3.10", when="@:0.6.12", type=("build", "run"))

depends_on("py-setuptools", type="build")
depends_on("py-torch@1.7:", when="@0.6:", type=("build", "run"))
depends_on("py-torch@1.4:", type=("build", "run"))
Expand Down

0 comments on commit 98ece85

Please sign in to comment.