From 081cb56c4b9611b6179e9805cfc14a6a99d994b5 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 20 Sep 2023 14:10:25 -0500 Subject: [PATCH 1/5] Update readthedocs config file name --- readthedocs.yml => .readthedocs.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readthedocs.yml => .readthedocs.yaml (100%) diff --git a/readthedocs.yml b/.readthedocs.yaml similarity index 100% rename from readthedocs.yml rename to .readthedocs.yaml From b2a21f74545c0241974abddb120150d8ef010df4 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 20 Sep 2023 14:06:51 -0500 Subject: [PATCH 2/5] Update NumPy BLAS info approach for version 1.26 --- aesara/link/c/cmodule.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aesara/link/c/cmodule.py b/aesara/link/c/cmodule.py index 7d81f1c4fd..adad1ef3ff 100644 --- a/aesara/link/c/cmodule.py +++ b/aesara/link/c/cmodule.py @@ -2722,7 +2722,12 @@ def default_blas_ldflags(): """ warn_record = [] try: - blas_info = np.__config__.get_info("blas_opt") + try: + blas_info = np.__config__.get_info("blas_opt") + except AttributeError: + import numpy.distutils.system_info + + blas_info = numpy.distutils.system_info.get_info("blas_opt") # If we are in a EPD installation, mkl is available if "EPD" in sys.version: From 2a08d67ae9c00d3c061be048f0626d0ec533c75a Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 20 Sep 2023 14:31:01 -0500 Subject: [PATCH 3/5] Update NumPy variadic name from product to prod --- aesara/scalar/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aesara/scalar/basic.py b/aesara/scalar/basic.py index 81e83872e1..9ff25b30e0 100644 --- a/aesara/scalar/basic.py +++ b/aesara/scalar/basic.py @@ -1889,7 +1889,7 @@ class Mul(ScalarOp): commutative = True associative = True nfunc_spec = ("multiply", 2, 1) - nfunc_variadic = "product" + nfunc_variadic = "prod" def impl(self, *inputs): return np.prod(inputs) From 0c85740f687594c2ef5aa1f242ad29dbe55203c9 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 20 Sep 2023 15:57:32 -0500 Subject: [PATCH 4/5] Use sphinx lower than version 7 --- doc/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/environment.yml b/doc/environment.yml index eb30dfbd55..f2ad726d7a 100644 --- a/doc/environment.yml +++ b/doc/environment.yml @@ -9,7 +9,7 @@ dependencies: - numpy - scipy - six - - sphinx>=3 + - sphinx>=3,<7 - sphinx-book-theme - sphinx-design - sphinx_rtd_theme From 84f4e92f16cbd413ed1ab176666acc7008932661 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 20 Sep 2023 15:59:41 -0500 Subject: [PATCH 5/5] Revert codecov-action to v3 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a4f6a05dc..e1f725d91f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -247,7 +247,7 @@ jobs: path: coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: directory: ./coverage/ fail_ci_if_error: true