Johan Wirén
0550a673cc
Handles urls containing "../"
2021-07-01 18:47:49 +02:00
Antoine Eiche
f6765af4e7
Fix insecure ssl in fetch_from_legacy
2021-06-30 21:38:10 +02:00
adisbladis
106c4248ed
fetch_from_legacy: Ignore TLS certificates validity
...
We want this fetcher to still work even when the CA certs and server
certs are expired or otherwise considered insecure for backwards
compatibility reasons.
2021-06-01 16:25:29 -05:00
Antoine Eiche
28fba9f743
Add support to the legacy Pypi API
...
Some private repositories (such as Devpi) expose the legacy Pypi
API (https://warehouse.pypa.io/api-reference/legacy.html ).
This commit adds a dedicated fetcher which basically queries this API
to get the URL pointing to the actual file.
Since Pypi still exposes this API, it has been possible to write a
test that uses this legacy API.
Fixes https://github.com/nix-community/poetry2nix/issues/277 .
2021-06-01 16:25:29 -05:00