File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ Using ``--config-settings `` with projects that don't have a ``pyproject.toml `` now print
2
+ a deprecation warning. In the future the presence of config settings will automatically
3
+ enable the default build backend for legacy projects and pass the setttings to it.
Original file line number Diff line number Diff line change @@ -477,6 +477,15 @@ def load_pyproject_toml(self) -> None:
477
477
)
478
478
479
479
if pyproject_toml_data is None :
480
+ if self .config_settings :
481
+ deprecated (
482
+ reason = f"Config settings are ignored for project { self } ." ,
483
+ replacement = (
484
+ "to use --use-pep517 or add a "
485
+ "pyproject.toml file to the project"
486
+ ),
487
+ gone_in = "23.3" ,
488
+ )
480
489
self .use_pep517 = False
481
490
return
482
491
You can’t perform that action at this time.
0 commit comments