From 67d4856adeebf34ab58963c7ad82ec83a8fdda84 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 27 Dec 2022 09:59:38 +0100 Subject: Reduce the number of library releases that we look up in Windows builds. We do not need all of them, just the latest. --- buildlibxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildlibxml.py b/buildlibxml.py index 15d6e338..0c57936f 100644 --- a/buildlibxml.py +++ b/buildlibxml.py @@ -32,7 +32,7 @@ sys_platform = sys.platform # use pre-built libraries on Windows def download_and_extract_windows_binaries(destdir): - url = "https://api.github.com/repos/lxml/libxml2-win-binaries/releases" + url = "https://api.github.com/repos/lxml/libxml2-win-binaries/releases?per_page=5" releases, _ = read_url(url, accept="application/vnd.github+json", as_json=True) max_release = {'tag_name': ''} -- cgit v1.2.1