Skip to content

[MNT] remove extraneous material from package wheel - #588

Merged
fkiraly merged 2 commits into
mainfrom
exclude-stuff
Aug 25, 2026
Merged

[MNT] remove extraneous material from package wheel#588
fkiraly merged 2 commits into
mainfrom
exclude-stuff

Conversation

@fkiraly

@fkiraly fkiraly commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Mirror of sktime/sktime#10891
Explicitly excludes folders from repository root that should not be shipped with release package wheels:

  • build_tools (for maintainers only)
  • docs (for developers with a clone only)
  • examples (consumption via clone, binder/colab resp online docs only)

Mechanism: changing to explicit include (also future-proof) as opposed to widening exclude statement, in tool.setuptools.packages.find.

Copilot AI lite review requested due to automatic review settings August 25, 2026 12:15
@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the setuptools package discovery configuration to ensure only the skbase Python packages are included in built wheels, preventing repository-root maintenance/developer folders from being accidentally shipped.

Changes:

  • Switches tool.setuptools.packages.find from an exclude-list to an explicit include-list (skbase / skbase.*) to future-proof wheel contents.
  • Updates tool.setuptools.package-data to target skbase and narrows the listed data file patterns.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@fkiraly
fkiraly merged commit 80d8a76 into main Aug 25, 2026
15 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Continuous integration, unit testing & package distribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants