Skip to content

[v3-2-test] Fix LatestBoto CI test stuck at boto3 1.38.2 (below provider minimum) (#68122) - #68128

Merged
shahar1 merged 1 commit into
v3-2-testfrom
backport-a4ea3ff-v3-2-test
Jun 6, 2026
Merged

[v3-2-test] Fix LatestBoto CI test stuck at boto3 1.38.2 (below provider minimum) (#68122)#68128
shahar1 merged 1 commit into
v3-2-testfrom
backport-a4ea3ff-v3-2-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The check_boto_upgrade() function in entrypoint_ci.sh was capping boto3/botocore
at <1.38.3 to prevent urllib3 2.6.0 from being pulled in (it had removed
getheaders(), breaking the kubernetes client). That workaround was applied in
Dec 2025 alongside a urllib3<2.6.0 pin.

Since then, urllib3 2.6.1+ restored getheaders(), and the other affected files
(kubernetes-tests/pyproject.toml, providers/cncf/kubernetes/pyproject.toml)
were already updated to urllib3!=2.6.0 (PR #59203). The entrypoint_ci.sh
was missed.

Result: the LatestBoto CI job was installing boto3 1.38.2, which is below the
amazon provider's declared minimum (boto3>=1.41.0) and predates the addition of
the bedrock-agentcore-control and bedrock-agentcore services to botocore,
causing unrelated test failures for new operators that use those services.

Fix: remove the boto3/botocore upper bounds and change urllib3<2.6.0 to
urllib3!=2.6.0, consistent with the rest of the repo.
(cherry picked from commit a4ea3ff)

Co-authored-by: Shahar Epstein 60007259+shahar1@users.noreply.github.com

…der minimum) (#68122)
The `check_boto_upgrade()` function in `entrypoint_ci.sh` was capping boto3/botocore
at `<1.38.3` to prevent urllib3 2.6.0 from being pulled in (it had removed
`getheaders()`, breaking the kubernetes client). That workaround was applied in
Dec 2025 alongside a `urllib3<2.6.0` pin.
Since then, urllib3 2.6.1+ restored `getheaders()`, and the other affected files
(`kubernetes-tests/pyproject.toml`, `providers/cncf/kubernetes/pyproject.toml`)
were already updated to `urllib3!=2.6.0` (PR #59203). The `entrypoint_ci.sh`
was missed.
Result: the LatestBoto CI job was installing boto3 1.38.2, which is below the
amazon provider's declared minimum (`boto3>=1.41.0`) and predates the addition of
the `bedrock-agentcore-control` and `bedrock-agentcore` services to botocore,
causing unrelated test failures for new operators that use those services.
Fix: remove the boto3/botocore upper bounds and change `urllib3<2.6.0` to
`urllib3!=2.6.0`, consistent with the rest of the repo.
(cherry picked from commit a4ea3ff)
Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
@shahar1
shahar1 merged commit 8130d24 into v3-2-testJun 6, 2026
105 checks passed
@shahar1
shahar1 deleted the backport-a4ea3ff-v3-2-test branch June 6, 2026 18:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jscheffl@shahar1