python311Packages.jaxtyping: 0.2.25 -> 0.2.26

Diff: https://github.com/google/jaxtyping/compare/refs/tags/v0.2.25...v0.2.26
This commit is contained in:
Gaetan Lepage 2024-02-25 20:25:05 +01:00
parent c8208f98ab
commit 881167e93f

View File

@ -3,6 +3,7 @@
, pythonOlder
, fetchFromGitHub
, hatchling
, pythonRelaxDepsHook
, numpy
, typeguard
, typing-extensions
@ -19,7 +20,7 @@
let
self = buildPythonPackage rec {
pname = "jaxtyping";
version = "0.2.25";
version = "0.2.26";
pyproject = true;
disabled = pythonOlder "3.9";
@ -28,16 +29,12 @@ let
owner = "google";
repo = "jaxtyping";
rev = "refs/tags/v${version}";
hash = "sha256-+JqpI5xrM7o73LG6oMix88Jr5aptmWYjJQcqUNo7icg=";
hash = "sha256-2QDTRNH2/9FPU5xrQx7yZRHwEWqj0PUNzcCuKwY4yNg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "typeguard>=2.13.3,<3" "typeguard"
'';
nativeBuildInputs = [
hatchling
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -46,6 +43,10 @@ let
typing-extensions
];
pythonRelaxDeps = [
"typeguard"
];
nativeCheckInputs = [
cloudpickle
equinox