Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CDN purging, the new PyPI does the right thing #4198

Merged
merged 1 commit into from Apr 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 0 additions & 12 deletions release.py
Expand Up @@ -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),
Expand Down