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
File "$HOME/.poetry/lib/poetry/_vendor/py3.6/requests/sessions.py", line 166, in resolve_redirects
raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
Printing the url and response text inside that block, I see https://pypi.org/pypi/mypy-extensions/json {"message": "The resource has been moved to /pypi/mypy_extensions/json; you should be redirected automatically.\n\n", "code": "301 Moved Permanently", "title": "Moved Permanently"}
and printing outside that block, I see it flipping back and forth between mypy_extensions and mypy-extensions.
In the browser, both _ and - result in my ending up at mypy-extensions, as does running it in a python prompt
I can't tell if I ought to submit this against warehouse instead, because of the apparent behavior coming from the requests, but i can't reproduce outside the context of this poetry call.
The text was updated successfully, but these errors were encountered:
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 (
-vvv
option).OS version and name: macos mojave
Poetry version: 1.0.0b1
Issue
On
poetry lock
, anything that depends on mypy (and through mypy, mypy_extensions) results in 301The error happens here:
Printing the url and response text inside that block, I see
https://pypi.org/pypi/mypy-extensions/json {"message": "The resource has been moved to /pypi/mypy_extensions/json; you should be redirected automatically.\n\n", "code": "301 Moved Permanently", "title": "Moved Permanently"}
and printing outside that block, I see it flipping back and forth between mypy_extensions and mypy-extensions.
In the browser, both
_
and-
result in my ending up atmypy-extensions
, as does running it in a python promptI can't tell if I ought to submit this against warehouse instead, because of the apparent behavior coming from the requests, but i can't reproduce outside the context of this poetry call.
The text was updated successfully, but these errors were encountered: