FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-136547: allow to temporarily disable hash algorithms in tests (GH-136570, GH-136762) by miss-islington · Pull Request #138052 · python/cpython · GitHub

Repository navigation

[3.14] gh-136547: allow to temporarily disable hash algorithms in tests (GH-136570, GH-136762) - #138052

Closed
miss-islington wants to merge 2 commits into
python:3.14from
miss-islington:backport-9e5cebd-3.14
Closed

miss-islington wants to merge 2 commits into
python:3.14from
miss-islington:backport-9e5cebd-3.14

Conversation

miss-islington commented Aug 22, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

pythonGH-136570)

(cherry picked from commit 9e5cebd)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…ests (python#136762)

- Fix `hashlib_helper.block_algorithm` where the dummy functions were incorrectly defined.
- Rename `hashlib_helper.HashAPI` to `hashlib_helper.HashInfo` and add more helper methods.
- Simplify `hashlib_helper.requires_*()` functions.
- Rewrite some private helpers in `hashlib_helper`.
- Remove `find_{builtin,openssl}_hashdigest_constructor()` as they are no more needed and were
  not meant to be public in the first place.
- Fix some tests in `test_hashlib` when FIPS mode is on.
picnixz self-assigned this Aug 22, 2025
picnixz changed the title [3.14] gh-136547: allow to temporarily disable hash algorithms in tests (GH-136570) [3.14] gh-136547: allow to temporarily disable hash algorithms in tests (GH-136570, GH-136762) Aug 22, 2025

picnixz commented Aug 22, 2025

Copy link
Copy Markdown
Member

Won't merge this one now (#138053 (comment)) but maybe later if I need to.

picnixz closed this Aug 22, 2025
miss-islington deleted the backport-9e5cebd-3.14 branch January 2, 2026 16:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL