mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1807 from jtratner/check-warehouse-pypi-org
Still check warehouse API for new pypi.org
This commit is contained in:
+2
-1
@@ -462,7 +462,8 @@ def resolve_deps(
|
||||
else:
|
||||
markers = markers_lookup.get(result.name)
|
||||
collected_hashes = []
|
||||
if 'python.org' in '|'.join([source['url'] for source in sources]):
|
||||
if any('python.org' in source['url'] or 'pypi.org' in source['url']
|
||||
for source in sources):
|
||||
try:
|
||||
# Grab the hashes from the new warehouse API.
|
||||
r = requests.get(
|
||||
|
||||
Reference in New Issue
Block a user