-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
.tmpl files missing in new release .tar.gz #2498
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
Comments
Oh, that's interesting and unexpected. It's almost certainly related to the move to the skeleton (#2486). It's also a little surprising that the sdist is now a .tar.gz, but not so surprising given that pep517 is likely intentionally disregarding the project's preference. |
Also, FYI, in #2500, that release is releasing with the proper version number (v51.1.0). |
Also, I note this issue might have been caught earlier if not for the blockers in #2318. |
Looking at 957b7a1, I just don't see what change might have caused this new behavior. |
I have confirmed that commit is implicated. Building the package with pep517 on the parent commit (30b66d8), the .tmpl files are included. |
It seems it's this option. Removing it allows the file to be included. Seriously, how is it that including package data would cause files to be excluded? :( |
Looks like this project got bit by #1461. |
https://setuptools.readthedocs.io/en/latest/userguide/datafiles.html and https://setuptools.readthedocs.io/en/latest/userguide/quickstart.html#including-data-files seem to imply that |
@jaraco also, I invite you to review https://github.com/pypa/packaging.python.org/pull/761/files. |
I did observe that there's nothing in MANIFEST.in that would include the .tmpl files, but the manifest template did not change... so it seems that the presence of that also cause the exclusion of files that would have been picked up by |
The docs suggest using the |
Tests once again pass on an extract of the sdist.
With this latest commit, I ran |
@jaraco if you suspect this is happening because of the isolation, I suggest trying out python-build's no isolation mode. |
setuptools-51.1.0.post20201221.tar.gz
seems to be missing the.tmpl
files. As a result, tests fail:The text was updated successfully, but these errors were encountered: