Repository navigation
Support Python 3.15 in the base Analyzer - #2527
Draft
michaelgiraldo wants to merge 5 commits into
Draft
michaelgiraldo wants to merge 5 commits into
michaelgiraldo wants to merge 5 commits into
Conversation
The Python 3.15 Analyzer lock requires NumPy 2.5.5. Its SPDX expression matches NumPy 2.4.6 on main. Follow data-privacy-stack#2409 by using the existing package-specific license exception for this dependency.
12 tasks
2 of 8 tasks
This branch has not been deployed
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.
Waiting on #2540
Change Description
Allow Python 3.15 for the base
presidio-analyzerinstallation with spaCy. Set Python 3.15-specific floors of NumPy 2.5.2 and spaCy 3.8.17, and regenerate the Analyzer lockfile with CI'suv0.11.6. The NumPy upper bound follows the proposal in #2330 for the Python 3.15 branch.Add a dedicated Ubuntu job that exercises the locked base installation with both English spaCy models and three existing test modules. It also builds the Analyzer wheel and verifies a clean, wheel-only
pipinstallation,pip check, and an isolated import. The installation guide documents the Python 3.15 scope.The behavior change is install eligibility and dependency selection for the Analyzer on Python 3.15. Optional backends and the other Presidio packages are tracked in #2526.
NumPy license review
The Python 3.15 lock resolves NumPy 2.5.5 for its CPython 3.15 wheels. Dependency Review flagged its SPDX expression,
BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0. NumPy 2.4.6 onmaindeclares the same expression. Dependency Review resultThe separate commit
4546cc1addspkg:pypi/numpyto the package-specific license exceptions, following #2409. The exception applies to NumPy across versions. Vulnerability review still checks NumPy. This PR presents the dependency update and the license exception together for review.Issue reference
Part of #2526.
Local validation
Hosted CI
The initial hosted run rejected the new job's checkout pin because it had an extra character. Commit
4805114restores the exact pin frommain. Initial run · Corrected run