diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 451d0faf3..7208ecd8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,6 +144,7 @@ jobs: - {IMAGE: "sid", TOXENV: "py310"} - {IMAGE: "ubuntu-bionic", TOXENV: "py36"} - {IMAGE: "ubuntu-focal", TOXENV: "py38"} + - {IMAGE: "ubuntu-jammy", TOXENV: "py310"} - {IMAGE: "ubuntu-rolling", TOXENV: "py39"} - {IMAGE: "fedora", TOXENV: "py310"} - {IMAGE: "alpine", TOXENV: "py39"} diff --git a/docs/installation.rst b/docs/installation.rst index bc438c8e3..2bafdef61 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -20,7 +20,7 @@ operating systems. * x86-64 Fedora (latest) * x86-64 macOS 10.15 Catalina * ARM64 macOS 12 Monterey -* x86-64 Ubuntu 18.04, 20.04, rolling +* x86-64 Ubuntu 18.04, 20.04, 22.04, rolling * ARM64 Ubuntu 20.04 * x86-64 Debian Stretch (9.x), Buster (10.x), Bullseye (11.x), Bookworm (12.x) and Sid (unstable) diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py index 835c9256a..2605566bd 100644 --- a/tests/hazmat/backends/test_openssl_memleak.py +++ b/tests/hazmat/backends/test_openssl_memleak.py @@ -82,8 +82,11 @@ def main(argv): assert result == 1 # Trigger a bunch of initialization stuff. + import hashlib from cryptography.hazmat.backends.openssl.backend import backend + hashlib.sha256() + start_heap = set(heap) try: