You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the build backend to fail, due to it lacking any useful configuration, rather than succeeding in building a package that is empty except for placeholder metadata.
This may be a duplicate of #2329, but that one was specifically scoped to build_meta:__legacy__, and all of the discussion was about the legacy backend. In this case, you can see that the same issue occurs even with the PEP 517 backend.
How to Reproduce
See description
Output
See description
Code of Conduct
I agree to follow the PSF Code of Conduct
The text was updated successfully, but these errors were encountered:
pradyunsg
changed the title
setuptools.build_meta proceeds with no setup.py or setup.cfg [BUG]
[BUG] setuptools.build_meta proceeds with no setup.py or setup.cfg
Oct 15, 2021
setuptools version
setuptools==58.1.0
Python version
Python 3.9
OS
Linux
Additional environment information
No response
Description
Running
pip install .
in a directory that contains nothing but apyproject.toml
with these contents:successfully installs a distribution containing no modules or packages and no useful metadata:
Expected behavior
I would expect the build backend to fail, due to it lacking any useful configuration, rather than succeeding in building a package that is empty except for placeholder metadata.
This may be a duplicate of #2329, but that one was specifically scoped to
build_meta:__legacy__
, and all of the discussion was about the legacy backend. In this case, you can see that the same issue occurs even with the PEP 517 backend.How to Reproduce
See description
Output
See description
Code of Conduct
The text was updated successfully, but these errors were encountered: