Skip to content

Comments

[3.14] gh-145028: Fix blake2 tests in test_hashlib when it is missing due to configure --without-builtin-hashlib-hashes (GH-145029)#145164

Merged
gpshead merged 1 commit intopython:3.14from
tucif:backport-273d506-3.14
Feb 24, 2026
Merged

[3.14] gh-145028: Fix blake2 tests in test_hashlib when it is missing due to configure --without-builtin-hashlib-hashes (GH-145029)#145164
gpshead merged 1 commit intopython:3.14from
tucif:backport-273d506-3.14

Conversation

@tucif
Copy link
Contributor

@tucif tucif commented Feb 24, 2026

This is a 3.14 backport for PR #145029

Original main PR made changes to test_threaded_hashing_fast, which does not exist on 3.14 branch. Thus, I had to resolve cherry pick conflicts to exclude those, because this branch only has test_threaded_hashing and not the fast/slow variations.

…issing due to build config (pythonGH-145029)

specifically configure --without-builtin-hashlib-hashes means the otherwise guaranteed available blake2 family will not exist.  this allows the test suite to still pass.
(cherry picked from commit 273d506)

Co-authored-by: Rafael Santos <tucif@users.noreply.github.com>
@gpshead gpshead enabled auto-merge (squash) February 24, 2026 02:37
@gpshead gpshead merged commit 6d2c5a9 into python:3.14 Feb 24, 2026
90 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants