Skip to content

Upgrade sympy to 1.4#1674

Merged
dstrain115 merged 3 commits intoquantumlib:mainfrom
dstrain115:upgrade_sympy
Jul 11, 2025
Merged

Upgrade sympy to 1.4#1674
dstrain115 merged 3 commits intoquantumlib:mainfrom
dstrain115:upgrade_sympy

Conversation

@dstrain115
Copy link
Copy Markdown
Contributor

@dstrain115 dstrain115 commented Jul 10, 2025

  • Upgrades sympy and fixes typechecking issues that result.

Fixes: #1646

- Upgrades sympy and fixes typechecking issues that result.
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dstrain115 dstrain115 marked this pull request as ready for review July 10, 2025 12:09
Comment thread dev_tools/conf/mypy.ini
ignore_missing_imports = true

[mypy-sympy.*]
follow_untyped_imports = True
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you notice any effect on the typechecking runtime?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw less mypy errors (it was like 12 versus 24 without this). I didn't really investigate it though.

Comment thread dev_tools/requirements/envs/dev.env.txt Outdated
@@ -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.12
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the pinned requirements are very delicate w.r.t. exactly which python environment you run them from, we use the ..from_docker.sh script to bump the dependencies from the included docker image. As an example, you can see that your name is now forever immortalized in the requirements comments.

I'll run the script and push to this pr to save you some time

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I just ran the update deps script in this directory. Thanks for running it correctly for me!

@mpharrigan
Copy link
Copy Markdown
Collaborator

wooooooooooo

@mpharrigan mpharrigan added the devops Involves build systems, Make files, Bazel files, continuous integration, and or other DevOps topics label Jul 11, 2025
@dstrain115 dstrain115 merged commit ee158fb into quantumlib:main Jul 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Involves build systems, Make files, Bazel files, continuous integration, and or other DevOps topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Free sympy version

2 participants