Skip to content

Commit

Permalink
Unpin sympy and ignore sympy type errors (#5226)
Browse files Browse the repository at this point in the history
Fixes #5058
Review: @dabacon
  • Loading branch information
maffoo authored Apr 11, 2022
1 parent d9d6433 commit 8b108eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cirq-core/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ numpy~=1.16
pandas
sortedcontainers~=2.0
scipy
# TODO: unpin once #5058 is resolved
sympy<1.10
sympy
typing_extensions
tqdm
3 changes: 2 additions & 1 deletion dev_tools/conf/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ follow_imports_for_stubs = 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
[mypy-sympy.*]
ignore_missing_imports = True
follow_imports = skip
ignore_missing_imports = true

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

0 comments on commit 8b108eb

Please sign in to comment.