10000 Got error instead warning (dash->underscore) · Issue #135 · MIC-DKFZ/batchgenerators · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Got error instead warning (dash->underscore) #135

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

Closed
Joeycho opened this issue Mar 24, 2025 · 2 comments
Closed

Got error instead warning (dash->underscore) #135

Joeycho opened this issue Mar 24, 2025 · 2 comments

Comments

@Joeycho
Copy link
Joeycho commented Mar 24, 2025

description-file = README.md

File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 629, in _enforce_underscore
28.33           raise InvalidConfigError(
28.33       setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.

Caused by this commit in setuptools:
pypa/setuptools@88bee15

Introduced in 78.0.0 version setuptools.

We have to enforce the setuptools version in nnUNet, nnInteractive or replace '-' with '_'

@FabianIsensee
Copy link
Member

I was unable to reproduce your error with setuptools==78.0.2
But fixed it anyways 👍

@joshuacwnewton
Copy link
joshuacwnewton commented Mar 25, 2025

For added context, it looks like this issue was specific to setuptools==78.0.1:

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

No branches or pull requests

3 participants
0