Skip to content

Fix setuptools deprecation warnings #10300

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

Merged
merged 5 commits into from
May 23, 2025
Merged

Conversation

gcaria
Copy link
Contributor

@gcaria gcaria commented May 9, 2025

@max-sixty max-sixty added the plan to merge Final call for comments label May 9, 2025
Copy link
Collaborator

@max-sixty max-sixty left a comment

Choose a reason for hiding this comment

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

top stuff is great (can merge that now if you prefer), I think we can be more standard for the setuptools work

pyproject.toml Outdated
include-package-data = false

[tool.setuptools.package-data]
"*" = ["*.py"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we need something like this:

[tool.setuptools.packages.find]
include = ["xarray*"]

...since that change will preclude *.pyi files...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah yes! I had definitely misinterpreted the original issue

@max-sixty
Copy link
Collaborator

thanks @gcaria !

@max-sixty max-sixty enabled auto-merge (squash) May 19, 2025 20:48
@max-sixty
Copy link
Collaborator

(feel free to add whatsnew entries for these in a separate PR!)

@max-sixty max-sixty merged commit cd3e98e into pydata:main May 23, 2025
31 checks passed
@kmuehlbauer
Copy link
Contributor

Thanks @gcaria! @max-sixty's above suggestion is still valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setuptools deprecation warnings
3 participants