feast
feast copied to clipboard
build: `tool.setuptools.namespaces = false`
What this PR does / why we need it:
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#custom-discovery https://github.com/feast-dev/feast/blob/master/setup.py
Based on the documentation and following the setup.py that was based on, the namespace = false should be set in [tool.setuptools]
- In
setup.py,find_packageswas used instead offind_namespace_packages - This will ensure that the
docsandrequirementsfolder are not errorneously included in the feast package - Part of the reason why I want this is that the
requirements.txtfiles in therequirementsfolder is being flagged out to contain vulnerable versions in container scans- This causes false positives in vulnerability notifications
- I'm also facing issues with vulnerabilities being flagged out due to versions in the package.json in the
sdk/python/ui/package.jsonand the Dockerfiles insdk/python/feast/infra/feature_servers/multicloud, but do not have any suggestions yet.- My sense is that
sdk/python/uishould not be included in the python package, but I'm not sure what exactly is it's purpose and who uses it right now
- My sense is that