-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: Linux 5.14.12 & 5.16.0
-
Poetry version: 1.1.11 & 1.2.0a2
Issue
Adding a source like
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu111"
secondary = true
Works perfectly well when installing torch with
torch = { version = "=1.10.0+cpu", source = "pytorch"}
but when trying to add mypy with poetry add poetry add mypy then I got a :
403 Client Error: Forbidden for url: https://download.pytorch.org/whl/cpu/mypy
Which obviously doesn't work as mypy is not in the pytorch package repository....
I don't get why pypi is not the default and "Pytorch" just as a fallback.
Thanks in advance for any help,
Have a great day.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected