mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #290167 from fabaff/objax-fix
python311Packages.objax: disable failing tests
This commit is contained in:
commit
d44a62d198
@ -2,22 +2,26 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, jaxlib
|
||||
, jax
|
||||
, jaxlib
|
||||
, keras
|
||||
, numpy
|
||||
, parameterized
|
||||
, pillow
|
||||
, scipy
|
||||
, tensorboard
|
||||
, keras
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, setuptools
|
||||
, tensorboard
|
||||
, tensorflow
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "objax";
|
||||
version = "1.8.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
@ -26,6 +30,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-WD+pmR8cEay4iziRXqF3sHUzCMBjmLJ3wZ3iYOD+hzk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Avoid propagating the dependency on `jaxlib`, see
|
||||
# https://github.com/NixOS/nixpkgs/issues/156767
|
||||
buildInputs = [
|
||||
@ -62,11 +70,14 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# Test requires internet access for prefetching some weights
|
||||
"test_pretrained_keras_weight_0_ResNet50V2"
|
||||
# ModuleNotFoundError: No module named 'tree'
|
||||
"TestResNetV2Pretrained"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Objax is a machine learning framework that provides an Object Oriented layer for JAX.";
|
||||
description = "Machine learning framework that provides an Object Oriented layer for JAX";
|
||||
homepage = "https://github.com/google/objax";
|
||||
changelog = "https://github.com/google/objax/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ndl ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user