File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ contextlib2==0.5.5
99decorator == 4.4.2
1010dephell-specifier == 0.2.1
1111dj-database-url == 0.4.2
12- Django == 3.0.7
12+ Django == 3.0.13
1313django-filter == 2.2.0
14- djangorestframework == 3.11.0
14+ djangorestframework == 3.11.2
1515django-widget-tweaks == 1.4.8
1616drf-spectacular == 0.13.0
1717gunicorn == 19.7.1
@@ -54,5 +54,5 @@ whitenoise==5.0.1
5454zipp == 0.6.0
5555requests == 2.23.0
5656toml == 0.10.2
57- PyYAML == 5.3.1
57+ PyYAML == 5.4
5858freezegun == 1.1.0
Original file line number Diff line number Diff line change @@ -288,9 +288,12 @@ def nuget_url(pkg_name: str) -> str:
288288 def extract_versions (resp : dict ) -> Set [str ]:
289289 all_versions = set ()
290290 try :
291- for entry in resp ["items" ][0 ]["items" ]:
292- all_versions .add (entry ["catalogEntry" ]["version" ])
293- # json response for YamlDotNet.Signed triggers this exception
291+ for entry_group in resp ["items" ]:
292+ for entry in entry_group ["items" ]:
293+ all_versions .add (entry ["catalogEntry" ]["version" ])
294+ # FIXME: json response for YamlDotNet.Signed triggers this exception.
295+ # Some packages with many versions give a response of a list of endpoints.
296+ # In such cases rather, we should collect data from those endpoints.
294297 except KeyError :
295298 pass
296299
You can’t perform that action at this time.
0 commit comments