python310Packages.aesara: update format and disable failing tests
This commit is contained in:
parent
2e29c38ec4
commit
eeacc13114
1 changed files with 17 additions and 5 deletions
|
@ -1,11 +1,13 @@
|
||||||
{ stdenv
|
{ lib
|
||||||
, lib
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cons
|
, cons
|
||||||
, cython
|
, cython
|
||||||
, etuples
|
, etuples
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, filelock
|
, filelock
|
||||||
|
, hatch-vcs
|
||||||
|
, hatchling
|
||||||
, jax
|
, jax
|
||||||
, jaxlib
|
, jaxlib
|
||||||
, logical-unification
|
, logical-unification
|
||||||
|
@ -22,7 +24,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aesara";
|
pname = "aesara";
|
||||||
version = "2.8.12";
|
version = "2.8.12";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -35,6 +37,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cython
|
cython
|
||||||
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -57,7 +61,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "--durations=50" ""
|
--replace "--durations=50" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -75,12 +79,20 @@ buildPythonPackage rec {
|
||||||
"tests/tensor/"
|
"tests/tensor/"
|
||||||
"tests/sandbox/"
|
"tests/sandbox/"
|
||||||
"tests/sparse/sandbox/"
|
"tests/sparse/sandbox/"
|
||||||
|
# JAX is not available on all platform and often broken
|
||||||
|
"tests/link/jax/"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Disable all benchmark tests
|
||||||
|
"test_scan_multiple_output"
|
||||||
|
"test_logsumexp_benchmark"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
|
description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
|
||||||
homepage = "https://github.com/aesara-devs/aesara";
|
homepage = "https://github.com/aesara-devs/aesara";
|
||||||
changelog = "https://github.com/aesara-devs/aesara/releases";
|
changelog = "https://github.com/aesara-devs/aesara/releases/tag/rel-${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ Etjean ];
|
maintainers = with maintainers; [ Etjean ];
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||||
|
|
Loading…
Reference in a new issue