diff --git a/conda-envs/environment-dev.yml b/conda-envs/environment-dev.yml index 85e6694a95..d0e634c2ee 100644 --- a/conda-envs/environment-dev.yml +++ b/conda-envs/environment-dev.yml @@ -37,7 +37,7 @@ dependencies: - watermark - polyagamma - sphinx-remove-toctrees -- mypy=1.5.1 +- mypy=1.11.2 - types-cachetools - pip: - git+https://github.com/pymc-devs/pymc-sphinx-theme diff --git a/conda-envs/environment-jax.yml b/conda-envs/environment-jax.yml index 97d25dd5b8..639f641eeb 100644 --- a/conda-envs/environment-jax.yml +++ b/conda-envs/environment-jax.yml @@ -33,7 +33,7 @@ dependencies: - pre-commit>=2.8.0 - pytest-cov>=2.5 - pytest>=3.0 -- mypy=1.5.1 +- mypy=1.11.2 - types-cachetools - pip: - numdifftools>=0.9.40 diff --git a/conda-envs/environment-test.yml b/conda-envs/environment-test.yml index 58cde0d327..c319bab0d9 100644 --- a/conda-envs/environment-test.yml +++ b/conda-envs/environment-test.yml @@ -28,7 +28,7 @@ dependencies: - pre-commit>=2.8.0 - pytest-cov>=2.5 - pytest>=3.0 -- mypy=1.5.1 +- mypy=1.11.2 - types-cachetools - pip: - numdifftools>=0.9.40 diff --git a/conda-envs/windows-environment-dev.yml b/conda-envs/windows-environment-dev.yml index 6d785e2cac..bdc01369cd 100644 --- a/conda-envs/windows-environment-dev.yml +++ b/conda-envs/windows-environment-dev.yml @@ -34,7 +34,7 @@ dependencies: - sphinx>=1.5 - watermark - sphinx-remove-toctrees -- mypy=1.5.1 +- mypy=1.11.2 - types-cachetools - pip: - git+https://github.com/pymc-devs/pymc-sphinx-theme diff --git a/conda-envs/windows-environment-test.yml b/conda-envs/windows-environment-test.yml index fd17c31711..85d86214bf 100644 --- a/conda-envs/windows-environment-test.yml +++ b/conda-envs/windows-environment-test.yml @@ -28,7 +28,7 @@ dependencies: - pre-commit>=2.8.0 - pytest-cov>=2.5 - pytest>=3.0 -- mypy=1.5.1 +- mypy=1.11.2 - types-cachetools - pip: - numdifftools>=0.9.40 diff --git a/pymc/backends/__init__.py b/pymc/backends/__init__.py index aea1c57b8c..29a76ec27c 100644 --- a/pymc/backends/__init__.py +++ b/pymc/backends/__init__.py @@ -85,7 +85,7 @@ RunType: TypeAlias = Run HAS_MCB = True except ImportError: - TraceOrBackend = BaseTrace # type: ignore[misc] + TraceOrBackend = BaseTrace # type: ignore[assignment, misc] RunType = type(None) # type: ignore[assignment, misc] diff --git a/requirements-dev.txt b/requirements-dev.txt index 082eab73ce..26d8ec8fee 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -9,7 +9,7 @@ h5py>=2.7 ipython>=7.16 jupyter-sphinx mcbackend>=0.4.0 -mypy==1.5.1 +mypy==1.11.2 myst-nb<=1.0.0 numdifftools>=0.9.40 numpy>=1.15.0