Skip to content

Conversation

@justrach
Copy link
Owner

Summary

  • Fixes the sdist build failure caused by missing pyproject.toml at project root
  • Maturin requires pyproject.toml at the root directory for sdist builds
  • The wheel now includes Python source via python-source = "python" configuration

Changes

  • Moved python/pyproject.toml to root pyproject.toml
  • Updated CI workflow to use the maturin-built wheel (which now includes Python source)
  • Updated release workflow to reference the new pyproject.toml location

Test plan

  • CI passes all tests (lint, rust tests, python tests, free-threaded tests, build checks)
  • sdist build succeeds
  • Wheel build succeeds and includes Python source code

- Move pyproject.toml from python/ to project root
- Maturin requires pyproject.toml at root for sdist builds
- Update CI workflow to use maturin-built wheel (includes Python source)
- Update release workflow to reference root pyproject.toml
- Configure maturin to use python/ as python-source directory

Generated with AI

Co-Authored-By: AI <ai@example.com>
@justrach justrach merged commit 36ef33d into main Jan 25, 2026
11 checks passed
@justrach justrach deleted the fix/sdist-pyproject-toml branch January 25, 2026 10: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