Skip to content

Commit

Permalink
python312Packages.equinox: 0.11.9 -> 0.11.10 (NixOS#363128)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 14, 2024
2 parents e1cddb1 + 8409ac0 commit 781e0b8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/equinox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

buildPythonPackage rec {
pname = "equinox";
version = "0.11.9";
version = "0.11.10";
pyproject = true;

src = fetchFromGitHub {
owner = "patrick-kidger";
repo = "equinox";
rev = "refs/tags/v${version}";
hash = "sha256-7RVhSdvD96oRUk6cGRS1rET4ztqjBnGfzJObjE+MioU=";
tag = "v${version}";
hash = "sha256-QoqwLdtWCDrXyqiI6Xw7jq2sxiRCmLaxk3/ZGHrvqL4=";
};

build-system = [ hatchling ];
Expand Down
16 changes: 14 additions & 2 deletions pkgs/development/python-modules/lineax/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
beartype,
pytest,
python,

fetchpatch,
}:

buildPythonPackage rec {
Expand All @@ -26,10 +28,20 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "patrick-kidger";
repo = "lineax";
rev = "refs/tags/v${version}";
tag = "v${version}";
hash = "sha256-HcFI55Ww/y7ZaUkawj7xWSb7VDTBec3u0ulWL8kTm2c=";
};

patches = [
(fetchpatch {
# Reported upstream: https://github.com/patrick-kidger/lineax/issues/118
# Fixed by https://github.com/patrick-kidger/lineax/pull/119
name = "fix-vmap-tests";
url = "https://github.com/patrick-kidger/lineax/pull/119/commits/d21552ac4c504d7b139ad8e4f15d5f102b54d705.patch";
hash = "sha256-pBejiqIVNjXi7dXuDBQdAy892wro1WxzwbI7v07N86c=";
})
];

build-system = [ hatchling ];

dependencies = [
Expand Down Expand Up @@ -59,7 +71,7 @@ buildPythonPackage rec {
meta = {
description = "Linear solvers in JAX and Equinox";
homepage = "https://github.com/patrick-kidger/lineax";
changelog = "https://github.com/patrick-kidger/lineax/releases/tag/v${version}";
changelog = "https://github.com/patrick-kidger/lineax/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
Expand Down

0 comments on commit 781e0b8

Please sign in to comment.