From cd46145aa4ebc4e337ea5d8891e0a586c20f586d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 17 Apr 2018 09:16:42 -0400 Subject: Remove CDN purging, the new PyPI does the right thing (#4198) --- release.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'release.py') diff --git a/release.py b/release.py index a994b2ae..d7c18d10 100644 --- a/release.py +++ b/release.py @@ -110,18 +110,6 @@ def release(version): session = requests.Session() - # This tells the CDN to delete the cached response for the URL. We do this - # so that the Jenkins builders will see the new sdist immediately when they - # go to build the wheels. - response = session.request( - "PURGE", "https://pypi.python.org/simple/cryptography/" - ) - response.raise_for_status() - response = session.request( - "PURGE", "https://pypi.org/simple/cryptography/" - ) - response.raise_for_status() - token = getpass.getpass("Input the Jenkins token: ") response = session.get( "{0}/buildWithParameters".format(JENKINS_URL), -- cgit v1.2.3