summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2022-12-27 09:59:38 +0100
committerStefan Behnel <stefan_ml@behnel.de>2022-12-27 09:59:38 +0100
commit67d4856adeebf34ab58963c7ad82ec83a8fdda84 (patch)
treed4b39155843974bdae83699e15b4a1afff2cee58
parent3b7e43d0ef95c0c14501bdb357eb56da92251864 (diff)
downloadpython-lxml-67d4856adeebf34ab58963c7ad82ec83a8fdda84.tar.gz
Reduce the number of library releases that we look up in Windows builds. We do not need all of them, just the latest.
-rw-r--r--buildlibxml.py2
1 files changed, 1 insertions, 1 deletions
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': ''}