| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Important Review skippedBot user detected. To trigger a single review, invoke the @coderabbitai review command. You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Comment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [x] lib: cpython/Lib/hmac.py dependencies:
dependent tests: (4 tests)
Legend:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Upgrades hmac module and test suite from Python 3.14.2 as part of the ongoing stdlib modernization effort.
Changes
Lib/hmac.py: Updated to support three HMAC implementations (OpenSSL, HACL*, pure Python) with automatic fallback logic. Added _get_digest_constructor() helper and _compute_digest_fallback() for overflow handling.
Lib/test/test_hmac.py: Comprehensive rewrite using mixin-based architecture to test all three implementations. Increased test coverage from ~150 to 142 tests with better organization.
Test markers: 27 tests marked as @unittest.expectedFailure due to missing RustPython _hashlib features:
Test Results
142 tests total: 68 passed, 48 skipped (platform/module dependencies), 26 expected failures.
Original promptThis section details on the original issue you should resolve
<issue_title>Upgrade Python libraries and test from Python 3.14</issue_title>
<issue_description>## Summary
Check scripts/update_lib for tools. As a note, the current latest Python version is v3.14.2.
Previous versions' issues as reference
Details
2026-01-24
-...
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.