Merge pull request #266069 from GaetanLepage/flax

python311Packages.flax: 0.7.4 -> 0.7.5
This commit is contained in:
OTABI Tomoya
2023-11-08 17:48:54 +09:00
committed by GitHub
2 changed files with 20 additions and 11 deletions
@@ -49,5 +49,7 @@ buildPythonPackage rec {
homepage = "https://github.com/borisdayma/dalle-mini";
license = licenses.asl20;
maintainers = with maintainers; [ r-burns ];
# incompatible with recent versions of JAX
broken = true;
};
}
@@ -1,36 +1,43 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, jaxlib
, pythonRelaxDepsHook
, setuptools-scm
, cloudpickle
, jax
, keras
, lib
, matplotlib
, msgpack
, numpy
, optax
, rich
, tensorstore
, keras
, pytest-xdist
, pytestCheckHook
, pythonRelaxDepsHook
, tensorflow
, tensorstore
, fetchpatch
, rich
}:
buildPythonPackage rec {
pname = "flax";
version = "0.7.4";
version = "0.7.5";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = pname;
repo = "flax";
rev = "refs/tags/v${version}";
hash = "sha256-i48omag/1Si3mCCGfsUD9qeejyeCLWzvvwKJqH8vm8k=";
hash = "sha256-NDah0ayQbiO1/sTU1DDf/crPq5oLTnSuosV7cFHlTM8=";
};
nativeBuildInputs = [ jaxlib pythonRelaxDepsHook ];
nativeBuildInputs = [
jaxlib
pythonRelaxDepsHook
setuptools-scm
];
propagatedBuildInputs = [
cloudpickle
jax
matplotlib
msgpack