We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lts_compatibility
1 parent 7b3b940 commit 98e72caCopy full SHA for 98e72ca
1 file changed
tests/infra/github.py
@@ -188,9 +188,14 @@ def __init__(self):
188
]
189
190
def has_release_for_tag_name(self, tag_name):
191
+ try:
192
+ package_url = get_package_url_from_tag_name(tag_name)
193
+ except ValueError:
194
+ return False
195
+
196
return (
197
requests.head(
- get_package_url_from_tag_name(tag_name),
198
+ package_url,
199
allow_redirects=True,
200
timeout=30,
201
).status_code
0 commit comments