Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/conf/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dev_tools/requirements/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
# 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

# Step 0: install pip-tools
COPY envs/pip-tools.env.txt ./
RUN pip install -r pip-tools.env.txt

Check failure on line 22 in dev_tools/requirements/Dockerfile

View workflow job for this annotation

GitHub Actions / Dockerfile lint checks

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`

# Step 1: compile a complete & consistent environment with all dependencies
COPY deps/ ./deps/
COPY run-pip-compiles.py ./

ARG PLATFORM="default"
RUN python run-pip-compiles.py --platform $PLATFORM
RUN python run-pip-compiles.py --platform $PLATFORM
70 changes: 29 additions & 41 deletions dev_tools/requirements/envs/dev.env.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -83,19 +81,19 @@ 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
# black
# 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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -197,42 +197,30 @@ 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
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
Expand Down
29 changes: 12 additions & 17 deletions dev_tools/requirements/envs/format.env.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -93,15 +93,15 @@ packaging==25.0
# black
# deprecation
# matplotlib
pandas==2.2.3
pandas==2.3.1
# via
# -c envs/dev.env.txt
# cirq-core
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
Expand All @@ -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
Expand All @@ -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
Loading
Loading