Skip to content

Fix package discovery in pyproject.toml#422

Merged
m-albert merged 1 commit intodask:mainfrom
avalentino:bugfix/package-discovery
Mar 4, 2026
Merged

Fix package discovery in pyproject.toml#422
m-albert merged 1 commit intodask:mainfrom
avalentino:bugfix/package-discovery

Conversation

@avalentino
Copy link
Contributor

Currently the published wheel includes the following packages:

  • continuous_integration
  • dask_image
  • dask_image-2025.11.0.dist.info
  • docs

This commit fixes the setuptools configuration for automatic package discovery to install only dask_image and sub-packages.

Currently the published wheel includes the following packages:

* continuous_integration
* dask_image
* dask_image-2025.11.0.dist.info
* docs

This commit fixes the setuptools configuration for automatic
package discovery to install only "dask_image" and sub-packages.
@avalentino avalentino force-pushed the bugfix/package-discovery branch from 099a44d to 9cefc3c Compare February 28, 2026 21:01
@avalentino avalentino changed the title Fix package discovery in pyproect.toml Fix package discovery in pyproject.toml Feb 28, 2026
@avalentino
Copy link
Contributor Author

The test failure seems to be unrelated

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the setuptools package discovery configuration in pyproject.toml so built wheels only include the dask_image package and its subpackages, preventing unrelated top-level directories (e.g., docs, continuous_integration) from being packaged.

Changes:

  • Switches from an exclude = ["tests*"]-only configuration to an explicit include = ["dask_image*"] package discovery pattern.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@m-albert
Copy link
Collaborator

m-albert commented Mar 4, 2026

Looks good to me! Indeed the test failures seem independent.

Thank you @avalentino !

@m-albert m-albert merged commit aeeb99f into dask:main Mar 4, 2026
11 of 19 checks passed
@avalentino
Copy link
Contributor Author

Thanks @m-albert

@avalentino avalentino deleted the bugfix/package-discovery branch March 5, 2026 07:01
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.

3 participants