From a7af544ee1ad7d34163fc90c8b500890fed696d1 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 9 Jul 2026 16:34:11 +0100 Subject: [PATCH] Revert auto-generated changes; keep core retry fix only --- thousandeyes-sdk-administrative/pyproject.toml | 2 +- thousandeyes-sdk-agents/pyproject.toml | 2 +- thousandeyes-sdk-alerts/pyproject.toml | 2 +- thousandeyes-sdk-bgp-monitors/pyproject.toml | 2 +- thousandeyes-sdk-connectors/pyproject.toml | 2 +- thousandeyes-sdk-core/pyproject.toml | 2 +- .../test/test_thousandeyes_retry.py | 16 ---------------- thousandeyes-sdk-credentials/pyproject.toml | 2 +- thousandeyes-sdk-dashboards/pyproject.toml | 2 +- thousandeyes-sdk-emulation/pyproject.toml | 2 +- thousandeyes-sdk-endpoint-agents/pyproject.toml | 2 +- .../pyproject.toml | 2 +- thousandeyes-sdk-endpoint-labels/pyproject.toml | 2 +- .../pyproject.toml | 2 +- thousandeyes-sdk-endpoint-tests/pyproject.toml | 2 +- thousandeyes-sdk-event-detection/pyproject.toml | 2 +- thousandeyes-sdk-instant-tests/pyproject.toml | 2 +- .../pyproject.toml | 2 +- thousandeyes-sdk-snapshots/pyproject.toml | 2 +- thousandeyes-sdk-streaming/pyproject.toml | 2 +- thousandeyes-sdk-tags/pyproject.toml | 2 +- thousandeyes-sdk-test-results/pyproject.toml | 2 +- thousandeyes-sdk-tests/pyproject.toml | 2 +- thousandeyes-sdk-usage/pyproject.toml | 2 +- 24 files changed, 23 insertions(+), 39 deletions(-) diff --git a/thousandeyes-sdk-administrative/pyproject.toml b/thousandeyes-sdk-administrative/pyproject.toml index 434a935a..5bbf4219 100644 --- a/thousandeyes-sdk-administrative/pyproject.toml +++ b/thousandeyes-sdk-administrative/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Administrative API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-agents/pyproject.toml b/thousandeyes-sdk-agents/pyproject.toml index b873f3fa..74f2714d 100644 --- a/thousandeyes-sdk-agents/pyproject.toml +++ b/thousandeyes-sdk-agents/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Agents API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-alerts/pyproject.toml b/thousandeyes-sdk-alerts/pyproject.toml index 339c1421..4dec8053 100644 --- a/thousandeyes-sdk-alerts/pyproject.toml +++ b/thousandeyes-sdk-alerts/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Alerts API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-bgp-monitors/pyproject.toml b/thousandeyes-sdk-bgp-monitors/pyproject.toml index bce30389..6b2e20f9 100644 --- a/thousandeyes-sdk-bgp-monitors/pyproject.toml +++ b/thousandeyes-sdk-bgp-monitors/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK BGP Monitors API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-connectors/pyproject.toml b/thousandeyes-sdk-connectors/pyproject.toml index 107f0ba7..c06761cc 100644 --- a/thousandeyes-sdk-connectors/pyproject.toml +++ b/thousandeyes-sdk-connectors/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Integrations API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-core/pyproject.toml b/thousandeyes-sdk-core/pyproject.toml index fd54435e..a40bd17c 100644 --- a/thousandeyes-sdk-core/pyproject.toml +++ b/thousandeyes-sdk-core/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Core" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-core/test/test_thousandeyes_retry.py b/thousandeyes-sdk-core/test/test_thousandeyes_retry.py index a3e460ff..944e5dd6 100644 --- a/thousandeyes-sdk-core/test/test_thousandeyes_retry.py +++ b/thousandeyes-sdk-core/test/test_thousandeyes_retry.py @@ -41,19 +41,3 @@ def test_parse_reset_header_invalid(): retry = ThousandEyesRetry() assert retry._parse_reset_header("invalid") is None assert retry._parse_reset_header(None) is None - - -def test_retry_new_clones_with_retry_after_max(): - retry = ThousandEyesRetry(retry_after_max=3600) - cloned = retry.new() - assert isinstance(cloned, ThousandEyesRetry) - assert cloned.retry_after_max == 3600 - - -def test_retry_increment_on_429(): - response = Mock(spec=HTTPResponse) - response.status = 429 - response.headers = {"Retry-After": "0"} - retry = ThousandEyesRetry(total=1) - new_retry = retry.increment(method="GET", url="/test", response=response) - assert isinstance(new_retry, ThousandEyesRetry) diff --git a/thousandeyes-sdk-credentials/pyproject.toml b/thousandeyes-sdk-credentials/pyproject.toml index fa9816e7..c71e1e9c 100644 --- a/thousandeyes-sdk-credentials/pyproject.toml +++ b/thousandeyes-sdk-credentials/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Credentials API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-dashboards/pyproject.toml b/thousandeyes-sdk-dashboards/pyproject.toml index c95fbaee..b6433f3f 100644 --- a/thousandeyes-sdk-dashboards/pyproject.toml +++ b/thousandeyes-sdk-dashboards/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Dashboards API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-emulation/pyproject.toml b/thousandeyes-sdk-emulation/pyproject.toml index 73e420bd..82b9233a 100644 --- a/thousandeyes-sdk-emulation/pyproject.toml +++ b/thousandeyes-sdk-emulation/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Emulation API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-endpoint-agents/pyproject.toml b/thousandeyes-sdk-endpoint-agents/pyproject.toml index b9968a4f..1e72dee5 100644 --- a/thousandeyes-sdk-endpoint-agents/pyproject.toml +++ b/thousandeyes-sdk-endpoint-agents/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Endpoint Agents API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-endpoint-instant-tests/pyproject.toml b/thousandeyes-sdk-endpoint-instant-tests/pyproject.toml index ba8fc57a..17cce6de 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/pyproject.toml +++ b/thousandeyes-sdk-endpoint-instant-tests/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Endpoint Instant Scheduled Tests API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-endpoint-labels/pyproject.toml b/thousandeyes-sdk-endpoint-labels/pyproject.toml index fbf91687..4ba71702 100644 --- a/thousandeyes-sdk-endpoint-labels/pyproject.toml +++ b/thousandeyes-sdk-endpoint-labels/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Endpoint Agent Labels API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-endpoint-test-results/pyproject.toml b/thousandeyes-sdk-endpoint-test-results/pyproject.toml index 56d42c98..88b8cf54 100644 --- a/thousandeyes-sdk-endpoint-test-results/pyproject.toml +++ b/thousandeyes-sdk-endpoint-test-results/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Endpoint Test Results API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-endpoint-tests/pyproject.toml b/thousandeyes-sdk-endpoint-tests/pyproject.toml index dd0fd6d5..47478ebf 100644 --- a/thousandeyes-sdk-endpoint-tests/pyproject.toml +++ b/thousandeyes-sdk-endpoint-tests/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Endpoint Tests API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-event-detection/pyproject.toml b/thousandeyes-sdk-event-detection/pyproject.toml index 4be216e4..437c1490 100644 --- a/thousandeyes-sdk-event-detection/pyproject.toml +++ b/thousandeyes-sdk-event-detection/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Event Detection API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-instant-tests/pyproject.toml b/thousandeyes-sdk-instant-tests/pyproject.toml index a0b3eeb7..f10d50ad 100644 --- a/thousandeyes-sdk-instant-tests/pyproject.toml +++ b/thousandeyes-sdk-instant-tests/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Instant Tests API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-internet-insights/pyproject.toml b/thousandeyes-sdk-internet-insights/pyproject.toml index 7ccbcc6e..12f3b7c8 100644 --- a/thousandeyes-sdk-internet-insights/pyproject.toml +++ b/thousandeyes-sdk-internet-insights/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Internet Insights API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-snapshots/pyproject.toml b/thousandeyes-sdk-snapshots/pyproject.toml index 97814c18..8f4e0a9c 100644 --- a/thousandeyes-sdk-snapshots/pyproject.toml +++ b/thousandeyes-sdk-snapshots/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Test Snapshots API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-streaming/pyproject.toml b/thousandeyes-sdk-streaming/pyproject.toml index 959b0e84..3d9f3c18 100644 --- a/thousandeyes-sdk-streaming/pyproject.toml +++ b/thousandeyes-sdk-streaming/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK ThousandEyes for OpenTelemetry API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-tags/pyproject.toml b/thousandeyes-sdk-tags/pyproject.toml index 0bea620a..94402d71 100644 --- a/thousandeyes-sdk-tags/pyproject.toml +++ b/thousandeyes-sdk-tags/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Tags API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-test-results/pyproject.toml b/thousandeyes-sdk-test-results/pyproject.toml index c17ca9a7..c4489116 100644 --- a/thousandeyes-sdk-test-results/pyproject.toml +++ b/thousandeyes-sdk-test-results/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Test Results API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-tests/pyproject.toml b/thousandeyes-sdk-tests/pyproject.toml index d21ad89d..5310e17e 100644 --- a/thousandeyes-sdk-tests/pyproject.toml +++ b/thousandeyes-sdk-tests/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Tests API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1", diff --git a/thousandeyes-sdk-usage/pyproject.toml b/thousandeyes-sdk-usage/pyproject.toml index cbf058f8..e3fe5004 100644 --- a/thousandeyes-sdk-usage/pyproject.toml +++ b/thousandeyes-sdk-usage/pyproject.toml @@ -9,7 +9,7 @@ description = "ThousandEyes SDK Usage API" license = { file = "LICENSE" } requires-python = ">= 3.8" dependencies = [ - "urllib3 >= 2.6.3", + "urllib3 >= 2.0.0", "python-dateutil >=2.8.2", "pydantic >=2.1.0", "typing-extensions >=4.7.1",