8000 The `sympy` dependency spec for pytorch on PyPi wheel is still unchanged. · Issue #145225 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

The sympy dependency spec for pytorch on PyPi wheel is still unchanged. #145225

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

Closed
stevenleeS0ht opened this issue Jan 20, 2025 · 4 comments
Closed
Assignees
Labels
module: third_party oncall: releng In support of CI and Release Engineering triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Milestone

Comments

@stevenleeS0ht
Copy link

When run pip install -U torch, it will still require sympy==1.13.1 and will uninstall the latest sympy which is version 1.13.3 in the virtual environment.

The reason is due to the dependency spec unchanged in setup.py.

@malfet
Copy link
Contributor
malfet commented Jan 21, 2025

Lets discuss it during the triage review meeting, as this issue appears a few times, but probably should be handled by PT2 team, who heavily depends on specific sympy behavior. IMO it would be great to keep it pinned only to the minor version, but may be folks can share an example when sympy update caused regressions

@atalman
Copy link
Contributor
atalman commented Jan 27, 2025

I confirm this is what we currently have in METADATA section of the wheel:

Requires-Dist: sympy (==1.13.1) ; python_version >= "3.9"

@drisspg drisspg added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module and removed triage review labels Jan 27, 2025
@malfet
Copy link
Contributor
malfet commented Jan 27, 2025

It should be relaxed to >= 1.13.1

@drisspg drisspg added the oncall: releng In support of CI and Release Engineering label Jan 27, 2025
@huydhn huydhn added this to the 2.7.0 milestone Feb 4, 2025
@clee2000
Copy link
Contributor

Does #147197 fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: third_party oncall: releng In support of CI and Release Engineering triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants
0