Skip to content

Commit

Permalink
Add project status update to README and bound NumPy
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Aug 28, 2024
1 parent 094caa9 commit ce407c6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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))'
Expand Down Expand Up @@ -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))'
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -54,6 +54,6 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- numpy>=1.20
- numpy>=1.20,<2.0.0
- types-filelock
- types-setuptools
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ arrays.

</div>

> [!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
Expand Down
6 changes: 3 additions & 3 deletions environment-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ channels:
dependencies:
- python
- compilers
- numpy>=1.17.0
- numpy>=1.17.0,<2.0.0
- scipy>=0.14
- filelock
- etuples
Expand All @@ -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
Expand All @@ -45,5 +45,5 @@ dependencies:
# optional
- sympy
- cython
- jax
- jax<0.4.16
- jaxlib
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ channels:
dependencies:
- python
- compilers
- numpy>=1.17.0
- numpy>=1.17.0,<2.0.0
- scipy>=0.14
- filelock
- etuples
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce407c6

Please sign in to comment.