-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/repoMeta-issues for the repository/forge itselfMeta-issues for the repository/forge itselfkind/bugSomething isn't working as expectedSomething isn't working as expected
Milestone
Description
Following on from #5651
The original issue was that poetry could not handle repositories that hand back CDN links for packages with authenticationbaked into the URL because it would still add the base repository index auth details to the request headers.
After trying the lastest version from git I get a new issue.
(.venv) [daniel@dv-xps-fedora Davis_state_consumer]$ poetry@git add --source myget 'redacted'
Using version ^2.0.6 for redacted
Updating dependencies
Resolving dependencies... (4.2s)
HTTPError
404 Client Error: Not Found for url: https://pypi.org/pypi/redacted_dependency/json/
at ~/.local/pipx/venvs/poetry@git/lib64/python3.10/site-packages/requests/models.py:960 in raise_for_status
956│ elif 500 <= self.status_code < 600:
957│ http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url)
958│
959│ if http_error_msg:
→ 960│ raise HTTPError(http_error_msg, response=self)
961│
962│ def close(self):
963│ """Releases the connection back to the pool. Once this method has been
964│ called the underlying ``raw`` object must not be accessed again.
That's after adding the myget repo using:
poetry@git source add myget https://www.myget.org/F/redacted/python/
Originally posted by @voney in #5651 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/repoMeta-issues for the repository/forge itselfMeta-issues for the repository/forge itselfkind/bugSomething isn't working as expectedSomething isn't working as expected