Skip to content

Commit 26ec554

Browse files
committed
build: bump vulnerable dependencies
`uv audit` reported 46 advisories in pyjwt, urllib3, virtualenv, werkzeug, sh and wasmtime. This fixes all that can be fixed from this repo; sh (pinned to 1.x by gitlint) and wasmtime (no fix released, comes via gooddata-code-convertors) remain. User-facing changes: - gooddata-api-client now requires urllib3 >=2.8.0 (was >=2.6.1), fixing HTTPS proxy TLS config being ignored, a chunked deflate infinite loop and unbounded chunk-size line buffering. - gooddata-api-client now requires Python >=3.10 (was >=3.6). urllib3 2.7+ dropped Python 3.9, so the old marker was no longer accurate. - gooddata-sdk now requires python-dotenv >=1.2.2 (was >=1.0.0). - gooddata-pipelines now requires requests >=2.33.0 (was >=2.32.3). - Behavior change when connecting through an HTTPS proxy (an `https://` proxy URL): urllib3 2.8 no longer applies the destination TLS settings (`ssl_ca_cert`, `cert_file`, `key_file`) to the TLS handshake with the proxy itself. If the proxy certificate was trusted only through `ssl_ca_cert`, add its CA to the system trust store. Plain `http://` proxies and direct connections are unaffected. - Environments where another package caps urllib3 below 2.8 will now report a dependency conflict at install time. Internal: test-group urllib3 pins move to `~=2.8`; lock upgrades for pyjwt 2.15.1 (via msal/azure-identity in pipelines), virtualenv 21.14.5 and werkzeug 3.1.9. The urllib3 and Python requirements are changed in the openapi-generator templates too so regeneration keeps them.
1 parent ab84a23 commit 26ec554

9 files changed

Lines changed: 32 additions & 30 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
python_dateutil >= 2.5.3
22
setuptools >= 21.0.0
3-
urllib3 ~= 2.6.1
3+
urllib3 ~= 2.8

‎.openapi-generator/custom_templates/setup.mustache‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ VERSION = "{{packageVersion}}"
1919
# http://pypi.python.org/pypi/setuptools
2020

2121
REQUIRES = [
22-
"urllib3 >= 2.6.1",
22+
"urllib3 >= 2.8.0",
2323
"python-dateutil",
2424
{{#asyncio}}
2525
"aiohttp >= 3.0.0",
@@ -41,7 +41,7 @@ setup(
4141
author_email="{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}",
4242
url="{{packageUrl}}",
4343
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
44-
python_requires=">=3.6",
44+
python_requires=">=3.10",
4545
install_requires=REQUIRES,
4646
packages=find_packages(exclude=["test", "tests"]),
4747
include_package_data=True,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
python_dateutil >= 2.5.3
22
setuptools >= 21.0.0
3-
urllib3 ~= 2.6.1
3+
urllib3 ~= 2.8

‎gooddata-api-client/setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# http://pypi.python.org/pypi/setuptools
2626

2727
REQUIRES = [
28-
"urllib3 >= 2.6.1",
28+
"urllib3 >= 2.8.0",
2929
"python-dateutil",
3030
]
3131

@@ -37,7 +37,7 @@
3737
author_email="support@gooddata.com",
3838
url="",
3939
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI definition"],
40-
python_requires=">=3.6",
40+
python_requires=">=3.10",
4141
install_requires=REQUIRES,
4242
packages=find_packages(exclude=["test", "tests"]),
4343
include_package_data=True,

‎packages/gooddata-fdw/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test = [
5454
"pytest-json-report==1.5.0",
5555
"vcrpy~=8.3.0",
5656
# TODO - Bump the version together with bumping the version of openapi generator
57-
"urllib3~=2.7.0",
57+
"urllib3~=2.8",
5858
"pyyaml",
5959
"tests_support",
6060
]

‎packages/gooddata-pandas/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test = [
6161
"pytest-snapshot==0.9.0",
6262
"pytest-order~=1.5.0",
6363
"vcrpy~=8.3.0",
64-
"urllib3~=2.7.0",
64+
"urllib3~=2.8",
6565
"python-dotenv~=1.2.3",
6666
"pyyaml",
6767
"tests_support",

‎packages/gooddata-pipelines/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "README.md"
99
requires-python = ">=3.10"
1010
dependencies = [
1111
"pydantic (>=2.9.2,<3.0.0)",
12-
"requests (>=2.32.3,<3.0.0)",
12+
"requests (>=2.33.0,<3.0.0)",
1313
"types-requests (>1.0.0,<3.0.0)",
1414
"gooddata-sdk~=1.76.0",
1515
"boto3 (>=1.39.3,<2.0.0)",

‎packages/gooddata-sdk/pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies = [
3333
"cattrs>=22.1.0,<=26.1.0",
3434
"brotli==1.2.0",
3535
"requests>=2.33.0,<3.0.0",
36-
"python-dotenv>=1.0.0,<2.0.0",
36+
"python-dotenv>=1.2.2,<2.0.0",
3737
"gooddata-code-convertors>=11.57.0",
3838
]
3939
classifiers = [
@@ -68,7 +68,7 @@ test = [
6868
"pytest-snapshot==0.9.0",
6969
"pytest-order~=1.5.0",
7070
"vcrpy~=8.3.0",
71-
"urllib3~=2.7.0",
71+
"urllib3~=2.8",
7272
"python-dotenv~=1.2.3",
7373
"deepdiff~=9.1.0",
7474
"tests_support",

‎uv.lock‎

Lines changed: 21 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)