diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1f725d91f..d4a7c2cc6f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,9 +123,9 @@ jobs: - name: Install dependencies shell: bash -l {0} run: | - mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" mkl "numpy>=1.23.3" scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark sympy filelock etuples logical-unification miniKanren cons typing_extensions "setuptools>=48.0.0" - if [[ $INSTALL_NUMBA == "1" ]]; then mamba install --yes -q -c conda-forge -c numba "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57.0"; fi - mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numpy>=1.23.3" jax jaxlib + mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" mkl "numpy>=1.23.3,<2.0.0" "scipy<=1.12.0" pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark sympy filelock etuples logical-unification miniKanren cons typing_extensions "setuptools>=48.0.0" + if [[ $INSTALL_NUMBA == "1" ]]; then mamba install --yes -q -c conda-forge -c numba "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57.0,<0.58.0"; fi + mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numpy>=1.23.3,<2.0.0" "jax<=0.4.16" jaxlib pip install --no-deps -e ./ mamba list && pip freeze python -c 'import aesara; print(aesara.config.__str__(print_doc=False))' @@ -181,7 +181,7 @@ jobs: - name: Install dependencies shell: bash -l {0} run: | - mamba install --yes -q -c conda-forge -c numba "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service cython pytest jax jaxlib pytest-benchmark "numba>=0.57.0" + mamba install --yes -q -c conda-forge -c numba "python~=${PYTHON_VERSION}=*_cpython" mkl "numpy<2.0.0" "scipy<=1.12.0" pip mkl-service cython pytest "jax<=0.4.16" jaxlib pytest-benchmark "numba>=0.57.0,<0.58.0" pip install -e ./ mamba list && pip freeze python -c 'import aesara; print(aesara.config.__str__(print_doc=False))' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 673b202200..ed0e8b99a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: rev: v3.3.1 hooks: - id: pyupgrade - args: ["--py38-plus"] + args: ["--py38-plus"] - repo: https://github.com/psf/black rev: 23.3.0 hooks: @@ -54,6 +54,6 @@ repos: hooks: - id: mypy additional_dependencies: - - numpy>=1.20 + - numpy>=1.20,<2.0.0 - types-filelock - types-setuptools diff --git a/README.md b/README.md index 71f832b79b..46520e850c 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ arrays. +> [!IMPORTANT] +> This project is no longer actively maintained. See https://github.com/aesara-devs/aesara/discussions/1521#discussioncomment-7687831 and https://x.com/BrandonTWillard/status/1729350499793588249 for more details. + ## Features - A hackable, pure-Python codebase diff --git a/environment-arm.yml b/environment-arm.yml index c1b614ed2c..e744fe8146 100644 --- a/environment-arm.yml +++ b/environment-arm.yml @@ -10,8 +10,8 @@ channels: dependencies: - python - compilers - - numpy>=1.17.0 - - scipy>=0.14 + - numpy>=1.17.0,<2.0.0 + - scipy>=0.14,<=1.12.0 - filelock - etuples - logical-unification @@ -22,7 +22,7 @@ dependencies: - openblas - libblas=*=*openblas # numba backend - - numba>=0.57.0 + - numba>=0.57.0,<0.58.0 - llvmlite>=0.38.1 - numba-scipy # For testing @@ -45,5 +45,5 @@ dependencies: # optional - sympy - cython - - jax + - jax<=0.4.16 - jaxlib diff --git a/environment.yml b/environment.yml index a4675d4fa6..54510a3ff5 100644 --- a/environment.yml +++ b/environment.yml @@ -10,8 +10,8 @@ channels: dependencies: - python - compilers - - numpy>=1.17.0 - - scipy>=0.14 + - numpy>=1.17.0,<2.0.0 + - scipy>=0.14,<=1.12.0 - filelock - etuples - logical-unification @@ -22,7 +22,7 @@ dependencies: - mkl-service - libblas=*=*mkl # numba backend - - numba>=0.57.0 + - numba>=0.57.0,<0.58.0 - numba-scipy # For testing - coveralls diff --git a/pyproject.toml b/pyproject.toml index c1e836231f..2eea1ba499 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,8 +47,8 @@ keywords = [ urls = {Homepage = "https://github.com/aesara-devs/aesara"} requires-python = ">=3.8" dependencies = [ - "numpy >=1.17.0", - "scipy >=0.14", + "numpy >=1.17.0,<2.0.0", + "scipy >=0.14,<=1.12.0", "filelock", "etuples", "logical-unification", diff --git a/requirements.txt b/requirements.txt index 4a0dca563f..153a3a9e65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,9 +9,9 @@ coverage>=5.1 pytest cython sympy -jax>=0.4.1 +jax>=0.4.1,<=0.4.16 jaxlib>=0.4.1 -numba>=0.57.0 +numba>=0.57.0,<0.58.0 numba-scipy>=0.3.0 diff-cover pre-commit