Skip to content

Commit 0c4d9b4

Browse files
maffoorht
authored andcommitted
Unpin sympy and ignore sympy type errors (quantumlib#5226)
Fixes quantumlib#5058 Review: @dabacon
1 parent 078d971 commit 0c4d9b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cirq-core/requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ numpy~=1.16
1313
pandas
1414
sortedcontainers~=2.0
1515
scipy
16-
# TODO: unpin once #5058 is resolved
17-
sympy<1.10
16+
sympy
1817
typing_extensions
1918
tqdm

dev_tools/conf/mypy.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ follow_imports_for_stubs = true
1717

1818
#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
1919
[mypy-sympy.*]
20-
ignore_missing_imports = True
20+
follow_imports = skip
21+
ignore_missing_imports = true
2122

2223
# Treat symbols imported from Google's protobuf library as type Any.
2324
# This supresses errors due to attributes not known to typeshed,

0 commit comments

Comments
 (0)