Merge pull request #5767 from daira/postpone-deps

Postpone native_clang and libcxx 14.0.0; admin merge as requested by @nuttycom
This commit is contained in:
sasha 2022-03-29 11:12:02 -07:00 committed by GitHub
commit 9befdb2c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,8 @@ native_ccache 4.5.1 2022-05-01
native_ccache 4.6 2022-05-01
# Clang is currently pinned to LLVM 13
native_clang 14.0.0 2022-05-01
libcxx 14.0.0 2022-05-01
# Rust is currently pinned to 1.59.0

View File

@ -199,6 +199,8 @@ class GithubTagReleaseLister:
url = "https://api.github.com/repos/" + safe(self.org) + "/" + safe(self.repo) + "/git/refs/tags"
r = requests.get(url, auth=requests.auth.HTTPBasicAuth(self.token.user(), self.token.password()))
if r.status_code != 200:
print("API request failed (error %d)" % (r.status_code,), file=sys.stderr)
print(r.text, file=sys.stderr)
raise RuntimeError("Request to GitHub tag API failed.")
json = r.json()
return list(map(lambda t: t["ref"].split("/")[-1], json))
@ -208,6 +210,8 @@ class BerkeleyDbReleaseLister:
url = "https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html"
r = requests.get(url)
if r.status_code != 200:
print("API request failed (error %d)" % (r.status_code,), file=sys.stderr)
print(r.text, file=sys.stderr)
raise RuntimeError("Request to Berkeley DB download directory failed.")
page = r.text