Skip to content

Conversation

neilsh
Copy link

@neilsh neilsh commented Mar 24, 2025

Setuptools v78.0.0 started enforcing the following deprecation: https://setuptools.pypa.io/en/stable/history.html#v78-0-0

Setuptools no longer accepts options containing uppercase or dash characters in setup.cfg. Please ensure to write the options in setup.cfg using the lower_snake_case convention (e.g. Name => name, install-requires => install_requires). This is a follow-up on deprecations introduced in v54.1.0 (see #1608) and v54.1.1 (see #2592).

Without this fix, trying to install treelib with the new setuptools version will yield the following error:

setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.

Setuptools v78.0.0 started enforcing the following deprecation: https://setuptools.pypa.io/en/stable/history.html#v78-0-0

> Setuptools no longer accepts options containing uppercase or dash characters in setup.cfg. Please ensure to write the options in setup.cfg using the lower_snake_case convention (e.g. Name => name, install-requires => install_requires). This is a follow-up on deprecations introduced in v54.1.0 (see #1608) and v54.1.1 (see #2592).

Without this fix, trying to install treelib with the new setuptools version will yield the following error:
```
setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.
```
@neilsh neilsh requested a review from liamlundy as a code owner March 24, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant