aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-04-15 19:41:11 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-04-16 07:41:11 +0800
commit3414f5c8854cf78ed748f4075aee3933d026cf2d (patch)
tree7b36d4d62fedfcf83ca5b94dd03d3c8b9948f965
parent4dfaef22b672940bbaf9eb14ea6c1aa473709af1 (diff)
downloadcryptography-3414f5c8854cf78ed748f4075aee3933d026cf2d.tar.gz
cryptography-3414f5c8854cf78ed748f4075aee3933d026cf2d.tar.bz2
cryptography-3414f5c8854cf78ed748f4075aee3933d026cf2d.zip
Update URLs for new pypi! (#4194)
* Update URLs for new pypi! * trailing slash * grump
-rw-r--r--README.rst2
-rw-r--r--docs/development/custom-vectors/secp256k1.rst2
-rw-r--r--docs/development/getting-started.rst10
-rw-r--r--release.py4
4 files changed, 11 insertions, 7 deletions
diff --git a/README.rst b/README.rst
index 04b9ea42..13f2d7d1 100644
--- a/README.rst
+++ b/README.rst
@@ -2,7 +2,7 @@ pyca/cryptography
=================
.. image:: https://img.shields.io/pypi/v/cryptography.svg
- :target: https://pypi.python.org/pypi/cryptography/
+ :target: https://pypi.org/project/cryptography/
:alt: Latest Version
.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest
diff --git a/docs/development/custom-vectors/secp256k1.rst b/docs/development/custom-vectors/secp256k1.rst
index b19bf4e4..e0579b4f 100644
--- a/docs/development/custom-vectors/secp256k1.rst
+++ b/docs/development/custom-vectors/secp256k1.rst
@@ -29,4 +29,4 @@ the following python script was run to generate the vector files.
Download link: :download:`verify_secp256k1.py
</development/custom-vectors/secp256k1/verify_secp256k1.py>`
-.. _`pure Python ecdsa`: https://pypi.python.org/pypi/ecdsa
+.. _`pure Python ecdsa`: https://pypi.org/project/ecdsa/
diff --git a/docs/development/getting-started.rst b/docs/development/getting-started.rst
index 415f5d8e..96b4b6d7 100644
--- a/docs/development/getting-started.rst
+++ b/docs/development/getting-started.rst
@@ -106,10 +106,10 @@ The HTML documentation index can now be found at
.. _`Homebrew`: https://brew.sh
.. _`MacPorts`: https://www.macports.org
.. _`OpenSSL`: https://www.openssl.org
-.. _`pytest`: https://pypi.python.org/pypi/pytest
-.. _`tox`: https://pypi.python.org/pypi/tox
-.. _`virtualenv`: https://pypi.python.org/pypi/virtualenv
-.. _`pip`: https://pypi.python.org/pypi/pip
-.. _`sphinx`: https://pypi.python.org/pypi/Sphinx
+.. _`pytest`: https://pypi.org/project/pytest/
+.. _`tox`: https://pypi.org/project/tox/
+.. _`virtualenv`: https://pypi.org/project/virtualenv/
+.. _`pip`: https://pypi.org/project/pip/
+.. _`sphinx`: https://pypi.org/project/Sphinx/
.. _`reStructured Text`: http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
.. _`this Github issue`: https://github.com/rfk/pyenchant/issues/42
diff --git a/release.py b/release.py
index 07c5609b..a994b2ae 100644
--- a/release.py
+++ b/release.py
@@ -117,6 +117,10 @@ def release(version):
"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(