diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2022-12-27 09:59:38 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2022-12-27 09:59:38 +0100 |
commit | 67d4856adeebf34ab58963c7ad82ec83a8fdda84 (patch) | |
tree | d4b39155843974bdae83699e15b4a1afff2cee58 | |
parent | 3b7e43d0ef95c0c14501bdb357eb56da92251864 (diff) | |
download | python-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.py | 2 |
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': ''} |