CI should capture bug that a folder don't have __init__.py but want to include it as a Python package #1608
Labels
CI
feature-request
This issue requires a new behavior in the product in order be resolved.
OKR3.2 Candidate
Milestone
Extension name (the extension in question)
portal
Description of issue (in as much detail as possible)
If a folder don't have a __init__.py and use
find_packages()
in setup.py, then the build tool won't regard it as a valid Python Package, the the built wheel won't pack it into the wheel file.For example this warning from Azure/azure-cli PR stage:
it's caused by the
portal
extension which doesn't have a __init__.py undersrc/portal/azext_portal/generated/
CI should block and give warning
The text was updated successfully, but these errors were encountered: