Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add pycurl and libcurl dependencies to fix Celery worker issues (#17345)
Mario Gomes5f122d729d6a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3d875633e0..155c51a5ee 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -59,3 +59,4 @@ All notable, unreleased changes to this project will be documented in this file.- Fix checkout funds releasing task - #17198 by @IKarbowiak- Fixed 'healthcheck' middleware (`/health/` endpoint) not forwarding incoming traffic whenever the protocol wasn't HTTP (such as WebSocket or Lifespan) - #17248 by @NyanKiyoshi- Added support for the AWS_S3_URL_PROTOCOL environment variable - #17305 by @p-febis+- Fixed pycurl dependency and required system libraries to fix Celery worker issues when using SQS by @mariobrgomesdiff --git a/Dockerfile b/Dockerfileindex e5b9ded58b..e289ecbee5 100644--- a/Dockerfile+++ b/Dockerfile@@ -3,6 +3,7 @@ FROM python:3.12 AS build-pythonRUN apt-get -y update \&& apt-get install -y gettext \+ libcurl4-openssl-dev libssl-dev \# Cleanup apt cache&& apt-get clean \&& rm -rf /var/lib/apt/lists/*@@ -30,6 +31,7 @@ RUN apt-get update \libtiff6 \libwebp7 \libpq5 \+ libcurl4 \shared-mime-info \mime-support \&& apt-get clean \diff --git a/pyproject.toml b/pyproject.tomlindex 36c98e4c13..4d970ecc57 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -64,6 +64,7 @@ package-mode = falseprices = "^1.0"promise = "^2.3"pybars3 = "^0.9.7"+ pycurl = "^7.45.0"pyjwt = "^2.10.1"python-dateutil = "^2.8.2"python-http-client = "^3.3.7"@@ -144,7 +145,7 @@ extend_exclude = ["conftest\\.py", ".*/conftest\\.py", ".*/tests/.*"][tool.deptry.per_rule_ignores]DEP001 = ["pkg_resources"]- DEP002 = ["azure-common", "azure-storage-blob", "azure-storage-common", "django-redis", "psycopg", "pyxb"]+ DEP002 = ["azure-common", "azure-storage-blob", "azure-storage-common", "django-redis", "psycopg", "pyxb", "pycurl"][tool.django-stubs]django_settings_module = "saleor.settings"