aboutsummaryrefslogtreecommitdiffstats
path: root/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tasks.py b/tasks.py
index 50eb90ae..860584b1 100644
--- a/tasks.py
+++ b/tasks.py
@@ -94,6 +94,9 @@ 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/"
)