Skip to content

[18.0][IMP] storage_backend_s3: cryptography library issue#595

Draft
CRogos wants to merge 1 commit intoOCA:18.0from
c4a8-odoo:18.0-fix-pip-joserfc
Draft

[18.0][IMP] storage_backend_s3: cryptography library issue#595
CRogos wants to merge 1 commit intoOCA:18.0from
c4a8-odoo:18.0-fix-pip-joserfc

Conversation

@CRogos
Copy link
Copy Markdown
Contributor

@CRogos CRogos commented Apr 21, 2026

Addresses: https://github.com/OCA/storage/actions/runs/24678824138/job/72170222070

2026-04-21 13:59:50,235 313 CRITICAL ? odoo.modules.module: Couldn't load module base 
2026-04-21 13:59:50,237 313 ERROR ? odoo.service.server: Failed to load server-wide module `base`. 
Traceback (most recent call last):
  File "/opt/odoo/odoo/service/server.py", line 1312, in load_server_wide_modules
    odoo.modules.module.load_openerp_module(m)
  File "/opt/odoo/odoo/modules/module.py", line 384, in load_openerp_module
    __import__(qualname)
  File "/opt/odoo/odoo/addons/base/__init__.py", line 5, in <module>
    from . import models
  File "/opt/odoo/odoo/addons/base/models/__init__.py", line 22, in <module>
    from . import ir_mail_server
  File "/opt/odoo/odoo/addons/base/models/ir_mail_server.py", line 15, in <module>
    import OpenSSL
  File "/opt/odoo-venv/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/opt/odoo-venv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1579, in <module>
    class X509StoreFlags(object):
  File "/opt/odoo-venv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1598, in X509StoreFlags
    NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'

@OCA-git-bot OCA-git-bot added series:18.0 mod:storage_backend_s3 Module storage_backend_s3 labels Apr 21, 2026
@CRogos CRogos changed the title [IMP] storage_backend_s3: Set joserfc version to 1.6.3 [18.0][IMP] storage_backend_s3: Set joserfc version to 1.6.3 Apr 21, 2026
@CRogos CRogos force-pushed the 18.0-fix-pip-joserfc branch from 41b29f6 to 8ffad8f Compare April 21, 2026 17:36
@CRogos
Copy link
Copy Markdown
Contributor Author

CRogos commented Apr 21, 2026

@sbidoul could you have a look on this? The tests workflow is failing in this repository due to some library dependency issues related to cryptography.

This PR fixes the problem, but I am sure this is not the correct solution and I remember you as a python library pro :) .

Thank you in advance.

@CRogos CRogos changed the title [18.0][IMP] storage_backend_s3: Set joserfc version to 1.6.3 [18.0][IMP] storage_backend_s3: cryptography library issue Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:storage_backend_s3 Module storage_backend_s3 series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants