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 diff --git a/readthedocs.yml b/.readthedocs.yaml similarity index 100% rename from readthedocs.yml rename to .readthedocs.yaml 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: 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) 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