Merge pull request #249891 from GaetanLepage/jaxtyping

python310Packages.jaxtyping: 0.2.20 -> 0.2.21
This commit is contained in:
Weijia Wang 2023-08-18 13:17:26 +02:00 committed by GitHub
commit 9310806eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,16 +14,16 @@
}: }:
let let
jaxtyping = buildPythonPackage rec { self = buildPythonPackage rec {
pname = "jaxtyping"; pname = "jaxtyping";
version = "0.2.20"; version = "0.2.21";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = pname; repo = "jaxtyping";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-q/KQGV7I7w5p7VP8C9BDUHfPsuCMf2v304qiH+XCzyU="; hash = "sha256-BacfFcrzXeS6LemU7P6oCZJGB/Zzq09kEPuz2rTIyfI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -49,7 +49,7 @@ let
# Enable tests via passthru to avoid cyclic dependency with equinox. # Enable tests via passthru to avoid cyclic dependency with equinox.
passthru.tests = { passthru.tests = {
check = jaxtyping.overridePythonAttrs { doCheck = true; }; check = self.overridePythonAttrs { doCheck = true; };
}; };
pythonImportsCheck = [ "jaxtyping" ]; pythonImportsCheck = [ "jaxtyping" ];
@ -61,4 +61,4 @@ let
maintainers = with maintainers; [ GaetanLepage ]; maintainers = with maintainers; [ GaetanLepage ];
}; };
}; };
in jaxtyping in self