From c2afb4ffd2d65cc2e1a28c0af3fb52efb6cc688b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 18 Oct 2024 11:30:37 -0400 Subject: [PATCH] Backport metadata fix for vectors (#11797) * Added a README for vectors, for the benefit of twine check (#11589) * Backport metadata fix for vectors --- CHANGELOG.rst | 7 +++++++ noxfile.py | 8 ++++++++ pyproject.toml | 4 ++-- src/cryptography/__about__.py | 2 +- vectors/README.rst | 5 +++++ vectors/cryptography_vectors/__about__.py | 2 +- vectors/pyproject.toml | 3 ++- 7 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 vectors/README.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5c90c74e2db4..c92f89584416 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Changelog ========= +.. _v43-0-3: + +43.0.3 - 2024-10-18 +~~~~~~~~~~~~~~~~~~~ + +* Fixed release metadata for ``cryptography-vectors`` + .. _v43-0-2: 43.0.2 - 2024-10-18 diff --git a/noxfile.py b/noxfile.py index e3eb7274ae5a..888dfc26956b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -153,6 +153,14 @@ def docs(session: nox.Session) -> None: session.run( "python3", "-m", "readme_renderer", "README.rst", "-o", "/dev/null" ) + session.run( + "python3", + "-m", + "readme_renderer", + "vectors/README.rst", + "-o", + "/dev/null", + ) @nox.session(name="docs-linkcheck") diff --git a/pyproject.toml b/pyproject.toml index 4cb0f3bf5bf3..03b178d1db59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ build-backend = "maturin" [project] name = "cryptography" -version = "43.0.2" +version = "43.0.3" authors = [ {name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"} ] @@ -64,7 +64,7 @@ ssh = ["bcrypt >=3.1.5"] # All the following are used for our own testing. nox = ["nox"] test = [ - "cryptography_vectors==43.0.2", + "cryptography_vectors==43.0.3", "pytest >=6.2.0", "pytest-benchmark", "pytest-cov", diff --git a/src/cryptography/__about__.py b/src/cryptography/__about__.py index 0fe33cf18054..375ffbe84213 100644 --- a/src/cryptography/__about__.py +++ b/src/cryptography/__about__.py @@ -10,7 +10,7 @@ "__version__", ] -__version__ = "43.0.2" +__version__ = "43.0.3" __author__ = "The Python Cryptographic Authority and individual contributors" diff --git a/vectors/README.rst b/vectors/README.rst new file mode 100644 index 000000000000..e4e9191d4ec4 --- /dev/null +++ b/vectors/README.rst @@ -0,0 +1,5 @@ +pyca/cryptography vectors +========================= + +This package contains test vectors which are used in ``pyca/cryptography``'s +tests. diff --git a/vectors/cryptography_vectors/__about__.py b/vectors/cryptography_vectors/__about__.py index bf5aa68aef68..8788cdc621d5 100644 --- a/vectors/cryptography_vectors/__about__.py +++ b/vectors/cryptography_vectors/__about__.py @@ -6,4 +6,4 @@ "__version__", ] -__version__ = "43.0.2" +__version__ = "43.0.3" diff --git a/vectors/pyproject.toml b/vectors/pyproject.toml index 6cdc07c471bf..6b580491d98f 100644 --- a/vectors/pyproject.toml +++ b/vectors/pyproject.toml @@ -4,11 +4,12 @@ build-backend = "flit_core.buildapi" [project] name = "cryptography_vectors" -version = "43.0.2" +version = "43.0.3" authors = [ {name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"} ] description = "Test vectors for the cryptography package." +readme = "README.rst" license = {text = "Apache-2.0 OR BSD-3-Clause"} [project.urls]