uranusjr edited a comment on pull request #16577:
URL: https://github.com/apache/airflow/pull/16577#issuecomment-865906553


   Thanks for the clarification. Excluding the file from sdist sounds 
reasonable to me from the justification above, so +1 to this PR on its own. The 
only remaining issue I have is why `compile_assets.sh` is currently included in 
*wheels* right now (it shouldn’t since it’s not listed in `package_data`), and 
why this PR can successfully exclude the file (it shouldn’t since MANIFEST.in 
is not supposed to affect wheel content without `include_package_data` set). 
There are probably some weird setuptools mechanisms I’m not understanding 
correctly, I will need to dig into it more.
   
   Edit: Oh wait we do have `include_package_data` set. I missed that since 
that line was declared far away from `package_data`, and it is generally 
problematic to declare both `package_data` and `include_package_data` together 
so I naively assumed we didn’t have `include_package_data = true` when I saw 
`package_data` 🤦
   
   I will probably work on cleaning up the configs then.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to