Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rewriting workspace Cargo.toml in sdist #1841

Merged
merged 1 commit into from Nov 8, 2023

Conversation

messense
Copy link
Member

@messense messense commented Nov 8, 2023

if the main workspace Cargo.toml is also a path dependency manifest, we need to defer adding it to sdist to make sure we have rewritten its members field.

Closes #1837

if the main workspace Cargo.toml is also a path dependency manifest,
we need to defer adding it to sdist to make sure we have rewritten
its `members` field.
@messense messense added the sdist Source distribution label Nov 8, 2023
Copy link

netlify bot commented Nov 8, 2023

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 1bd2563
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/654b8596cbd0bb0008470f9d
😎 Deploy Preview https://deploy-preview-1841--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@messense messense merged commit e57405b into PyO3:main Nov 8, 2023
26 of 27 checks passed
@messense messense deleted the fix-sdist-workspace-cargo-toml branch November 8, 2023 13:31
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Nov 15, 2023
https://build.opensuse.org/request/show/1126453
by user mia + anag+factory
- Update to 1.3.2
  * Switch to Ruff formatter
    gh#PyO3/maturin#1817
  * Upgrade ring to 0.17
    gh#PyO3/maturin#1819
  * Un-deprecate MATURIN_PEP517_ARGS env var
    gh#PyO3/maturin#1820
  * Add support for uniffi library mode
    gh#PyO3/maturin#1729
  * Fix missing member in Cargo.toml for sdist of nested workspace
    layout
    gh#PyO3/maturin#1828
  * Metadata: escape display name in email addresses
    gh#PyO3/maturin#1832
  * Fix rewriting workspace Cargo.toml in sdist
    gh#PyO3/maturin#1841
  * Fix glob workspace members matching in sdist
    gh#PyO3/maturin#1846
  * Add sdist tests for well-known downstream repositories
    gh#PyO3/maturin#1849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdist Source distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maturin 1.3 produces invalid source distributions for workspace packages
1 participant