Skip to content

Conversation

@santostelmo
Copy link
Member

@santostelmo santostelmo commented Nov 13, 2025

Aligning requirements with 17.0 version
https://github.com/camptocamp/odoo-cloud-platform/blame/17.0/requirements.txt

Following the error:
{"asctime": "2025-11-13 13:30:18,272", "pid": 1, "levelname": "ERROR", "dbname": "?", "name": "odoo.http", "message": "Exception during request handling.", "exc_info": "Traceback (most recent call last):\n File \"/odoo/src/odoo/http.py\", line 2229, in __call__\n request._post_init()\n File \"/odoo/src/odoo/http.py\", line 1398, in _post_init\n self.session, self.db = self._get_session_and_dbname()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/odoo/src/odoo/http.py\", line 1406, in _get_session_and_dbname\n session = root.session_store.get(sid)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/odoo/external-src/odoo-cloud-platform/session_redis/session.py\", line 89, in get\n saved = self.redis.get(key)\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/redis/client.py\", line 880, in get\n return self.execute_command('GET', name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/redis/client.py\", line 572, in execute_command\n connection.send_command(*args)\n File \"/usr/local/lib/python3.12/site-packages/redis/connection.py\", line 563, in send_command\n self.send_packed_command(self.pack_command(*args))\n File \"/usr/local/lib/python3.12/site-packages/redis/connection.py\", line 538, in send_packed_command\n self.connect()\n File \"/usr/local/lib/python3.12/site-packages/redis/connection.py\", line 439, in connect\n sock = self._connect()\n ^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/redis/connection.py\", line 685, in _connect\n sock = ssl.wrap_socket(sock,\n ^^^^^^^^^^^^^^^\nAttributeError: module 'ssl' has no attribute 'wrap_socket'", "taskName": null, "perf_info": "", "request_id": "d7f6be79-9013-441d-a423-9985a5b9b06f", "uid": null}

Copy link
Member

@leemannd leemannd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have these requirements into the base docker odoo image -> https://github.com/camptocamp/docker-odoo-project/blob/release-4.5.X/16.0/platform_requirements.txt

# Odoo external services dependencies
## PLATFORM
redis==6.2.*
python-json-logger==3.3.*
prometheus-client==0.22.*

# PLATFORM, for azure blob storage
azure-storage-blob==12.16.*
azure-identity==1.13.*

Copy link
Member

@leemannd leemannd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are now pinned into the base image also

@Ricardoalso
Copy link

Why are we dropping the versions and not aligning with https://github.com/camptocamp/docker-odoo-project/blob/release-4.5.X/16.0/platform_requirements.txt 🤔

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.

5 participants