Python 3.14 support, confidence fix for "May", CI action bumps#2
Merged
Conversation
added 2 commits
June 4, 2026 17:45
- PyO3 0.22 -> 0.28 (allow_threads -> detach, pyclass skip_from_py_object);
builds natively on Python 3.14 with no forward-compat flag. Add 3.14 to the
CI test matrix, the release wheel matrix, and pyproject classifiers.
- Confidence: MonthName and MonthNameShort now share a vote bucket, so "May"
(a 3-letter name tokenized as short-form) no longer lowers confidence on
"%d %B %Y" data. The format was already correct; only the score dipped.
- CI/release: bump actions/checkout v4->v5, actions/setup-python v5->v6,
actions/{upload,download}-artifact v4->v5 (Node 20 runtime retirement);
Rust toolchain pin 1.81 -> 1.83 (PyO3 0.28 MSRV). Artifact upload/download
kept on the same major for guaranteed interop on the publish path.
Verified locally: 89 Rust tests (cargo test --lib), clippy --all-features
-D warnings clean, native Python 3.14 build + 42 pytest green.
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses the three follow-ups from the 0.2.0 review.
Python 3.14 support
PYO3_USE_ABI3_FORWARD_COMPATIBILITYflag). API migration:Python::allow_threads→Python::detach;#[pyclass]gainsskip_from_py_object(FromPyObject is now opt-in, andInferResultis return-only).3.14to the CI test matrix, the release wheel matrix (Linux/macOS/Windows), and the pyproject classifiers. Wheels now cover 3.10–3.14.Confidence fix — "May" (Observation A)
"May"is 3 letters, so it tokenizes as a short month name while"January"is a full one — splitting the votes at that position and lowering confidence on otherwise-clean%d %B %Ydata.MonthNameandMonthNameShortnow share a vote bucket, so the score reflects reality. The resolved format was already correct; only the number dipped.CI / release maintenance (Node 20 retirement)
actions/checkoutv4 → v5,actions/setup-pythonv5 → v6,actions/{upload,download}-artifactv4 → v5 (Node 20 is being forced to Node 24 on 2026-06-16).Verification
cargo test --lib),clippy --all-features -- -D warningsclean.infer_batch(now viadetach) verified parallel-correct.cargo test --all-featurescan't link locally on macOS (the knownextension-module+ test-executable quirk); CI runs it on Linux, where it passed at 0.22 and this PR's CI confirms it at 0.28.No version bump here — staged under CHANGELOG
[Unreleased]for the next release.