Skip to content
Merged
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
7 changes: 5 additions & 2 deletions dev_tools/requirements/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ WORKDIR /pip-compile

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

# hadolint global ignore=DL3013
RUN pip install -U pip --no-cache-dir --root-user-action ignore && \
pip install -r pip-tools.env.txt --no-cache-dir --root-user-action ignore
Comment thread Dismissed
Comment thread Dismissed

# 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
12 changes: 11 additions & 1 deletion dev_tools/requirements/deps/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cirq-core>=1.4.1
cirq-core>=1.4.1,<1.6.0
deprecation
h5py>=3.10.0
networkx
Expand All @@ -9,3 +9,13 @@ requests~=2.32.2
scipy~=1.15

sympy

# Transitive dependency. Versions 1.3.3+ require Python 311. Constraining it
# lets us produce a single set of requirements files for Python 3.10 - 3.12.
contourpy<1.3.3

# Another transitive dependency. We don't care about the version of this
# backport because it's only needed for a pytest extension. However, because we
# run pip-compile in Python 3.10 for maximum compatibility, we need to add an
# explicit constraint to keep this package out of the requirements files.
backports-asyncio-runner ; python_full_version < '3.11'
128 changes: 71 additions & 57 deletions dev_tools/requirements/envs/dev.env.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,86 +4,94 @@
#
# 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
ase==3.27.0
# via -r deps/resource_estimates_runtime.txt
astroid==3.3.10
astroid==3.3.11
# via pylint
attrs==25.3.0
attrs==25.4.0
# via
# cirq-core
# jsonschema
# referencing
backports-asyncio-runner==1.2.0 ; python_full_version < "3.11"
# via
# -r deps/runtime.txt
# pytest-asyncio
black==26.3.1
# via -r deps/format.txt
build==1.2.2.post1
build==1.4.0
# via pip-tools
certifi==2025.4.26
certifi==2026.2.25
# via requests
charset-normalizer==3.4.2
charset-normalizer==3.4.5
# via requests
cirq-core==1.5.0
# via -r deps/runtime.txt
click==8.2.1
click==8.3.1
# via
# black
# pip-tools
contourpy==1.3.2
# via matplotlib
coverage[toml]==7.8.2
# via
# -r deps/runtime.txt
# matplotlib
coverage[toml]==7.13.4
# via pytest-cov
cycler==0.12.1
# via matplotlib
deprecation==2.1.0
# via -r deps/runtime.txt
dill==0.4.0
dill==0.4.1
# via pylint
duet==0.2.9
# via cirq-core
exceptiongroup==1.3.0
exceptiongroup==1.3.1
# via pytest
execnet==2.1.1
execnet==2.1.2
# via pytest-xdist
fastjsonschema==2.21.1
fastjsonschema==2.21.2
# via nbformat
fonttools==4.58.1
fonttools==4.62.0
# via matplotlib
h5py==3.13.0
h5py==3.16.0
# via
# -r deps/runtime.txt
# pyscf
idna==3.10
idna==3.11
# via requests
iniconfig==2.1.0
iniconfig==2.3.0
# via pytest
isort==6.0.1
isort==6.1.0
# via pylint
jax==0.4.38
# via -r deps/resource_estimates_runtime.txt
jaxlib==0.4.38
# via
# -r deps/resource_estimates_runtime.txt
# jax
jsonschema==4.24.0
jsonschema==4.26.0
# via nbformat
jsonschema-specifications==2025.4.1
jsonschema-specifications==2025.9.1
# via jsonschema
jupyter-core==5.8.1
jupyter-core==5.9.1
# via nbformat
kiwisolver==1.4.8
kiwisolver==1.5.0
# via matplotlib
matplotlib==3.10.3
librt==0.8.1
# via mypy
matplotlib==3.10.8
# via
# ase
# cirq-core
mccabe==0.7.0
# via pylint
ml-dtypes==0.5.1
ml-dtypes==0.5.4
# via
# jax
# jaxlib
mpmath==1.3.0
# via sympy
mypy==1.16.0
mypy==1.19.1
# via -r deps/mypy.txt
mypy-extensions==1.1.0
# via
Expand Down Expand Up @@ -113,71 +121,76 @@ numpy==2.2.6
# types-networkx
opt-einsum==3.4.0
# via jax
packaging==25.0
packaging==26.0
# via
# black
# build
# deprecation
# matplotlib
# pytest
pandas==2.2.3
# wheel
pandas==2.3.3
# via cirq-core
pandas-stubs==2.2.3.250527
pandas-stubs==2.3.3.260113
# via -r deps/mypy.txt
pathspec==0.12.1
pathspec==1.0.4
# via
# black
# mypy
pillow==11.2.1
pillow==12.1.1
# via matplotlib
pip-tools==7.4.1
pip-tools==7.5.3
# via -r deps/pip-tools.txt
platformdirs==4.3.8
platformdirs==4.9.4
# via
# black
# jupyter-core
# pylint
pluggy==1.6.0
# via pytest
pubchempy==1.0.4
# via
# pytest
# pytest-cov
pubchempy==1.0.5
# via -r deps/runtime.txt
pygments==2.19.1
pygments==2.19.2
# via pytest
pylint==3.3.7
pylint==3.3.9
# via -r deps/pylint.txt
pyparsing==3.2.3
pyparsing==3.3.2
# via matplotlib
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pyscf==2.9.0
pyscf==2.12.1
# via -r deps/resource_estimates_runtime.txt
pytest==8.4.0
pytest==9.0.2
# via
# -r deps/pytest.txt
# pytest-asyncio
# pytest-cov
# pytest-xdist
pytest-asyncio==1.0.0
pytest-asyncio==1.3.0
# via -r deps/pytest.txt
pytest-cov==6.1.1
pytest-cov==7.0.0
# 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
# matplotlib
# pandas
pytz==2025.2
pytokens==0.4.1
# via black
pytz==2026.1.post1
# via pandas
referencing==0.36.2
referencing==0.37.0
# via
# jsonschema
# jsonschema-specifications
requests==2.32.3
requests==2.32.5
# via -r deps/runtime.txt
rpds-py==0.25.1
rpds-py==0.30.0
# via
# jsonschema
# referencing
Expand All @@ -197,7 +210,7 @@ sympy==1.14.0
# via
# -r deps/runtime.txt
# cirq-core
tomli==2.2.1
tomli==2.4.0
# via
# black
# build
Expand All @@ -206,37 +219,38 @@ tomli==2.2.1
# pip-tools
# pylint
# pytest
tomlkit==0.13.2
tomlkit==0.14.0
# via pylint
tqdm==4.67.1
tqdm==4.67.3
# via cirq-core
traitlets==5.14.3
# via
# jupyter-core
# nbformat
types-networkx==3.5.0.20250531
types-networkx==3.6.1.20260303
# via -r deps/mypy.txt
types-pytz==2025.2.0.20250516
types-pytz==2026.1.1.20260304
# via pandas-stubs
types-requests==2.32.0.20250602
types-requests==2.32.4.20260107
# via -r deps/mypy.txt
types-setuptools==80.9.0.20250529
types-setuptools==82.0.0.20260210
# via -r deps/mypy.txt
typing-extensions==4.14.0
typing-extensions==4.15.0
# via
# astroid
# black
# cirq-core
# exceptiongroup
# mypy
# pytest-asyncio
# referencing
tzdata==2025.2
tzdata==2025.3
# via pandas
urllib3==2.4.0
urllib3==2.6.3
# via
# requests
# types-requests
wheel==0.45.1
wheel==0.46.3
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
Loading
Loading