Entry [tool.setuptools.packages.find] in pyproject.toml is ignored #3346
-
As described here: pypa/build#481 I'm trying to build a package without the test files using
Followed by the
Yet, the Also on a sidenote, does the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 16 replies
-
Hi @mscheltienne thank you very much for reporting this. Unfortunately, although in theory I know how to solve this problem, I cannot implement a solution straight away since it requires changing behaviour that other people might currently rely on. So we need to go through a deprecation cycle first (#3308). You mentioned that you tried removing
In theory, a project builder like There might be some edge cases though:
So in the end of the day is a matter of risk assessment... If you believe that the chance of users running in one edge case is low enough, you might simply skip the version constraint. |
Beta Was this translation helpful? Give feedback.
-
Hello there! In my case:
I also don't have an easy way to check if "all of the necessary files" are included, unless I have good testing that runs in isolation, and then "some kind of integration/e2e tests" (e.g., for the Dash/Flask framework that I am using) - even if I had an On another note,
when does that end? Depreciation notice was at v62.3.0, now we have v67.2.0 |
Beta Was this translation helpful? Give feedback.
Hi @mscheltienne thank you very much for reporting this.
There is already an issue that covers this problem in #3260.
Unfortunately, although in theory I know how to solve this problem, I cannot implement a solution straight away since it requires changing behaviour that other people might currently rely on. So we need to go through a deprecation cycle first (#3308).
You mentioned that you tried removing
include-package-data = true
and it did not work. Have you tried settinginclude-package-data = false
? Inpyproject.toml
the default value ofinclude-package-data
istrue
...In theory,…