Skip to content

Adopt tskit-dev repo administration principles#273

Merged
jeromekelleher merged 6 commits intosgkit-dev:mainfrom
jeromekelleher:adopt-tskit-dev-admin-principles
Apr 1, 2026
Merged

Adopt tskit-dev repo administration principles#273
jeromekelleher merged 6 commits intosgkit-dev:mainfrom
jeromekelleher:adopt-tskit-dev-admin-principles

Conversation

@jeromekelleher
Copy link
Copy Markdown
Member

Modernise the repo tooling to follow the conventions documented in tskit-dev/.github/repo_administration.md:

  • Migrate to uv for dependency management with committed uv.lock
  • Add PEP 735 dependency-groups (test, lint, packaging, wheels, dev)
  • Replace .pre-commit-config.yaml with prek.toml (local hooks only, including clang-format for C code)
  • Pin lint tools (ruff==0.15.1, prek==0.3.3, clang-format==19.1.7)
  • Upgrade ruff, remove stale UP038 ignore, fix lint/format violations
  • Fix clang-format off/on markers in _vcztoolsmodule.c
  • Rewrite CI workflows to use uv (astral-sh/setup-uv@v6)
  • Migrate CD from Docker-based manylinux builds to cibuildwheel, adding macOS arm64/x86_64 wheel support
  • Add [tool.cibuildwheel] config to pyproject.toml
  • Remove .github/workflows/docker/ directory
  • Add CONTRIBUTING.md

Modernise the repo tooling to follow the conventions documented in
tskit-dev/.github/repo_administration.md:

- Migrate to uv for dependency management with committed uv.lock
- Add PEP 735 dependency-groups (test, lint, packaging, wheels, dev)
- Replace .pre-commit-config.yaml with prek.toml (local hooks only,
  including clang-format for C code)
- Pin lint tools (ruff==0.15.1, prek==0.3.3, clang-format==19.1.7)
- Upgrade ruff, remove stale UP038 ignore, fix lint/format violations
- Fix clang-format off/on markers in _vcztoolsmodule.c
- Rewrite CI workflows to use uv (astral-sh/setup-uv@v6)
- Migrate CD from Docker-based manylinux builds to cibuildwheel,
  adding macOS arm64/x86_64 wheel support
- Add [tool.cibuildwheel] config to pyproject.toml
- Remove .github/workflows/docker/ directory
- Add CONTRIBUTING.md and .github/dependabot.yml
@jeromekelleher
Copy link
Copy Markdown
Member Author

I think this is ready to go in @tomwhite - if we're happy to move to uv-based approach.

I'll need to do some follow-ups to make sure CD is working properly, as we've moved over to cibuildwheel and it'll need a bit of finessing. I'd also like to start supporting windows too, if at all possible.

Copy link
Copy Markdown
Member

@tomwhite tomwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @jeromekelleher. I've given it a quick look, and I'm happy for you to merge if everything is working from your point of view.

@jeromekelleher jeromekelleher mentioned this pull request Apr 1, 2026
@jeromekelleher jeromekelleher added this pull request to the merge queue Apr 1, 2026
Merged via the queue into sgkit-dev:main with commit a12a9f6 Apr 1, 2026
11 checks passed
@jeromekelleher jeromekelleher deleted the adopt-tskit-dev-admin-principles branch April 1, 2026 15:55
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.

2 participants