Skip to content

Commit 8b4830d

Browse files
committed
Avoid bitly links
1 parent 76749f8 commit 8b4830d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setuptools/command/easy_install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ def _update_zipimporter_cache(normalized_path, cache, updater=None):
18451845
# get/del patterns instead. For more detailed information see the
18461846
# following links:
18471847
# https://github.com/pypa/setuptools/issues/202#issuecomment-202913420
1848-
# http://bit.ly/2h9itJX
1848+
# https://foss.heptapod.net/pypy/pypy/-/blob/144c4e65cb6accb8e592f3a7584ea38265d1873c/pypy/module/zipimport/interp_zipimport.py
18491849
old_entry = cache[p]
18501850
del cache[p]
18511851
new_entry = updater and updater(p, old_entry)

setuptools/package_index.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ def url_ok(self, url, fatal=False):
402402
return True
403403
msg = (
404404
"\nNote: Bypassing %s (disallowed host; see "
405-
"http://bit.ly/2hrImnY for details).\n"
405+
"https://setuptools.pypa.io/en/latest/deprecated/"
406+
"easy_install.html#restricting-downloads-with-allow-hosts for details).\n"
406407
)
407408
if fatal:
408409
raise DistutilsError(msg % url)

0 commit comments

Comments
 (0)