lol

python3Packages.{aesara,aeppl}: remove (#373317)

authored by

Arne Keller and committed by
GitHub
196febc2 7d4cd942

+2 -184
-67
pkgs/development/python-modules/aeppl/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - pythonOlder, 5 - fetchFromGitHub, 6 - setuptools, 7 - aesara, 8 - numpy, 9 - scipy, 10 - numdifftools, 11 - pytestCheckHook, 12 - }: 13 - 14 - buildPythonPackage rec { 15 - pname = "aeppl"; 16 - version = "0.1.5"; 17 - pyproject = true; 18 - 19 - disabled = pythonOlder "3.8"; 20 - 21 - src = fetchFromGitHub { 22 - owner = "aesara-devs"; 23 - repo = "aeppl"; 24 - rev = "refs/tags/v${version}"; 25 - hash = "sha256-mqBbXwWJwQA2wSHuEdBeXQMfTIcgwYEjpq8AVmOjmHM="; 26 - }; 27 - 28 - build-system = [ setuptools ]; 29 - 30 - dependencies = [ 31 - aesara 32 - numpy 33 - scipy 34 - ]; 35 - 36 - nativeCheckInputs = [ 37 - numdifftools 38 - pytestCheckHook 39 - ]; 40 - 41 - preCheck = '' 42 - export HOME=$(mktemp -d); 43 - ''; 44 - 45 - pythonImportsCheck = [ "aeppl" ]; 46 - 47 - disabledTests = [ 48 - # Compute issue 49 - "test_initial_values" 50 - ]; 51 - 52 - pytestFlagsArray = [ 53 - # `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. 54 - # It will be removed for Python >= 3.12. For older Python versions it will remain present. 55 - "-Wignore::DeprecationWarning" 56 - # Blas cannot be found, allow fallback to the numpy slower implementation 57 - "-Wignore::UserWarning" 58 - ]; 59 - 60 - meta = with lib; { 61 - description = "Library for an Aesara-based PPL"; 62 - homepage = "https://github.com/aesara-devs/aeppl"; 63 - changelog = "https://github.com/aesara-devs/aeppl/releases/tag/v${version}"; 64 - license = licenses.mit; 65 - maintainers = with maintainers; [ fab ]; 66 - }; 67 - }
-113
pkgs/development/python-modules/aesara/default.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - buildPythonPackage, 5 - cons, 6 - cython, 7 - etuples, 8 - fetchFromGitHub, 9 - filelock, 10 - hatch-vcs, 11 - hatchling, 12 - jax, 13 - jaxlib, 14 - logical-unification, 15 - minikanren, 16 - numba, 17 - numba-scipy, 18 - numpy, 19 - pytestCheckHook, 20 - pythonAtLeast, 21 - pythonOlder, 22 - scipy, 23 - typing-extensions, 24 - }: 25 - 26 - buildPythonPackage rec { 27 - pname = "aesara"; 28 - version = "2.9.4"; 29 - pyproject = true; 30 - 31 - # Python 3.12 is not supported: https://github.com/aesara-devs/aesara/issues/1520 32 - disabled = pythonOlder "3.8" || pythonAtLeast "3.12"; 33 - 34 - src = fetchFromGitHub { 35 - owner = "aesara-devs"; 36 - repo = "aesara"; 37 - rev = "refs/tags/rel-${version}"; 38 - hash = "sha256-V34uP50TfH6cLU7nWOx+8oXY1QawtaoIaKQpbLnz7eo="; 39 - }; 40 - 41 - build-system = [ 42 - cython 43 - hatch-vcs 44 - hatchling 45 - ]; 46 - 47 - dependencies = [ 48 - cons 49 - etuples 50 - filelock 51 - logical-unification 52 - minikanren 53 - numpy 54 - scipy 55 - typing-extensions 56 - ]; 57 - 58 - nativeCheckInputs = [ 59 - jax 60 - jaxlib 61 - numba 62 - numba-scipy 63 - pytestCheckHook 64 - ]; 65 - 66 - postPatch = '' 67 - substituteInPlace pyproject.toml \ 68 - --replace-fail "--durations=50" "" \ 69 - --replace-fail "hatch-vcs >=0.3.0,<0.4.0" "hatch-vcs" 70 - ''; 71 - 72 - preBuild = '' 73 - export HOME=$(mktemp -d) 74 - ''; 75 - 76 - pythonImportsCheck = [ "aesara" ]; 77 - 78 - disabledTestPaths = [ 79 - # Don't run the most compute-intense tests 80 - "tests/scan/" 81 - "tests/tensor/" 82 - "tests/sandbox/" 83 - "tests/sparse/sandbox/" 84 - # JAX is not available on all platform and often broken 85 - "tests/link/jax/" 86 - 87 - # 2024-04-27: The current nixpkgs numba version is too recent and incompatible with aesara 2.9.3 88 - "tests/link/numba/" 89 - ]; 90 - 91 - disabledTests = [ 92 - # Disable all benchmark tests 93 - "test_scan_multiple_output" 94 - "test_logsumexp_benchmark" 95 - 96 - # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> 97 - "test_api_deprecation_warning" 98 - # AssertionError: assert ['Elemwise{Co..._i{0} 0', ...] == ['Elemwise{Co..._i{0} 0', ...] 99 - # At index 3 diff: '| |Gemv{inplace} d={0: [0]} 2' != '| |CGemv{inplace} d={0: [0]} 2' 100 - "test_debugprint" 101 - # ValueError: too many values to unpack (expected 3) 102 - "test_ExternalCOp_c_code_cache_version" 103 - ]; 104 - 105 - meta = with lib; { 106 - description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays"; 107 - homepage = "https://github.com/aesara-devs/aesara"; 108 - changelog = "https://github.com/aesara-devs/aesara/releases/tag/rel-${version}"; 109 - license = licenses.bsd3; 110 - maintainers = with maintainers; [ Etjean ]; 111 - broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); 112 - }; 113 - }
+2
pkgs/top-level/python-aliases.nix
··· 38 38 acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19 39 39 acoustics = throw "acoustics has been removed because the upstream repository was archived in 2024"; # Added 2024-10-04 40 40 adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute name: `pkgs.adafruit-nrfutil`."; # Added 2023-11-19 41 + aeppl = throw "aeppl was removed as it depends on aesara, which is unmaintained"; # added 2025-01-12 42 + aesara = throw "aesara was removed as the upstream repository is unmaintained"; # added 2025-01-12 41 43 aioaladdinconnect = throw "aioaladdinconnect has been removed, as the API is supported was obsoleted on 2024-01-24."; # Added 2024-06-07 42 44 aiohttp-isal = throw "aiohttp-isal has been removed, as it has been archived and replace by aiohttp-fast-zlib"; # Added 2024-08-11 43 45 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
-4
pkgs/top-level/python-packages.nix
··· 99 99 100 100 aenum = callPackage ../development/python-modules/aenum { }; 101 101 102 - aeppl = callPackage ../development/python-modules/aeppl { }; 103 - 104 102 aerosandbox = callPackage ../development/python-modules/aerosandbox { }; 105 - 106 - aesara = callPackage ../development/python-modules/aesara { }; 107 103 108 104 aesedb = callPackage ../development/python-modules/aesedb { }; 109 105