Skip to content

fix(deps): support semantic PII installation on Python 3.13 - #315

Merged
illeatmyhat merged 1 commit into
mainfrom
codex/fix-semantic-python313
Sep 14, 2026
Merged

illeatmyhat merged 1 commit into
mainfrom
codex/fix-semantic-python313

Conversation

@illeatmyhat

@illeatmyhat illeatmyhat commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

The release workflow fails before tests on Python 3.13 because the semantic PII extra locks curated-tokenizers 0.0.9, which has no compatible wheel and crashes during Cython compilation.

Require curated-tokenizers >=0.0.10 and update only that package in the lockfile. The patch release supplies Python 3.13 wheels and satisfies the existing spacy-curated-transformers dependency constraints. Add Python 3.13 to the PR test matrix so the same frozen, all-extras installation is checked before release.

Validation:

  • Reproduced the 0.0.9 Cython compilation failure on Python 3.13.
  • Frozen all-groups/all-extras installation succeeds on Python 3.13.5.
  • Tokenizer import and WordPiece encoding smoke test passed.
  • Full default suite on Python 3.13: 1,152 passed, 4 skipped, 318 deselected.
  • uv lock --check and pre-commit checks passed.

Fixes the dependency-install failure in https://github.com/AgentToolkit/altk-evolve/actions/runs/34872870852. No retention behavior changes. This does not trigger publishing; a release can be retried after the fix is merged.

Summary by CodeRabbit

  • Tests

    • Expanded automated test coverage to include Python 3.13 alongside Python 3.12.
  • Chores

    • Updated optional dependency requirements to support the configured Python environment.

Signed-off-by: Punleuk Oum <5661986+illeatmyhat@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: fb2b2651-a545-4d48-9a3b-496a2b4c7bd9

📥 Commits

Reviewing files that changed from the base of the PR and between a8ffafb and b335b07.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • .github/workflows/check-code.yaml
  • pyproject.toml

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The pull request adds Python 3.13 to the test matrix and requires curated-tokenizers>=0.0.10 for the pii-semantic optional dependencies.

Changes

Python compatibility

Layer / File(s) Summary
Optional dependency constraint
pyproject.toml
The pii-semantic optional dependency set now requires curated-tokenizers>=0.0.10.
Python test matrix
.github/workflows/check-code.yaml
The run-tests job now runs on Python 3.12 and Python 3.13.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: gaodan-fang

Merge Risk: ⚪ Minimal · up to b335b

The dependency and Python 3.13 matrix updates are consistent with the stated compatibility goal and are ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating dependencies to support semantic PII installation on Python 3.13. It is concise and specific.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-semantic-python313

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@illeatmyhat
illeatmyhat merged commit 9aa999b into main Sep 14, 2026
10 of 12 checks passed
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