shahar1 opened a new pull request, #68122:
URL: https://github.com/apache/airflow/pull/68122
The `check_boto_upgrade()` function in `scripts/docker/entrypoint_ci.sh` was
capping
boto3/botocore at `<1.38.3` to avoid urllib3 2.6.0 being pulled in (it had
removed
`getheaders()`, breaking the kubernetes client).
Since then:
- urllib3 2.6.1+ restored `getheaders()` — the bug was only in exactly 2.6.0
- `kubernetes-tests/pyproject.toml` and
`providers/cncf/kubernetes/pyproject.toml` were
already updated to `urllib3!=2.6.0` (PR #59203)
- The amazon provider minimum was bumped to `boto3>=1.41.0`
But `entrypoint_ci.sh` was not updated, leaving the LatestBoto CI job
installing
**boto3 1.38.2**, which:
1. Is **below** the amazon provider's declared minimum (`boto3>=1.41.0`)
2. Predates the `bedrock-agentcore-control` / `bedrock-agentcore` services
being added
to botocore, causing spurious test failures for any operators that use
those services
(e.g. PR #67984, spotted via run
https://github.com/apache/airflow/actions/runs/27028907135/job/79778239095)
## Change
Remove the `boto3<1.38.3` / `botocore<1.38.3` upper bounds and change
`urllib3<2.6.0` → `urllib3!=2.6.0`, consistent with what the rest of the repo
already does.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Sonnet 4.6)
Generated-by: Claude Code (Sonnet 4.6) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]