Regression: sdists no longer install package data correctly with 35.0.0
See original GitHub issueProblem description
I have a package that uses setuptools_scm
and include_package_data=True
to include some Django templates and static files.
With setuptools 34.4.1, installing an sdist will install these package data files without any problems. However, with setuptools 35.0.0, installing the same sdist file will no longer install these package data files.
Note:
- Only installing sdists seem to be affected by this problem. In particular:
- Generating sdists seems unaffected: both setuptools 34 and 35 generate sdists with the same (correct) distribution content and
SOURCES.txt
. - Installing sdists previously generated with either setuptools version works correctly with 34.4.1, and fails with 35.0.0.
- Generating sdists seems unaffected: both setuptools 34 and 35 generate sdists with the same (correct) distribution content and
- Wheels seem to be unaffected by this, and build and install fine with both setuptools 34 and 35.
Cause?
As far as I can tell, this regression is due to #436 / #1014, which no longer reads the sdist package’s existing manifest. When the manifest gets regenerated (?), the files that were previously included by setuptools_scm
while building the sdist are no longer included anymore.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
data.table package in R 3.5 does not install - Stack Overflow
RTools35.exe IS compatable with R 3.5.0 and will install data.table once it is installed correctly. I'm using the CRAN versions of data.table ...
Read more >setuptools 3.7.1 - PyPI
Easily download, build, install, upgrade, and uninstall Python packages. ... The sdist command no longer uses the traditional MANIFEST file to create source ......
Read more >R Installation | Data Science Workshops
Troubleshooting tidyverse installation · Solution: run this command in the console at the command prompt ( > ): · install.packages("dplyr") · If a...
Read more >olsrr package - RDocumentation
The olsrr package provides following tools for building OLS regression models using R: Comprehensive Regression Output; Variable Selection ...
Read more >How to Download & Install R Packages - DataCamp
Find an introduction to R packages. Based on the 11 most frequently asked questions about R. See how you can download & install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, now we know. The quick fix is to revert the change. The better fix would be to also write a test to capture this expectation.
I went ahead and pulled in the commit. Thanks for putting it together and presenting it in such an accessible way.