Skip to content

[16.0][FIX] pin version of pysaml2 in tests for compatibility - #1033

Open
eLBati wants to merge 1 commit into
OCA:16.0from
eLBati:16.0-fix-pysaml2-test-pin
Open

eLBati wants to merge 1 commit into
OCA:16.0from
eLBati:16.0-fix-pysaml2-test-pin

Conversation

@eLBati

@eLBati eLBati commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

pysaml2 7.5.5 requires cryptography>=46.0.5 and pyopenssl>=26.0.0. When the CI installs it, pip replaces the cryptography and pyopenssl shipped with Odoo 16.0, urllib3 1.26 then fails to import, Odoo cannot load the base module and every test job fails.

Pin pysaml2 in the test requirements, as done for 17.0 (#1016) and 18.0 (#1017).

pysaml2 7.5.5 requires cryptography>=46.0.5 and pyopenssl>=26.0.0. When
the CI installs it, pip replaces the cryptography and pyopenssl shipped
with Odoo 16.0, urllib3 1.26 then fails to import, Odoo cannot load the
base module and every test job fails.

Pin pysaml2 in the test requirements, as done for 17.0 (OCA#1016) and 18.0
(OCA#1017).

Assisted-by: Claude Opus 5.5
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