Skip to content

Clarify default file selection for wheels#1015

Merged
ofek merged 1 commit into
pypa:masterfrom
Hnasar:patch-1
Oct 26, 2023
Merged

Clarify default file selection for wheels#1015
ofek merged 1 commit into
pypa:masterfrom
Hnasar:patch-1

Conversation

@Hnasar
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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
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
Copy Markdown
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
Copy Markdown

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