From ce407c6f730f9a74128e1e85d16abae3d8a249fc Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 28 Aug 2024 13:17:53 -0500 Subject: [PATCH] Add project status update to README and bound NumPy --- .github/workflows/test.yml | 8 ++++---- .pre-commit-config.yaml | 4 ++-- README.md | 3 +++ environment-arm.yml | 6 +++--- environment.yml | 4 ++-- pyproject.toml | 2 +- requirements.txt | 4 ++-- 7 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1f725d91f..cc9c3e3053 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 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 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..3abec1e297 100644 --- a/environment-arm.yml +++ b/environment-arm.yml @@ -10,7 +10,7 @@ channels: dependencies: - python - compilers - - numpy>=1.17.0 + - numpy>=1.17.0,<2.0.0 - scipy>=0.14 - filelock - etuples @@ -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..69c76d5d6c 100644 --- a/environment.yml +++ b/environment.yml @@ -10,7 +10,7 @@ channels: dependencies: - python - compilers - - numpy>=1.17.0 + - numpy>=1.17.0,<2.0.0 - scipy>=0.14 - filelock - etuples @@ -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..391edfb253 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ keywords = [ urls = {Homepage = "https://github.com/aesara-devs/aesara"} requires-python = ">=3.8" dependencies = [ - "numpy >=1.17.0", + "numpy >=1.17.0,<2.0.0", "scipy >=0.14", "filelock", "etuples", diff --git a/requirements.txt b/requirements.txt index 4a0dca563f..e008018049 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