diff --git a/README.rst b/README.rst index cc3fb316f..a477517bf 100644 --- a/README.rst +++ b/README.rst @@ -3,8 +3,8 @@ :width: 75% :align: center -.. |python| image:: https://img.shields.io/badge/Python-3.10+-fcbc2c.svg?style=flat-square&logo=python&logoColor=white - :alt: Compatible with Python versions 3.10 and higher +.. |python| image:: https://img.shields.io/badge/Python-3.11+-fcbc2c.svg?style=flat-square&logo=python&logoColor=white + :alt: Compatible with Python versions 3.11 and higher :target: https://www.python.org/downloads/ .. |license| image:: https://img.shields.io/badge/License-Apache%202.0-3c60b1.svg?logo=opensourceinitiative&logoColor=white&style=flat-square diff --git a/dev_tools/conf/.pylintrc b/dev_tools/conf/.pylintrc index 2edf4ac51..b08dee670 100644 --- a/dev_tools/conf/.pylintrc +++ b/dev_tools/conf/.pylintrc @@ -112,7 +112,7 @@ prefer-stubs=no # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.10 +py-version=3.11 # Discover python modules and packages in the file system subtree. recursive=yes diff --git a/dev_tools/requirements/Dockerfile b/dev_tools/requirements/Dockerfile index 6c980eae5..5a4a88efa 100644 --- a/dev_tools/requirements/Dockerfile +++ b/dev_tools/requirements/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 FROM python:${PYTHON_VERSION} WORKDIR /pip-compile @@ -26,4 +26,4 @@ COPY deps/ ./deps/ COPY run-pip-compiles.py ./ ARG PLATFORM="default" -RUN python run-pip-compiles.py --platform $PLATFORM \ No newline at end of file +RUN python run-pip-compiles.py --platform $PLATFORM diff --git a/dev_tools/requirements/envs/dev.env.txt b/dev_tools/requirements/envs/dev.env.txt index 3ee5a8887..1aaeb5b5b 100644 --- a/dev_tools/requirements/envs/dev.env.txt +++ b/dev_tools/requirements/envs/dev.env.txt @@ -1,12 +1,12 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --output-file=envs/dev.env.txt deps/format.txt deps/mypy.txt deps/pip-tools.txt deps/pylint.txt deps/pytest.txt deps/resource_estimates_runtime.txt deps/runtime.txt # ase==3.25.0 # via -r deps/resource_estimates_runtime.txt -astroid==3.3.10 +astroid==3.3.11 # via pylint attrs==25.3.0 # via @@ -17,7 +17,7 @@ black==25.1.0 # via -r deps/format.txt build==1.2.2.post1 # via pip-tools -certifi==2025.4.26 +certifi==2025.7.14 # via requests charset-normalizer==3.4.2 # via requests @@ -29,7 +29,7 @@ click==8.2.1 # pip-tools contourpy==1.3.2 # via matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via pytest-cov cycler==0.12.1 # via matplotlib @@ -39,15 +39,13 @@ dill==0.4.0 # via pylint duet==0.2.9 # via cirq-core -exceptiongroup==1.3.0 - # via pytest execnet==2.1.1 # via pytest-xdist fastjsonschema==2.21.1 # via nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -r deps/runtime.txt # pyscf @@ -63,7 +61,7 @@ jaxlib==0.4.38 # via # -r deps/resource_estimates_runtime.txt # jax -jsonschema==4.24.0 +jsonschema==4.25.0 # via nbformat jsonschema-specifications==2025.4.1 # via jsonschema @@ -83,7 +81,7 @@ ml-dtypes==0.5.1 # jaxlib mpmath==1.3.0 # via sympy -mypy==1.16.0 +mypy==1.17.0 # via -r deps/mypy.txt mypy-extensions==1.1.0 # via @@ -91,11 +89,11 @@ mypy-extensions==1.1.0 # mypy nbformat==5.10.4 # via -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -r deps/runtime.txt # ase @@ -120,15 +118,15 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via cirq-core -pandas-stubs==2.2.3.250527 +pandas-stubs==2.3.0.250703 # via -r deps/mypy.txt pathspec==0.12.1 # via # black # mypy -pillow==11.2.1 +pillow==11.3.0 # via matplotlib pip-tools==7.4.1 # via -r deps/pip-tools.txt @@ -138,10 +136,12 @@ platformdirs==4.3.8 # jupyter-core # pylint pluggy==1.6.0 - # via pytest + # via + # pytest + # pytest-cov pubchempy==1.0.4 # via -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via pytest pylint==3.3.7 # via -r deps/pylint.txt @@ -153,17 +153,17 @@ pyproject-hooks==1.2.0 # pip-tools pyscf==2.9.0 # via -r deps/resource_estimates_runtime.txt -pytest==8.4.0 +pytest==8.4.1 # via # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via -r deps/pytest.txt python-dateutil==2.9.0.post0 # via @@ -175,13 +175,13 @@ referencing==0.36.2 # via # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -r deps/runtime.txt # ase @@ -197,16 +197,7 @@ sympy==1.14.0 # via # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # black - # build - # coverage - # mypy - # pip-tools - # pylint - # pytest -tomlkit==0.13.2 +tomlkit==0.13.3 # via pylint tqdm==4.67.1 # via cirq-core @@ -214,25 +205,22 @@ traitlets==5.14.3 # via # jupyter-core # nbformat -types-networkx==3.5.0.20250531 +types-networkx==3.5.0.20250712 # via -r deps/mypy.txt types-pytz==2025.2.0.20250516 # via pandas-stubs -types-requests==2.32.0.20250602 +types-requests==2.32.4.20250611 # via -r deps/mypy.txt types-setuptools==80.9.0.20250529 # via -r deps/mypy.txt -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via - # astroid - # black # cirq-core - # exceptiongroup # mypy # referencing tzdata==2025.2 # via pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # requests # types-requests diff --git a/dev_tools/requirements/envs/format.env.txt b/dev_tools/requirements/envs/format.env.txt index b1cd896b1..545e68a90 100644 --- a/dev_tools/requirements/envs/format.env.txt +++ b/dev_tools/requirements/envs/format.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/format.env.txt deps/format.txt deps/runtime.txt @@ -12,7 +12,7 @@ black==25.1.0 # via # -c envs/dev.env.txt # -r deps/format.txt -certifi==2025.4.26 +certifi==2025.7.14 # via # -c envs/dev.env.txt # requests @@ -44,11 +44,11 @@ duet==0.2.9 # via # -c envs/dev.env.txt # cirq-core -fonttools==4.58.1 +fonttools==4.59.0 # via # -c envs/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -72,12 +72,12 @@ mypy-extensions==1.1.0 # via # -c envs/dev.env.txt # black -networkx==3.4.2 +networkx==3.5 # via # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -93,7 +93,7 @@ packaging==25.0 # black # deprecation # matplotlib -pandas==2.2.3 +pandas==2.3.1 # via # -c envs/dev.env.txt # cirq-core @@ -101,7 +101,7 @@ pathspec==0.12.1 # via # -c envs/dev.env.txt # black -pillow==11.2.1 +pillow==11.3.0 # via # -c envs/dev.env.txt # matplotlib @@ -126,11 +126,11 @@ pytz==2025.2 # via # -c envs/dev.env.txt # pandas -requests==2.32.3 +requests==2.32.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -scipy==1.15.3 +scipy==1.16.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -148,24 +148,19 @@ sympy==1.14.0 # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # black tqdm==4.67.1 # via # -c envs/dev.env.txt # cirq-core -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c envs/dev.env.txt - # black # cirq-core tzdata==2025.2 # via # -c envs/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c envs/dev.env.txt # requests diff --git a/dev_tools/requirements/envs/mypy.env.txt b/dev_tools/requirements/envs/mypy.env.txt index b920ea66e..7eae9de99 100644 --- a/dev_tools/requirements/envs/mypy.env.txt +++ b/dev_tools/requirements/envs/mypy.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/mypy.env.txt deps/mypy.txt deps/runtime.txt @@ -8,7 +8,7 @@ attrs==25.3.0 # via # -c envs/dev.env.txt # cirq-core -certifi==2025.4.26 +certifi==2025.7.14 # via # -c envs/dev.env.txt # requests @@ -36,11 +36,11 @@ duet==0.2.9 # via # -c envs/dev.env.txt # cirq-core -fonttools==4.58.1 +fonttools==4.59.0 # via # -c envs/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -60,7 +60,7 @@ mpmath==1.3.0 # via # -c envs/dev.env.txt # sympy -mypy==1.16.0 +mypy==1.17.0 # via # -c envs/dev.env.txt # -r deps/mypy.txt @@ -68,12 +68,12 @@ mypy-extensions==1.1.0 # via # -c envs/dev.env.txt # mypy -networkx==3.4.2 +networkx==3.5 # via # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -90,11 +90,11 @@ packaging==25.0 # -c envs/dev.env.txt # deprecation # matplotlib -pandas==2.2.3 +pandas==2.3.1 # via # -c envs/dev.env.txt # cirq-core -pandas-stubs==2.2.3.250527 +pandas-stubs==2.3.0.250703 # via # -c envs/dev.env.txt # -r deps/mypy.txt @@ -102,7 +102,7 @@ pathspec==0.12.1 # via # -c envs/dev.env.txt # mypy -pillow==11.2.1 +pillow==11.3.0 # via # -c envs/dev.env.txt # matplotlib @@ -123,11 +123,11 @@ pytz==2025.2 # via # -c envs/dev.env.txt # pandas -requests==2.32.3 +requests==2.32.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -scipy==1.15.3 +scipy==1.16.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -145,15 +145,11 @@ sympy==1.14.0 # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # mypy tqdm==4.67.1 # via # -c envs/dev.env.txt # cirq-core -types-networkx==3.5.0.20250531 +types-networkx==3.5.0.20250712 # via # -c envs/dev.env.txt # -r deps/mypy.txt @@ -161,7 +157,7 @@ types-pytz==2025.2.0.20250516 # via # -c envs/dev.env.txt # pandas-stubs -types-requests==2.32.0.20250602 +types-requests==2.32.4.20250611 # via # -c envs/dev.env.txt # -r deps/mypy.txt @@ -169,7 +165,7 @@ types-setuptools==80.9.0.20250529 # via # -c envs/dev.env.txt # -r deps/mypy.txt -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c envs/dev.env.txt # cirq-core @@ -178,7 +174,7 @@ tzdata==2025.2 # via # -c envs/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c envs/dev.env.txt # requests diff --git a/dev_tools/requirements/envs/pip-tools.env.txt b/dev_tools/requirements/envs/pip-tools.env.txt index fd220c360..fc205c679 100644 --- a/dev_tools/requirements/envs/pip-tools.env.txt +++ b/dev_tools/requirements/envs/pip-tools.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/pip-tools.env.txt deps/pip-tools.txt @@ -25,11 +25,6 @@ pyproject-hooks==1.2.0 # -c envs/dev.env.txt # build # pip-tools -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # build - # pip-tools wheel==0.45.1 # via # -c envs/dev.env.txt diff --git a/dev_tools/requirements/envs/pylint.env.txt b/dev_tools/requirements/envs/pylint.env.txt index a2939d2b0..fc6a843c7 100644 --- a/dev_tools/requirements/envs/pylint.env.txt +++ b/dev_tools/requirements/envs/pylint.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/pylint.env.txt deps/pylint.txt deps/runtime.txt @@ -8,7 +8,7 @@ ase==3.25.0 # via # -c envs/dev.env.txt # -r deps/resource_estimates_runtime.txt -astroid==3.3.10 +astroid==3.3.11 # via # -c envs/dev.env.txt # pylint @@ -18,7 +18,7 @@ attrs==25.3.0 # cirq-core # jsonschema # referencing -certifi==2025.4.26 +certifi==2025.7.14 # via # -c envs/dev.env.txt # requests @@ -34,7 +34,7 @@ contourpy==1.3.2 # via # -c envs/dev.env.txt # matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via # -c envs/dev.env.txt # pytest-cov @@ -54,10 +54,6 @@ duet==0.2.9 # via # -c envs/dev.env.txt # cirq-core -exceptiongroup==1.3.0 - # via - # -c envs/dev.env.txt - # pytest execnet==2.1.1 # via # -c envs/dev.env.txt @@ -66,11 +62,11 @@ fastjsonschema==2.21.1 # via # -c envs/dev.env.txt # nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via # -c envs/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -96,7 +92,7 @@ jaxlib==0.4.38 # -c envs/dev.env.txt # -r deps/resource_estimates_runtime.txt # jax -jsonschema==4.24.0 +jsonschema==4.25.0 # via # -c envs/dev.env.txt # nbformat @@ -134,12 +130,12 @@ nbformat==5.10.4 # via # -c envs/dev.env.txt # -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -164,11 +160,11 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via # -c envs/dev.env.txt # cirq-core -pillow==11.2.1 +pillow==11.3.0 # via # -c envs/dev.env.txt # matplotlib @@ -181,11 +177,12 @@ pluggy==1.6.0 # via # -c envs/dev.env.txt # pytest + # pytest-cov pubchempy==1.0.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via # -c envs/dev.env.txt # pytest @@ -201,22 +198,22 @@ pyscf==2.9.0 # via # -c envs/dev.env.txt # -r deps/resource_estimates_runtime.txt -pytest==8.4.0 +pytest==8.4.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt @@ -234,16 +231,16 @@ referencing==0.36.2 # -c envs/dev.env.txt # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # -c envs/dev.env.txt # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -265,13 +262,7 @@ sympy==1.14.0 # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # coverage - # pylint - # pytest -tomlkit==0.13.2 +tomlkit==0.13.3 # via # -c envs/dev.env.txt # pylint @@ -284,18 +275,16 @@ traitlets==5.14.3 # -c envs/dev.env.txt # jupyter-core # nbformat -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c envs/dev.env.txt - # astroid # cirq-core - # exceptiongroup # referencing tzdata==2025.2 # via # -c envs/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c envs/dev.env.txt # requests diff --git a/dev_tools/requirements/envs/pytest-extra.env.txt b/dev_tools/requirements/envs/pytest-extra.env.txt index f93ea88f5..a9fa60e7e 100644 --- a/dev_tools/requirements/envs/pytest-extra.env.txt +++ b/dev_tools/requirements/envs/pytest-extra.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/pytest-extra.env.txt deps/pytest.txt deps/resource_estimates_runtime.txt deps/runtime.txt @@ -14,7 +14,7 @@ attrs==25.3.0 # cirq-core # jsonschema # referencing -certifi==2025.4.26 +certifi==2025.7.14 # via # -c envs/dev.env.txt # requests @@ -30,7 +30,7 @@ contourpy==1.3.2 # via # -c envs/dev.env.txt # matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via # -c envs/dev.env.txt # pytest-cov @@ -46,10 +46,6 @@ duet==0.2.9 # via # -c envs/dev.env.txt # cirq-core -exceptiongroup==1.3.0 - # via - # -c envs/dev.env.txt - # pytest execnet==2.1.1 # via # -c envs/dev.env.txt @@ -58,11 +54,11 @@ fastjsonschema==2.21.1 # via # -c envs/dev.env.txt # nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via # -c envs/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -84,7 +80,7 @@ jaxlib==0.4.38 # -c envs/dev.env.txt # -r deps/resource_estimates_runtime.txt # jax -jsonschema==4.24.0 +jsonschema==4.25.0 # via # -c envs/dev.env.txt # nbformat @@ -118,12 +114,12 @@ nbformat==5.10.4 # via # -c envs/dev.env.txt # -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -148,11 +144,11 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via # -c envs/dev.env.txt # cirq-core -pillow==11.2.1 +pillow==11.3.0 # via # -c envs/dev.env.txt # matplotlib @@ -164,11 +160,12 @@ pluggy==1.6.0 # via # -c envs/dev.env.txt # pytest + # pytest-cov pubchempy==1.0.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via # -c envs/dev.env.txt # pytest @@ -180,22 +177,22 @@ pyscf==2.9.0 # via # -c envs/dev.env.txt # -r deps/resource_estimates_runtime.txt -pytest==8.4.0 +pytest==8.4.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt @@ -213,16 +210,16 @@ referencing==0.36.2 # -c envs/dev.env.txt # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # -c envs/dev.env.txt # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -244,11 +241,6 @@ sympy==1.14.0 # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # coverage - # pytest tqdm==4.67.1 # via # -c envs/dev.env.txt @@ -258,17 +250,16 @@ traitlets==5.14.3 # -c envs/dev.env.txt # jupyter-core # nbformat -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c envs/dev.env.txt # cirq-core - # exceptiongroup # referencing tzdata==2025.2 # via # -c envs/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c envs/dev.env.txt # requests diff --git a/dev_tools/requirements/envs/pytest.env.txt b/dev_tools/requirements/envs/pytest.env.txt index 1dd9fd291..4a35a86b9 100644 --- a/dev_tools/requirements/envs/pytest.env.txt +++ b/dev_tools/requirements/envs/pytest.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=envs/dev.env.txt --output-file=envs/pytest.env.txt deps/pytest.txt deps/runtime.txt @@ -10,7 +10,7 @@ attrs==25.3.0 # cirq-core # jsonschema # referencing -certifi==2025.4.26 +certifi==2025.7.14 # via # -c envs/dev.env.txt # requests @@ -26,7 +26,7 @@ contourpy==1.3.2 # via # -c envs/dev.env.txt # matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via # -c envs/dev.env.txt # pytest-cov @@ -42,10 +42,6 @@ duet==0.2.9 # via # -c envs/dev.env.txt # cirq-core -exceptiongroup==1.3.0 - # via - # -c envs/dev.env.txt - # pytest execnet==2.1.1 # via # -c envs/dev.env.txt @@ -54,11 +50,11 @@ fastjsonschema==2.21.1 # via # -c envs/dev.env.txt # nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via # -c envs/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -70,7 +66,7 @@ iniconfig==2.1.0 # via # -c envs/dev.env.txt # pytest -jsonschema==4.24.0 +jsonschema==4.25.0 # via # -c envs/dev.env.txt # nbformat @@ -98,12 +94,12 @@ nbformat==5.10.4 # via # -c envs/dev.env.txt # -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -numpy==2.2.6 +numpy==2.3.1 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -119,11 +115,11 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via # -c envs/dev.env.txt # cirq-core -pillow==11.2.1 +pillow==11.3.0 # via # -c envs/dev.env.txt # matplotlib @@ -135,11 +131,12 @@ pluggy==1.6.0 # via # -c envs/dev.env.txt # pytest + # pytest-cov pubchempy==1.0.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via # -c envs/dev.env.txt # pytest @@ -147,22 +144,22 @@ pyparsing==3.2.3 # via # -c envs/dev.env.txt # matplotlib -pytest==8.4.0 +pytest==8.4.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via # -c envs/dev.env.txt # -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via # -c envs/dev.env.txt # -r deps/pytest.txt @@ -180,16 +177,16 @@ referencing==0.36.2 # -c envs/dev.env.txt # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via # -c envs/dev.env.txt # -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # -c envs/dev.env.txt # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -c envs/dev.env.txt # -r deps/runtime.txt @@ -207,11 +204,6 @@ sympy==1.14.0 # -c envs/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c envs/dev.env.txt - # coverage - # pytest tqdm==4.67.1 # via # -c envs/dev.env.txt @@ -221,17 +213,16 @@ traitlets==5.14.3 # -c envs/dev.env.txt # jupyter-core # nbformat -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c envs/dev.env.txt # cirq-core - # exceptiongroup # referencing tzdata==2025.2 # via # -c envs/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c envs/dev.env.txt # requests diff --git a/dev_tools/requirements/max_compat/dev.env.txt b/dev_tools/requirements/max_compat/dev.env.txt index a0c70a177..656411a9d 100644 --- a/dev_tools/requirements/max_compat/dev.env.txt +++ b/dev_tools/requirements/max_compat/dev.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=deps/oldest-versions.txt --output-file=max_compat/dev.env.txt deps/pytest.txt deps/runtime.txt @@ -9,7 +9,7 @@ attrs==25.3.0 # cirq-core # jsonschema # referencing -certifi==2025.4.26 +certifi==2025.7.14 # via requests charset-normalizer==3.4.2 # via requests @@ -19,7 +19,7 @@ cirq-core==1.4.1 # -r deps/runtime.txt contourpy==1.3.2 # via matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via pytest-cov cycler==0.12.1 # via matplotlib @@ -27,21 +27,19 @@ deprecation==2.1.0 # via -r deps/runtime.txt duet==0.2.9 # via cirq-core -exceptiongroup==1.3.0 - # via pytest execnet==2.1.1 # via pytest-xdist fastjsonschema==2.21.1 # via nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via matplotlib -h5py==3.13.0 +h5py==3.14.0 # via -r deps/runtime.txt idna==3.10 # via requests iniconfig==2.1.0 # via pytest -jsonschema==4.24.0 +jsonschema==4.25.0 # via nbformat jsonschema-specifications==2025.4.1 # via jsonschema @@ -55,7 +53,7 @@ mpmath==1.3.0 # via sympy nbformat==5.10.4 # via -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -r deps/runtime.txt # cirq-core @@ -73,31 +71,33 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via cirq-core -pillow==11.2.1 +pillow==11.3.0 # via matplotlib platformdirs==4.3.8 # via jupyter-core pluggy==1.6.0 - # via pytest + # via + # pytest + # pytest-cov pubchempy==1.0.4 # via -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via pytest pyparsing==3.2.3 # via matplotlib -pytest==8.4.0 +pytest==8.4.1 # via # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via -r deps/pytest.txt python-dateutil==2.9.0.post0 # via @@ -109,13 +109,13 @@ referencing==0.36.2 # via # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -r deps/runtime.txt # cirq-core @@ -127,22 +127,17 @@ sympy==1.14.0 # via # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # coverage - # pytest tqdm==4.67.1 # via cirq-core traitlets==5.14.3 # via # jupyter-core # nbformat -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # cirq-core - # exceptiongroup # referencing tzdata==2025.2 # via pandas -urllib3==2.4.0 +urllib3==2.5.0 # via requests diff --git a/dev_tools/requirements/max_compat/pytest-max-compat.env.txt b/dev_tools/requirements/max_compat/pytest-max-compat.env.txt index 66c38adf8..33a16689d 100644 --- a/dev_tools/requirements/max_compat/pytest-max-compat.env.txt +++ b/dev_tools/requirements/max_compat/pytest-max-compat.env.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --constraint=deps/oldest-versions.txt --constraint=max_compat/dev.env.txt --output-file=max_compat/pytest-max-compat.env.txt deps/pytest.txt deps/runtime.txt @@ -10,7 +10,7 @@ attrs==25.3.0 # cirq-core # jsonschema # referencing -certifi==2025.4.26 +certifi==2025.7.14 # via # -c max_compat/dev.env.txt # requests @@ -27,7 +27,7 @@ contourpy==1.3.2 # via # -c max_compat/dev.env.txt # matplotlib -coverage[toml]==7.8.2 +coverage[toml]==7.9.2 # via # -c max_compat/dev.env.txt # pytest-cov @@ -43,10 +43,6 @@ duet==0.2.9 # via # -c max_compat/dev.env.txt # cirq-core -exceptiongroup==1.3.0 - # via - # -c max_compat/dev.env.txt - # pytest execnet==2.1.1 # via # -c max_compat/dev.env.txt @@ -55,11 +51,11 @@ fastjsonschema==2.21.1 # via # -c max_compat/dev.env.txt # nbformat -fonttools==4.58.1 +fonttools==4.59.0 # via # -c max_compat/dev.env.txt # matplotlib -h5py==3.13.0 +h5py==3.14.0 # via # -c max_compat/dev.env.txt # -r deps/runtime.txt @@ -71,7 +67,7 @@ iniconfig==2.1.0 # via # -c max_compat/dev.env.txt # pytest -jsonschema==4.24.0 +jsonschema==4.25.0 # via # -c max_compat/dev.env.txt # nbformat @@ -99,7 +95,7 @@ nbformat==5.10.4 # via # -c max_compat/dev.env.txt # -r deps/pytest.txt -networkx==3.4.2 +networkx==3.5 # via # -c max_compat/dev.env.txt # -r deps/runtime.txt @@ -120,11 +116,11 @@ packaging==25.0 # deprecation # matplotlib # pytest -pandas==2.2.3 +pandas==2.3.1 # via # -c max_compat/dev.env.txt # cirq-core -pillow==11.2.1 +pillow==11.3.0 # via # -c max_compat/dev.env.txt # matplotlib @@ -136,11 +132,12 @@ pluggy==1.6.0 # via # -c max_compat/dev.env.txt # pytest + # pytest-cov pubchempy==1.0.4 # via # -c max_compat/dev.env.txt # -r deps/runtime.txt -pygments==2.19.1 +pygments==2.19.2 # via # -c max_compat/dev.env.txt # pytest @@ -148,22 +145,22 @@ pyparsing==3.2.3 # via # -c max_compat/dev.env.txt # matplotlib -pytest==8.4.0 +pytest==8.4.1 # via # -c max_compat/dev.env.txt # -r deps/pytest.txt # pytest-asyncio # pytest-cov # pytest-xdist -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 # via # -c max_compat/dev.env.txt # -r deps/pytest.txt -pytest-cov==6.1.1 +pytest-cov==6.2.1 # via # -c max_compat/dev.env.txt # -r deps/pytest.txt -pytest-xdist==3.7.0 +pytest-xdist==3.8.0 # via # -c max_compat/dev.env.txt # -r deps/pytest.txt @@ -181,16 +178,16 @@ referencing==0.36.2 # -c max_compat/dev.env.txt # jsonschema # jsonschema-specifications -requests==2.32.3 +requests==2.32.4 # via # -c max_compat/dev.env.txt # -r deps/runtime.txt -rpds-py==0.25.1 +rpds-py==0.26.0 # via # -c max_compat/dev.env.txt # jsonschema # referencing -scipy==1.15.3 +scipy==1.16.0 # via # -c max_compat/dev.env.txt # -r deps/runtime.txt @@ -208,11 +205,6 @@ sympy==1.14.0 # -c max_compat/dev.env.txt # -r deps/runtime.txt # cirq-core -tomli==2.2.1 - # via - # -c max_compat/dev.env.txt - # coverage - # pytest tqdm==4.67.1 # via # -c max_compat/dev.env.txt @@ -222,17 +214,16 @@ traitlets==5.14.3 # -c max_compat/dev.env.txt # jupyter-core # nbformat -typing-extensions==4.14.0 +typing-extensions==4.14.1 # via # -c max_compat/dev.env.txt # cirq-core - # exceptiongroup # referencing tzdata==2025.2 # via # -c max_compat/dev.env.txt # pandas -urllib3==2.4.0 +urllib3==2.5.0 # via # -c max_compat/dev.env.txt # requests diff --git a/dev_tools/requirements/re-pip-compile-in-docker.sh b/dev_tools/requirements/re-pip-compile-in-docker.sh index ff767b6a7..87aed1b30 100755 --- a/dev_tools/requirements/re-pip-compile-in-docker.sh +++ b/dev_tools/requirements/re-pip-compile-in-docker.sh @@ -37,7 +37,7 @@ docker rm -v "$container_id" # Do it again for `max_compat`. # Set the docker build args; use a unique image name; use the correct output directory. -docker build -t openfermion-pip-compile-max-compat --build-arg='PYTHON_VERSION=3.10' --build-arg='PLATFORM=max_compat' "$SCRIPT_DIR" +docker build -t openfermion-pip-compile-max-compat --build-arg='PYTHON_VERSION=3.11' --build-arg='PLATFORM=max_compat' "$SCRIPT_DIR" container_id=$(docker create openfermion-pip-compile-max-compat) docker cp "$container_id:/pip-compile/max_compat" "$SCRIPT_DIR/" docker rm -v "$container_id" diff --git a/pyproject.toml b/pyproject.toml index a24bb0bb0..2c6c5e062 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,6 @@ [tool.black] line-length = 100 -target_version = ['py310', 'py311', 'py312', 'py313'] +target_version = ['py311', 'py312', 'py313'] skip-string-normalization = true skip-magic-trailing-comma = true diff --git a/setup.py b/setup.py index c3ea535ba..1b89915af 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ maintainer_email='quantum-oss-maintainers@google.com', description=('The electronic structure package for quantum computers.'), long_description=long_description, - python_requires='>=3.10.0', + python_requires='>=3.11.0', install_requires=requirements, extras_require={'resources': resource_requirements}, packages=find_packages(where='src'), @@ -70,7 +70,6 @@ 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13',