Skip to content

Fix 3.5 packaging - #636

Merged
mistotebe merged 2 commits into
python-ldap:mainfrom
droideck:setuptools77-pin
Sep 7, 2026
Merged

mistotebe merged 2 commits into
python-ldap:mainfrom
droideck:setuptools77-pin

Conversation

@droideck

@droideck droideck commented Sep 7, 2026

Copy link
Copy Markdown
Member

Fixes #616, Fixes #615

The [project] table uses PEP 639 metadata (an SPDX license expression
plus license-files), which setuptools supports only from 77.0.0. With
setuptools 69-76 the table fails validation and the built sdist
carries broken metadata, the same failure class as the 3.4.5
"Name: unknown" sdist.

Refs python-ldap#616
The [install] section's compile/optimize flags leak into
bdist_wheel's internal install step and bake
slapdtest/__pycache__/*.opt-1.pyc files into locally built wheels.

Refs python-ldap#615
@droideck droideck added this to the 3.5.0 milestone Sep 7, 2026
@mistotebe
mistotebe merged commit 6eceb34 into python-ldap:main Sep 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants