python3Packages.aesara: remove at 2.9.4
This commit is contained in:
@@ -1,113 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
cons,
|
||||
cython,
|
||||
etuples,
|
||||
fetchFromGitHub,
|
||||
filelock,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
jax,
|
||||
jaxlib,
|
||||
logical-unification,
|
||||
minikanren,
|
||||
numba,
|
||||
numba-scipy,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
scipy,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aesara";
|
||||
version = "2.9.4";
|
||||
pyproject = true;
|
||||
|
||||
# Python 3.12 is not supported: https://github.com/aesara-devs/aesara/issues/1520
|
||||
disabled = pythonOlder "3.8" || pythonAtLeast "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aesara-devs";
|
||||
repo = "aesara";
|
||||
rev = "refs/tags/rel-${version}";
|
||||
hash = "sha256-V34uP50TfH6cLU7nWOx+8oXY1QawtaoIaKQpbLnz7eo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cons
|
||||
etuples
|
||||
filelock
|
||||
logical-unification
|
||||
minikanren
|
||||
numpy
|
||||
scipy
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jax
|
||||
jaxlib
|
||||
numba
|
||||
numba-scipy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "--durations=50" "" \
|
||||
--replace-fail "hatch-vcs >=0.3.0,<0.4.0" "hatch-vcs"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aesara" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Don't run the most compute-intense tests
|
||||
"tests/scan/"
|
||||
"tests/tensor/"
|
||||
"tests/sandbox/"
|
||||
"tests/sparse/sandbox/"
|
||||
# JAX is not available on all platform and often broken
|
||||
"tests/link/jax/"
|
||||
|
||||
# 2024-04-27: The current nixpkgs numba version is too recent and incompatible with aesara 2.9.3
|
||||
"tests/link/numba/"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Disable all benchmark tests
|
||||
"test_scan_multiple_output"
|
||||
"test_logsumexp_benchmark"
|
||||
|
||||
# TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
|
||||
"test_api_deprecation_warning"
|
||||
# AssertionError: assert ['Elemwise{Co..._i{0} 0', ...] == ['Elemwise{Co..._i{0} 0', ...]
|
||||
# At index 3 diff: '| |Gemv{inplace} d={0: [0]} 2' != '| |CGemv{inplace} d={0: [0]} 2'
|
||||
"test_debugprint"
|
||||
# ValueError: too many values to unpack (expected 3)
|
||||
"test_ExternalCOp_c_code_cache_version"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
|
||||
homepage = "https://github.com/aesara-devs/aesara";
|
||||
changelog = "https://github.com/aesara-devs/aesara/releases/tag/rel-${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ Etjean ];
|
||||
broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
|
||||
};
|
||||
}
|
||||
@@ -39,6 +39,7 @@ mapAliases ({
|
||||
acoustics = throw "acoustics has been removed because the upstream repository was archived in 2024"; # Added 2024-10-04
|
||||
adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute name: `pkgs.adafruit-nrfutil`."; # Added 2023-11-19
|
||||
aeppl = throw "aeppl was removed as it depends on aesara, which is unmaintained"; # added 2025-01-12
|
||||
aesara = throw "aesara was removed as the upstream repository is unmaintained"; # added 2025-01-12
|
||||
aioaladdinconnect = throw "aioaladdinconnect has been removed, as the API is supported was obsoleted on 2024-01-24."; # Added 2024-06-07
|
||||
aiohttp-isal = throw "aiohttp-isal has been removed, as it has been archived and replace by aiohttp-fast-zlib"; # Added 2024-08-11
|
||||
aiohttp-zlib-ng = throw "aiohttp-zlib-ng has been removed, as it has been archived and replaced by aiohttp-fast-zlib"; # Added 2024-11-14
|
||||
|
||||
@@ -101,8 +101,6 @@ self: super: with self; {
|
||||
|
||||
aerosandbox = callPackage ../development/python-modules/aerosandbox { };
|
||||
|
||||
aesara = callPackage ../development/python-modules/aesara { };
|
||||
|
||||
aesedb = callPackage ../development/python-modules/aesedb { };
|
||||
|
||||
aetcd = callPackage ../development/python-modules/aetcd { };
|
||||
|
||||
Reference in New Issue
Block a user