Skip to content

fix(deps): upgrade pyo3 to 0.29 and patch rand - #2

Merged
praise2112 merged 3 commits into
mainfrom
deps/pyo3-0.29
Oct 21, 2026
Merged

praise2112 merged 3 commits into
mainfrom
deps/pyo3-0.29

Conversation

@praise2112

Copy link
Copy Markdown
Owner

Upgrades pyo3 from 0.22.6 to 0.29.3 and rand to 0.9.5, which fixes GHSA-36hh-v3qg-5jq4, GHSA-chgr-c6px-7xpp, GHSA-pph8-gcv7-4qj5 and GHSA-cq8v-f236-94qc.
The Python API and its outputs are unchanged, checked call by call against the published 0.1.6 wheel.
pyo3 0.29 needs Python 3.8+, so requires-python moves from 3.7 to 3.8.

pyo3 0.29 needs Python 3.8+, so requires-python moves from 3.7 to 3.8.
Fuzzy matching could panic or loop until it ran out of memory, and non-ASCII keywords broke remove_keyword, replace_keywords and get_all_keywords. Matching now runs on a lazily compiled double-array trie, and fuzzy similarity is normalized by keyword length in characters.
@praise2112
praise2112 merged commit 8a7bd79 into main Oct 21, 2026
16 checks passed
@praise2112
praise2112 deleted the deps/pyo3-0.29 branch October 21, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant