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

Clarify default file selection for wheels #1015

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Clarify default file selection for wheels #1015

merged 1 commit into from
Oct 26, 2023

Conversation

Hnasar
Copy link
Contributor

@Hnasar Hnasar commented Oct 26, 2023

The sentence was previously ambiguous and wasn't clear whether the "Python" adjective referred to the "file" noun as well.

In fact all non-.py files are included, so reword slightly to better clarify.

The sentence was previously ambiguous and wasn't clear whether the "Python" adjective referred to the "file" noun as well.

In fact all non-.py files are included, so reword slightly to better clarify.
Copy link
Collaborator

@ofek ofek left a comment

Choose a reason for hiding this comment

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

Thanks! FYI based on feedback I will change this fallback to actually produce an error instead. What do you think about that?

@ofek ofek merged commit 3859562 into pypa:master Oct 26, 2023
39 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 26, 2023
The sentence was previously ambiguous and wasn't clear whether the "Python" adjective referred to the "file" noun as well.

In fact all non-.py files are included, so reword slightly to better clarify. 3859562
@Hnasar
Copy link
Contributor Author

Hnasar commented Oct 26, 2023

@ofek I think the current behavior is preferabl because this way hatch matches the behavior of pdm and poetry -- they include all files within python package dirs by default. Also this is what setuptools now defaults to as long as you're using pyproject.toml and have setuptools-scm installed.

@Julian
Copy link

Julian commented Oct 31, 2023

I don't think this rewording is correct -- the reason I filed #992 was precisely because non-Python files are not included. Can you perhaps say more about where you observe this behavior @Hnasar?

ofek added a commit that referenced this pull request Oct 31, 2023
ofek added a commit that referenced this pull request Oct 31, 2023
Revert "Clarify default file selection for wheels (#1015)"

This reverts commit 3859562.
github-actions bot pushed a commit that referenced this pull request Oct 31, 2023
Revert "Clarify default file selection for wheels (#1015)"

This reverts commit 3859562. 8cf7f40
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