Skip to content

fix(presets): replace pyldap with python-ldap for Odoo 12#72

Closed
trisdoan wants to merge 1 commit intomainfrom
fix/odoo-12-pyldap
Closed

fix(presets): replace pyldap with python-ldap for Odoo 12#72
trisdoan wants to merge 1 commit intomainfrom
fix/odoo-12-pyldap

Conversation

@trisdoan
Copy link
Copy Markdown
Collaborator

@trisdoan trisdoan commented Mar 20, 2026

Summary

Replace unmaintained pyldap==2.4.28 with python-ldap to fix build failures on OpenLDAP 2.5+.

pyldap fails because libldap_r was merged into libldap in OpenLDAP 2.5, breaking the build. python-ldap is the upstream LDAP library Odoo 13+ already adopted.

@trisdoan trisdoan force-pushed the fix/odoo-12-pyldap branch 7 times, most recently from e3fe303 to 2e673e8 Compare March 25, 2026 03:08
pyldap==2.4.28 fails to build on OpenLDAP 2.5+ (libldap_r merged into libldap).
Replace with python-ldap, the upstream project Odoo 13+ already uses.
Adds migration script per CI requirements for presets.toml changes.
@trisdoan trisdoan force-pushed the fix/odoo-12-pyldap branch from 2e673e8 to 2aad564 Compare March 25, 2026 03:21
@trisdoan trisdoan marked this pull request as ready for review March 25, 2026 03:22
@trisdoan
Copy link
Copy Markdown
Collaborator Author

Superseded by #76

@trisdoan trisdoan closed this Mar 25, 2026
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