Skip to content

Commit

Permalink
bump for 43.0.0 and update changelog (#11311)
Browse files Browse the repository at this point in the history
* bump for 43.0.0 and update changelog

* fix nox

* fix flake and name better

* more noxfile update
  • Loading branch information
reaperhulk committed Jul 20, 2024
1 parent 42788a0 commit ebf14f2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 18 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ Changelog

.. _v43-0-0:

43.0.0 - `main`_
~~~~~~~~~~~~~~~~

.. note:: This version is not yet released and is under active development.
43.0.0 - 2024-07-20
~~~~~~~~~~~~~~~~~~~

* **BACKWARDS INCOMPATIBLE:** Support for OpenSSL less than 1.1.1e has been
removed. Users on older version of OpenSSL will need to upgrade.
* **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.8.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.3.1.
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
* :func:`~cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key`
now enforces a minimum RSA key size of 1024-bit. Note that 1024-bit is still
Expand Down
13 changes: 4 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def tests(session: nox.Session) -> None:
}
)

install(session, f".[{extras}]")
install(session, "-e", "./vectors")
install(session, f".[{extras}]")

session.run("pip", "list")

Expand Down Expand Up @@ -169,6 +169,7 @@ def flake(session: nox.Session) -> None:
# TODO: Ideally there'd be a pip flag to install just our dependencies,
# but not install us.
pyproject_data = load_pyproject_toml()
install(session, "-e", "vectors/")
install(
session,
*pyproject_data["build-system"]["requires"],
Expand All @@ -177,7 +178,6 @@ def flake(session: nox.Session) -> None:
*pyproject_data["project"]["optional-dependencies"]["ssh"],
*pyproject_data["project"]["optional-dependencies"]["nox"],
)
install(session, "-e", "vectors/")

session.run("ruff", "check", ".")
session.run("ruff", "format", "--check", ".")
Expand Down Expand Up @@ -254,19 +254,14 @@ def rust(session: nox.Session) -> None:
@nox.session(venv_backend="uv")
def local(session):
pyproject_data = load_pyproject_toml()
test_dependencies = pyproject_data["project"]["optional-dependencies"][
"test"
]
test_dependencies.remove("cryptography_vectors")
install(session, "-e", "./vectors")
install(
session,
*pyproject_data["build-system"]["requires"],
*pyproject_data["project"]["optional-dependencies"]["pep8test"],
*test_dependencies,
*pyproject_data["project"]["optional-dependencies"]["test"],
*pyproject_data["project"]["optional-dependencies"]["ssh"],
*pyproject_data["project"]["optional-dependencies"]["nox"],
"-e",
"./vectors/",
verbose=False,
)

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build-backend = "maturin"

[project]
name = "cryptography"
version = "43.0.0.dev1"
version = "43.0.0"
authors = [
{name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"}
]
Expand Down Expand Up @@ -64,7 +64,7 @@ ssh = ["bcrypt >=3.1.5"]
# All the following are used for our own testing.
nox = ["nox"]
test = [
"cryptography_vectors",
"cryptography_vectors==43.0.0",
"pytest >=6.2.0",
"pytest-benchmark",
"pytest-cov",
Expand Down
2 changes: 1 addition & 1 deletion src/cryptography/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"__version__",
]

__version__ = "43.0.0.dev1"
__version__ = "43.0.0"


__author__ = "The Python Cryptographic Authority and individual contributors"
Expand Down
2 changes: 1 addition & 1 deletion vectors/cryptography_vectors/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"__version__",
]

__version__ = "43.0.0.dev1"
__version__ = "43.0.0"
2 changes: 1 addition & 1 deletion vectors/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "cryptography_vectors"
version = "43.0.0.dev1"
version = "43.0.0"
authors = [
{name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"}
]
Expand Down

0 comments on commit ebf14f2

Please sign in to comment.