Skip to content

wtpsplit 3.0: library packaging and API - #179

Open
markus583 wants to merge 8 commits into
mainfrom
v3/library
Open

wtpsplit 3.0: library packaging and API#179
markus583 wants to merge 8 commits into
mainfrom
v3/library

Conversation

@markus583

Copy link
Copy Markdown
Collaborator

Summary

  • Modernize the library for 3.0: pyproject.toml / uv packaging (drop setup.py / setup.cfg), typed public API, model registry, compat with ModernBERT (new) / XLM-R backends, adaptation helpers, and related docs (README, MIGRATION, MODEL_BACKENDS, CONTRIBUTING, RELEASE).
  • Move tests under tests/ and point pytest / CI at that layout; pin astral-sh/setup-uv to immutable v9.0.0 (floating @v9 does not resolve).
  • Split up Pypi wheel; WtP models are legacy now.

markus583 and others added 8 commits July 30, 2026 22:39
Library-only slice from the freeze: packaging, docs, inference/training core,
and library tests — no mmSaT operator kit or research handoff paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keeps the package root for packaging and docs; updates packaging REPO_ROOT,
workflow paths, and docs that linked to the old locations.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Floating @v9 is not published; setup-uv only tags full versions since v8.

Co-authored-by: Cursor <cursoragent@cursor.com>
Library CI does not install the research group; adaptation tests only need
evaluate_model, which must not pull datasets at import time.

Co-authored-by: Cursor <cursoragent@cursor.com>
Library CI does not install the research group; local filtered shards only
need a thin table duck-type for normalize/validate paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
tomllib is 3.11+; add a version-gated tomli import and pin it in the
dev group so the CI matrix can collect test_packaging.

Co-authored-by: Cursor <cursoragent@cursor.com>
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