aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-04-17 09:16:42 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-04-17 21:16:42 +0800
commitcd46145aa4ebc4e337ea5d8891e0a586c20f586d (patch)
treee38a239310eb977721b540a708891d70e9c8044b /release.py
parent3414f5c8854cf78ed748f4075aee3933d026cf2d (diff)
downloadcryptography-cd46145aa4ebc4e337ea5d8891e0a586c20f586d.tar.gz
cryptography-cd46145aa4ebc4e337ea5d8891e0a586c20f586d.tar.bz2
cryptography-cd46145aa4ebc4e337ea5d8891e0a586c20f586d.zip
Remove CDN purging, the new PyPI does the right thing (#4198)
Diffstat (limited to 'release.py')
-rw-r--r--release.py12
1 files changed, 0 insertions, 12 deletions
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),