Skip to content

Fix setuptools dashes into underscore #384

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

Merged
merged 2 commits into from
Apr 15, 2025
Merged

Conversation

laf-rge
Copy link
Contributor

@laf-rge laf-rge commented Mar 24, 2025

python 3.13 setuptools v 69 changed the following warning into an error:


Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.

This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.

See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.


@laf-rge
Copy link
Contributor Author

laf-rge commented Mar 24, 2025

For those who run into this issue and you need to work around it in my docker compose for my project I did:
`# Install build dependencies
RUN pip3 install --no-cache-dir "setuptools==68.0.0" wheel

Now install the rest of the requirements without build isolation to use older setuptools

RUN pip3 install --no-build-isolation -r requirements.txt`

@romeroyonatan
Copy link
Contributor

description-file is not supported by setuptools, we can remove it pypa/setuptools#4913

@ej2 ej2 changed the base branch from master to 0.9.12 April 15, 2025 23:45
@ej2 ej2 merged commit 0145226 into ej2:0.9.12 Apr 15, 2025
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.

4 participants