Skip to content

Tmp#77

Draft
trisdoan wants to merge 3 commits intomainfrom
tmp
Draft

Tmp#77
trisdoan wants to merge 3 commits intomainfrom
tmp

Conversation

@trisdoan
Copy link
Copy Markdown
Collaborator

No description provided.

@trisdoan trisdoan force-pushed the tmp branch 9 times, most recently from 3391000 to bb1ec77 Compare March 25, 2026 07:44
trisdoan added 2 commits April 2, 2026 16:34
Add mode-based overrides to fix OpenSSL 3.x incompatibility (Ubuntu
24.04+) when creating venvs with OCA addons for Odoo 12-17.

Conservative mode: exact pins per Odoo range
- Odoo 12-14: pyopenssl==22.1.0 + cryptography==38.0.4 (OCA caps)
- Odoo 15-17: pyopenssl>=24.0.0 + cryptography>=41.0.5

Modern mode: floor versions for all Odoo 12-17, resolver picks latest.

Migrate urllib3 override from presets.toml to modes.toml with corrected
scope (odoo_version >= 15.0 + python_version < 3.12).
Add dependency overrides to handle python-ldap/pyldap compatibility
issues
across Odoo versions due to OpenLDAP 2.5+ removing libldap_r:

- Odoo 12: Replace unmaintained pyldap with python-ldap>=3.4.2
- Odoo 13-17: Bump python-ldap 3.4.0 to >=3.4.2 (3.4.0 hardcodes
-lldap_r)
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