Skip to content

fix(ci): handle multi-feature default array in python stripping#1285

Merged
chaliy merged 1 commit intomainfrom
fix/publish-python-stripping
Apr 14, 2026
Merged

fix(ci): handle multi-feature default array in python stripping#1285
chaliy merged 1 commit intomainfrom
fix/publish-python-stripping

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 14, 2026

Summary

  • Fix sed pattern for stripping "python" from default features array — old pattern only matched ["python"] but actual value is ["python", "interactive"]
  • Strip python_external_functions example block (was only stripping python_scripts)

This fixes the v0.1.18 crates.io publish failure: feature 'default' includes 'python' which is neither a dependency nor another feature

The sed pattern `default = ["python"]` didn't match
`default = ["python", "interactive"]`, leaving a dangling reference
that broke cargo publish. Use a generic pattern that removes "python"
from any position in the array. Also strip the python_external_functions
example block.
@chaliy chaliy merged commit 068263e into main Apr 14, 2026
11 checks passed
@chaliy chaliy deleted the fix/publish-python-stripping branch April 14, 2026 04:53
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