Skip to content

ValX 0.2.7: fix text filters and enable PyPI Trusted Publishing - #5

Merged
johanbeytell1 merged 2 commits into
mainfrom
arena/c41fbcab-valx
Nov 18, 2026
Merged

johanbeytell1 merged 2 commits into
mainfrom
arena/c41fbcab-valx

Conversation

@johanbeytell1

@johanbeytell1 johanbeytell1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Fix sensitive-information redaction to use exact, line-local spans, merge overlapping matches, and include parenthesized area codes and signed coordinates.
  • Restore the Finnish FI alias, document Persian as FA, and make profanity matching consistent for punctuation, overlapping terms, and $-delimited input.
  • Load the bundled scikit-learn models on first use, move package metadata to pyproject.toml, require Python 3.10 or newer, and run CI on Python 3.10–3.14.
  • Build and test distributions in a separate job from publishing. The publish job uses OIDC without a static PyPI token or a GitHub environment and adds PEP 740 publish attestations to both the wheel and sdist. The README badge links to PyPI's Security tab.

Verification

  • All 18 regression tests passed locally, including against the installed wheel with scikit-learn 1.2.2 and 1.9.1.
  • The wheel and sdist built successfully, contained all bundled models, and passed twine check --strict.
  • Both workflows passed actionlint and zizmor. Local tag checks accepted 0.2.7 and v0.2.7 and rejected a mismatched release tag.

Before publishing

Register Infinitode / ValX / build_and_publish.yml as a GitHub Actions Trusted Publisher for valx on PyPI, leaving the Environment field blank. After merging, push the v0.2.7 tag and verify attestations for both files. See CONTRIBUTING.md for the release steps. This PR does not tag or publish the release.

johanbeytell1 and others added 2 commits November 18, 2026 11:43
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@johanbeytell1
johanbeytell1 merged commit f45b997 into main Nov 18, 2026
5 checks passed
@johanbeytell1
johanbeytell1 deleted the arena/c41fbcab-valx branch November 18, 2026 11:49
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