-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] setuptools.build_meta proceeds with no setup.py or setup.cfg #2799
Labels
Comments
godlygeek
added
bug
Needs Triage
Issues that need to be evaluated for severity and status.
labels
Sep 22, 2021
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
This was referenced Oct 15, 2021
jaraco
added
duplicate
enhancement
and removed
bug
Needs Triage
Issues that need to be evaluated for severity and status.
labels
Oct 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: