Skip to content

Update versions of dependencies & regenerate envs/*.txt files #923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Feb 3, 2025
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
1,005 changes: 994 additions & 11 deletions dev_tools/conf/.pylintrc

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions dev_tools/conf/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
[mypy]
implicit_optional = True

# TODO: this is temporary for 1.7.0 release. Remove this & fix the errors.
ignore_errors = True

[mypy-__main__]
follow_imports = silent
ignore_missing_imports = true
ignore_missing_imports = True

# 3rd-party libs for which we don't have stubs
[mypy-apiclient.*,numpy.*,pytest.*,scipy.*,,setuptools.*,_pytest.*]
[mypy-apiclient.*,numpy.*,pytest.*,scipy.*,,_pytest.*,h5py,pyscf.*,pubchempy,pybtas,absl,tensorflow_docs]
follow_imports = silent
ignore_missing_imports = true
ignore_missing_imports = True

# Adding "sympy.* or mypy-sympy to the above list (3rd-party libs for which we don't have stubs) doesn't ignore "cannot find module 'sympy' error
# Adding "sympy.* or mypy-sympy to the above list (3rd-party libs for which we
# don't have stubs) doesn't ignore "cannot find module 'sympy' error
[mypy-sympy.*]
ignore_missing_imports = True

[mypy-tensorflow_docs.*]
ignore_missing_imports = True

[mypy-deprecation]
follow_untyped_imports = True
2 changes: 1 addition & 1 deletion dev_tools/requirements/deps/format.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Make sure this matches cirq/dev_tools/requirements/deps/format.txt
black==24.3.0
black
7 changes: 6 additions & 1 deletion dev_tools/requirements/deps/mypy.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
mypy~=0.782.0
mypy

pandas-stubs
types-requests
types-setuptools
types-networkx
2 changes: 1 addition & 1 deletion dev_tools/requirements/deps/pip-tools.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pip-tools>=7.0
pip-tools
5 changes: 4 additions & 1 deletion dev_tools/requirements/deps/pylint.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
pylint~=2.15.6
pylint~=3.3

-r resource_estimates_runtime.txt
-r pytest.txt

6 changes: 3 additions & 3 deletions dev_tools/requirements/deps/resource_estimates_runtime.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyscf
jax
jaxlib
ase
jax~=0.4.38
jaxlib~=0.4.38
ase
10 changes: 5 additions & 5 deletions dev_tools/requirements/deps/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cirq-core~=1.0
cirq-core
deprecation
h5py>=2.8
h5py>=3.10.0
networkx
numpy>=1.11.0
numpy>=1.24,<2.0
pubchempy
requests>=2.18
requests~=2.32.2

scipy>=1.1.0
scipy>=1.10,<1.14

sympy
162 changes: 88 additions & 74 deletions dev_tools/requirements/envs/dev.env.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,97 +4,98 @@
#
# 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.22.1
ase==3.24.0
# via -r deps/resource_estimates_runtime.txt
astroid==2.13.5
astroid==3.3.8
# via pylint
attrs==23.2.0
attrs==25.1.0
# via
# cirq-core
# jsonschema
# referencing
black==23.3.0
black==25.1.0
# via -r deps/format.txt
build==1.0.3
build==1.2.2.post1
# via pip-tools
certifi==2024.7.4
certifi==2025.1.31
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
cirq-core==1.3.0
cirq-core==1.4.1
# via -r deps/runtime.txt
click==8.1.7
click==8.1.8
# via
# black
# pip-tools
contourpy==1.2.0
contourpy==1.3.1
# via matplotlib
coverage[toml]==7.4.0
coverage[toml]==7.6.10
# via pytest-cov
cycler==0.12.1
# via matplotlib
deprecation==2.1.0
# via -r deps/runtime.txt
dill==0.3.7
dill==0.3.9
# via pylint
duet==0.2.9
# via cirq-core
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
execnet==2.0.2
execnet==2.1.1
# via pytest-xdist
fastjsonschema==2.19.1
fastjsonschema==2.21.1
# via nbformat
fonttools==4.47.2
fonttools==4.55.8
# via matplotlib
h5py==3.10.0
h5py==3.12.1
# via
# -r deps/runtime.txt
# pyscf
idna==3.7
idna==3.10
# via requests
iniconfig==2.0.0
# via pytest
isort==5.13.2
isort==6.0.0
# via pylint
jax==0.4.31
# via -r deps/resource_estimates_runtime.txt
jaxlib==0.4.31
jax==0.4.38
# via -r deps/resource_estimates_runtime.txt
jsonschema==4.21.0
jaxlib==0.4.38
# via
# -r deps/resource_estimates_runtime.txt
# jax
jsonschema==4.23.0
# via nbformat
jsonschema-specifications==2023.12.1
jsonschema-specifications==2024.10.1
# via jsonschema
jupyter-core==5.7.1
jupyter-core==5.7.2
# via nbformat
kiwisolver==1.4.5
kiwisolver==1.4.8
# via matplotlib
lazy-object-proxy==1.10.0
# via astroid
matplotlib==3.8.2
matplotlib==3.10.0
# via
# ase
# cirq-core
mccabe==0.7.0
# via pylint
ml-dtypes==0.3.2
ml-dtypes==0.5.1
# via
# jax
# jaxlib
mpmath==1.3.0
# via sympy
mypy==0.782
mypy==1.14.1
# via -r deps/mypy.txt
mypy-extensions==0.4.4
mypy-extensions==1.0.0
# via
# black
# mypy
nbformat==5.9.2
nbformat==5.10.4
# via -r deps/pytest.txt
networkx==3.2.1
networkx==3.4.2
# via
# -r deps/runtime.txt
# cirq-core
numpy==1.26.3
numpy==1.26.4
# via
# -r deps/runtime.txt
# ase
Expand All @@ -105,120 +106,133 @@ numpy==1.26.3
# jaxlib
# matplotlib
# ml-dtypes
# opt-einsum
# pandas
# pandas-stubs
# pyscf
# scipy
opt-einsum==3.3.0
# types-networkx
opt-einsum==3.4.0
# via jax
packaging==23.2
packaging==24.2
# via
# black
# build
# deprecation
# matplotlib
# pytest
pandas==2.1.4
pandas==2.2.3
# via cirq-core
pandas-stubs==2.2.3.241126
# via -r deps/mypy.txt
pathspec==0.12.1
# via black
pillow==10.3.0
pillow==11.1.0
# via matplotlib
pip-tools==7.3.0
pip-tools==7.4.1
# via -r deps/pip-tools.txt
platformdirs==4.1.0
platformdirs==4.3.6
# via
# black
# jupyter-core
# pylint
pluggy==1.3.0
pluggy==1.5.0
# via pytest
pubchempy==1.0.4
# via -r deps/runtime.txt
pylint==2.15.10
pylint==3.3.4
# via -r deps/pylint.txt
pyparsing==3.1.1
pyparsing==3.2.1
# via matplotlib
pyproject-hooks==1.0.0
# via build
pyscf==2.4.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pyscf==2.8.0
# via -r deps/resource_estimates_runtime.txt
pytest==7.4.4
pytest==8.3.4
# via
# -r deps/pytest.txt
# pytest-asyncio
# pytest-cov
# pytest-xdist
pytest-asyncio==0.23.3
pytest-asyncio==0.25.3
# via -r deps/pytest.txt
pytest-cov==4.1.0
pytest-cov==6.0.0
# via -r deps/pytest.txt
pytest-xdist==3.5.0
pytest-xdist==3.6.1
# via -r deps/pytest.txt
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# matplotlib
# pandas
pytz==2023.3.post1
pytz==2025.1
# via pandas
referencing==0.32.1
referencing==0.36.2
# via
# jsonschema
# jsonschema-specifications
requests==2.32.0
requests==2.32.3
# via -r deps/runtime.txt
rpds-py==0.17.1
rpds-py==0.22.3
# via
# jsonschema
# referencing
scipy==1.11.4
scipy==1.13.1
# via
# -r deps/runtime.txt
# ase
# cirq-core
# jax
# jaxlib
# pyscf
six==1.16.0
six==1.17.0
# via python-dateutil
sortedcontainers==2.4.0
# via cirq-core
sympy==1.12
sympy==1.13.3
# via
# -r deps/runtime.txt
# cirq-core
tomli==2.0.1
tomli==2.2.1
# via
# black
# build
# coverage
# mypy
# pip-tools
# pylint
# pyproject-hooks
# pytest
tomlkit==0.12.3
tomlkit==0.13.2
# via pylint
tqdm==4.66.3
tqdm==4.67.1
# via cirq-core
traitlets==5.14.1
traitlets==5.14.3
# via
# jupyter-core
# nbformat
typed-ast==1.4.3
# via mypy
typing-extensions==4.9.0
types-networkx==3.4.2.20241227
# via -r deps/mypy.txt
types-pytz==2024.2.0.20241221
# via pandas-stubs
types-requests==2.32.0.20241016
# via -r deps/mypy.txt
types-setuptools==75.8.0.20250110
# via -r deps/mypy.txt
typing-extensions==4.12.2
# via
# astroid
# black
# cirq-core
# mypy
tzdata==2023.4
# referencing
tzdata==2025.1
# via pandas
urllib3==2.2.2
# via requests
wheel==0.42.0
urllib3==2.3.0
# via
# requests
# types-requests
wheel==0.45.1
# via pip-tools
wrapt==1.16.0
# via astroid

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