python312Packages.jaxopt: 0.8.3 -> 0.8.4 (#397777)
This commit is contained in:
@@ -49,6 +49,12 @@ buildPythonPackage rec {
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# DeprecationWarning: JAXopt is no longer maintained
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_benchmarks.py"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -24,32 +23,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaxopt";
|
||||
version = "0.8.3";
|
||||
version = "0.8.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "jaxopt";
|
||||
tag = "jaxopt-v${version}";
|
||||
hash = "sha256-T/BHSnuk3IRuLkBj3Hvb/tFIb7Au25jjQtvwL28OU1U=";
|
||||
hash = "sha256-StuI9Z9wRjuvjsGoQUkcjoKbR6hNkGmOcddUc18yO3I=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix failing tests from scipy 1.12 update
|
||||
# https://github.com/google/jaxopt/pull/574
|
||||
(fetchpatch {
|
||||
name = "scipy-1.12-fix-tests.patch";
|
||||
url = "https://github.com/google/jaxopt/commit/48b09dc4cc93b6bc7e6764ed5d333f9b57f3493b.patch";
|
||||
hash = "sha256-v+617W7AhxA1Dzz+DBtljA4HHl89bRTuGi1QfatobNY=";
|
||||
})
|
||||
# fix invalid string escape sequences
|
||||
(fetchpatch {
|
||||
name = "fix-escape-sequences.patch";
|
||||
url = "https://github.com/google/jaxopt/commit/f5bb530f5f000d0739c9b26eee2d32211eb99f40.patch";
|
||||
hash = "sha256-E0ZXIfzWxKHuiBn4lAWf7AjNtll7OJU/NGZm6PTmhzo=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user