-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Poetry doesn't detect PyTorch 2.0.1 dependencies correctly #8002
Comments
It looks a PyTorch issue, where they uploaded wrong metadata to PyPI: pytorch/pytorch#100974. Until they solve it, my suggestion is to use url dependencies (#6409 for reference). If you agree, please close the issue. |
(as previously disccused in #7902, which this duplicates) |
Huh, weird I did not find #7902. Okay, closing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Poetry version:
Poetry (version 1.5.0)
Python version:
3.9.16
OS version and name:
Ubuntu 22.04 (WSL2)
pyproject.toml: https://gist.github.com/Interpause/09bc5076c2fa52e13d7baa97a512c02e
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
Poetry pulls in
nvidia-*-cu11
dependencies oftorch
when using version2.0.0
, but not2.0.1
.pip
pulls in all dependencies correctly when used, so it is unlikely to be an upstream package misconfig. Below are the outputs ofpip show torch
andpoetry show torch
for both versions:pip show torch
For version 2.0.0:
For version 2.0.1:
poetry show torch
For version 2.0.0:
For version 2.0.1:
The text was updated successfully, but these errors were encountered: