Skip to content

Conversation

@saboya
Copy link

@saboya saboya commented Mar 24, 2025

This package's setup.cfg file seems to be incompatbile with the latest setuptools release:
https://setuptools.pypa.io/en/stable/history.html#v78-0-0

This is causing issues when installing project dependencies using poetry for example, as we get this error:

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

@saboya
Copy link
Author

saboya commented Mar 24, 2025

If anyone finds this helpful, this is what helped me using poetry in a Dockerfile:

# Create a constraints file to limit setuptools version
RUN echo "setuptools<78" > /constraints.txt

# Set the PIP_CONSTRAINT environment variable to the constraints file
ENV PIP_CONSTRAINT=/constraints.txt

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