Skip to content

Conversation

@pedro-psb
Copy link
Member

Support for PEP625 was added in setuptools 69.3.0. There is also a fix for name normalization in 70.2.0.

The generated clients generates pyproject and setup.py files, but it doesnt specifiy the required setuptools version.
I suspect it could possibly be using a setuptools version for the build which doesnt know how to generate the normalized names.

Furthermore, we were building the client using python setup.py, which is deprecated for quite some time now. Just switcthing to use python -m build fixed the name. Possibly build uses a more appropriate setuptools version.

Also opened a pulp-openapi-generator PR to test, but just replacing python setup.py seems to do the trick.

Copy link
Contributor

@ggainey ggainey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@ggainey ggainey merged commit 4d440f7 into pulp:main Oct 21, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants