python3Packages.timm: 1.0.22 -> 1.0.23 (#477285)

This commit is contained in:
Fabian Affolter
2026-01-06 08:14:59 +00:00
committed by GitHub
@@ -21,16 +21,16 @@
pytest-timeout,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "timm";
version = "1.0.22";
version = "1.0.23";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "pytorch-image-models";
tag = "v${version}";
hash = "sha256-ilOnC1tqSb4TuSGRafMNl8hi9P2qdsBWbv3G9azy6Gs=";
tag = "v${finalAttrs.version}";
hash = "sha256-TOIg5/ddkAvFqqpnq/P0yURb/1wF2bgyQ0Odzc9WPEc=";
};
build-system = [ pdm-backend ];
@@ -55,6 +55,9 @@ buildPythonPackage rec {
lib.optionals (pythonAtLeast "3.14") [
# RuntimeError: torch.compile is not supported on Python 3.14+
"test_kron"
# AttributeError: 'LsePlus2d' object has no attribute '__annotations__'. Did you mean: '__annotate_func__'?
"test_torchscript"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
@@ -76,8 +79,8 @@ buildPythonPackage rec {
meta = {
description = "PyTorch image models, scripts, and pretrained weights";
homepage = "https://huggingface.co/docs/timm/index";
changelog = "https://github.com/huggingface/pytorch-image-models/blob/v${version}/README.md#whats-new";
changelog = "https://github.com/huggingface/pytorch-image-models/blob/${finalAttrs.src.tag}/README.md#whats-new";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})