From e1900fc776c7e4c3b1df3e60db525c9c50880c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20Poyatos?= Date: Tue, 3 Feb 2026 11:03:11 +0100 Subject: [PATCH] fix(api): bump outdated versions (#9950) --- api/poetry.lock | 37 ++++++++++--------------------------- api/pyproject.toml | 6 +++--- 2 files changed, 13 insertions(+), 30 deletions(-) diff --git a/api/poetry.lock b/api/poetry.lock index 277279db3e..8802295a76 100644 --- a/api/poetry.lock +++ b/api/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. [[package]] name = "about-time" @@ -1918,7 +1918,6 @@ click-didyoumean = ">=0.3.0" click-plugins = ">=1.1.1" click-repl = ">=0.2.0" kombu = ">=5.6.0" -pytest-celery = {version = ">=1.2.0,<1.3.0", extras = ["all"], optional = true, markers = "extra == \"pytest\""} python-dateutil = ">=2.8.2" tzlocal = "*" vine = ">=5.1.0,<6.0" @@ -7570,19 +7569,15 @@ files = [ ] [package.dependencies] -boto3 = {version = "*", optional = true, markers = "extra == \"all\" or extra == \"sqs\""} -botocore = {version = "*", optional = true, markers = "extra == \"all\" or extra == \"sqs\""} celery = "*" debugpy = ">=1.8.12,<2.0.0" docker = ">=7.1.0,<8.0.0" kombu = "*" psutil = ">=7.0.0" pytest-docker-tools = ">=3.1.3" -python-memcached = {version = "*", optional = true, markers = "extra == \"all\" or extra == \"memcached\""} redis = {version = "*", optional = true, markers = "extra == \"all\" or extra == \"redis\""} setuptools = {version = ">=75.8.0", markers = "python_version >= \"3.9\" and python_version < \"4.0\""} tenacity = ">=9.0.0" -urllib3 = {version = ">=1.26.16,<2.0", optional = true, markers = "extra == \"all\" or extra == \"sqs\""} [package.extras] all = ["boto3", "botocore", "python-memcached", "redis", "urllib3 (>=1.26.16,<2.0)"] @@ -7754,19 +7749,6 @@ files = [ jsonpickle = "*" requests = "*" -[[package]] -name = "python-memcached" -version = "1.62" -description = "Pure python memcached client" -optional = false -python-versions = "*" -groups = ["main"] -markers = "platform_system == \"Windows\" or platform_system == \"Darwin\" or platform_system == \"Linux\" or platform_system != \"Windows\" and platform_system != \"Darwin\" and platform_system != \"Linux\" or sys_platform != \"win32\"" -files = [ - {file = "python-memcached-1.62.tar.gz", hash = "sha256:0285470599b7f593fbf3bec084daa1f483221e68c1db2cf1d846a9f7c2655103"}, - {file = "python_memcached-1.62-py2.py3-none-any.whl", hash = "sha256:1bdd8d2393ff53e80cd5e9442d750e658e0b35c3eebb3211af137303e3b729d1"}, -] - [[package]] name = "python3-saml" version = "1.16.0" @@ -8966,21 +8948,22 @@ files = [ [[package]] name = "urllib3" -version = "1.26.20" +version = "2.6.3" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" +python-versions = ">=3.9" groups = ["main", "dev"] markers = "platform_system == \"Windows\" or platform_system == \"Darwin\" or platform_system == \"Linux\" or platform_system != \"Windows\" and platform_system != \"Darwin\" and platform_system != \"Linux\" or sys_platform != \"win32\"" files = [ - {file = "urllib3-1.26.20-py2.py3-none-any.whl", hash = "sha256:0ed14ccfbf1c30a9072c7ca157e4319b70d65f623e91e7b32fadb2853431016e"}, - {file = "urllib3-1.26.20.tar.gz", hash = "sha256:40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32"}, + {file = "urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"}, + {file = "urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed"}, ] [package.extras] -brotli = ["brotli (==1.0.9) ; os_name != \"nt\" and python_version < \"3\" and platform_python_implementation == \"CPython\"", "brotli (>=1.0.9) ; python_version >= \"3\" and platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; (os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation != \"CPython\"", "brotlipy (>=0.6.0) ; os_name == \"nt\" and python_version < \"3\""] -secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress ; python_version == \"2.7\"", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] -socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] +brotli = ["brotli (>=1.2.0) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=1.2.0.0) ; platform_python_implementation != \"CPython\""] +h2 = ["h2 (>=4,<5)"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["backports-zstd (>=1.0.0) ; python_version < \"3.14\""] [[package]] name = "uuid6" @@ -9673,4 +9656,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.11,<3.13" -content-hash = "15b849034c0969b944c45f341169a42160efe2525fe60a4cadd8a8909202e9e3" +content-hash = "ecdb317bb551f0683353c2270da856c2e42fd2d8f7f8a590f1c56b257306a2a1" diff --git a/api/pyproject.toml b/api/pyproject.toml index 4b3d9195d3..105e5d5d86 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -5,7 +5,7 @@ requires = ["poetry-core"] [project] authors = [{name = "Prowler Engineering", email = "engineering@prowler.com"}] dependencies = [ - "celery[pytest] (>=5.4.0,<6.0.0)", + "celery (>=5.4.0,<6.0.0)", "dj-rest-auth[with_social,jwt] (==7.0.1)", "django (==5.1.15)", "django-allauth[saml] (>=65.13.0,<66.0.0)", @@ -59,6 +59,7 @@ bandit = "1.7.9" coverage = "7.5.4" django-silk = "5.3.2" docker = "7.1.0" +filelock = "3.20.3" freezegun = "1.5.1" marshmallow = ">=3.15.0,<4.0.0" mypy = "1.10.1" @@ -71,6 +72,5 @@ pytest-randomly = "3.15.0" pytest-xdist = "3.6.1" ruff = "0.5.0" safety = "3.7.0" -filelock = "3.20.3" -vulture = "2.14" tqdm = "4.67.1" +vulture = "2.14"