mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
python312Packages.lineax: temporarily skip failing tests
This commit is contained in:
parent
e3c22a23ea
commit
8409ac0f68
@ -16,6 +16,8 @@
|
||||
beartype,
|
||||
pytest,
|
||||
python,
|
||||
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -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 = [
|
||||
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user