Voice et bot modif

This commit is contained in:
pi 2026-06-16 17:09:34 +00:00
parent 189d56026b
commit 7333a22bcd
10774 changed files with 634644 additions and 933308 deletions

View file

@ -134,6 +134,15 @@ def read_configuration(
if "ext-modules" in setuptools_table:
_ExperimentalConfiguration.emit(subject="[tool.setuptools.ext-modules]")
fields = ("import-names", "import-namespaces")
places = (project_table, project_table.get("dynamic", []))
if any(field in place for field in fields for place in places):
raise NotImplementedError(
"Setuptools does not support `import-names` and `import-namespaces`"
" in `pyproject.toml` yet. If your are interested in this feature, "
" please consider submitting a contribution via pull requests."
)
with _ignore_errors(ignore_option_errors):
# Don't complain about unrelated errors (e.g. tools not using the "tool" table)
subset = {"project": project_table, "tool": {"setuptools": setuptools_table}}