mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-15 20:40:20 +00:00
Remove CDN purging, the new PyPI does the right thing (#4198)
This commit is contained in:
parent
3414f5c885
commit
cd46145aa4
1 changed files with 0 additions and 12 deletions
12
release.py
12
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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue