You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behavior is correct. Even if I remove torch dependency it is being installed as a dependency for kornia.
Yet for my server machine I need to use a specific manually installed version of torch which is 1.6.0+cu101. This dependency is already installed on the system and should be reused. pip install properly recognize that the existing version 1.6.0+cu101 matches the requirement ^1.6, but Poetry tries to "upgrade" the package and thus replaces it with a version that does not work in my setup:
- Updating torch (1.6.0+cu101 -> 1.6.0)
Not that I've added kornia library because it depend on torch 1.6. Otherwise I could just remove torch from my requirements and move on with my life. Also note that this specific 1.6.0+cu101 version is not available on PyPI, so I can't simply provide this version in my TOML - besides I wouldn't like to hardcore a version that is needed only by some of my environments.
Deps:
Issue
The default behavior is correct. Even if I remove
torch
dependency it is being installed as a dependency forkornia
.Yet for my server machine I need to use a specific manually installed version of torch which is
1.6.0+cu101
. This dependency is already installed on the system and should be reused.pip install
properly recognize that the existing version1.6.0+cu101
matches the requirement^1.6
, but Poetry tries to "upgrade" the package and thus replaces it with a version that does not work in my setup:Not that I've added
kornia
library because it depend on torch 1.6. Otherwise I could just removetorch
from my requirements and move on with my life. Also note that this specific1.6.0+cu101
version is not available on PyPI, so I can't simply provide this version in my TOML - besides I wouldn't like to hardcore a version that is needed only by some of my environments.Edit:
Handling this
+something
suffixes is backed by PEP-440https://www.python.org/dev/peps/pep-0440/#id25
The text was updated successfully, but these errors were encountered: