Skip to content

Relax botocore dependency specification#1461

Merged
jakob-keller merged 1 commit intoaio-libs:masterfrom
jakob-keller:bump-botocore
Jan 2, 2026
Merged

Relax botocore dependency specification#1461
jakob-keller merged 1 commit intoaio-libs:masterfrom
jakob-keller:bump-botocore

Conversation

@jakob-keller
Copy link
Copy Markdown
Collaborator

Description of Change

This PR intends to improve general compatibility of aiobotocore within the Python ecosystem by relaxing the dependency specification of botocore.

Assumptions

Upstream contains no changes that require adjustments to the aiobotocore codebase.

Checklist for All Submissions

  • I have added change info to CHANGES.rst
  • If this is resolving an issue (needed so future developers can determine if change is still necessary and under what conditions) (can be provided via link to issue with these details):
    • Detailed description of issue
    • Alternative methods considered (if any)
    • How issue is being resolved
    • How issue can be reproduced
  • If this is providing a new feature (can be provided via link to issue with these details):
    • Detailed description of new feature
    • Why needed
    • Alternatives methods considered (if any)

Checklist when updating botocore and/or aiohttp versions

@jakob-keller jakob-keller added the dependencies Pull requests that update a dependency file label Jan 2, 2026
@gemini-code-assist
Copy link
Copy Markdown

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@jakob-keller jakob-keller marked this pull request as ready for review January 2, 2026 18:58
@jakob-keller jakob-keller enabled auto-merge January 2, 2026 18:58
@jakob-keller jakob-keller requested a review from thehesiod January 2, 2026 18:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.60%. Comparing base (e54c8b9) to head (8c83790).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1461   +/-   ##
=======================================
  Coverage   91.60%   91.60%           
=======================================
  Files          76       76           
  Lines        8080     8080           
=======================================
  Hits         7402     7402           
  Misses        678      678           
Flag Coverage Δ
no-httpx 88.47% <ø> (ø)
os-ubuntu-24.04 91.60% <ø> (ø)
os-ubuntu-24.04-arm 89.61% <ø> (ø)
python-3.10 89.57% <ø> (ø)
python-3.11 89.57% <ø> (ø)
python-3.12 89.57% <ø> (ø)
python-3.13 89.57% <ø> (ø)
python-3.14 91.56% <ø> (ø)
python-3.9 89.58% <ø> (ø)
unittests 91.60% <ø> (ø)
with-awscrt 91.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jakob-keller jakob-keller added this pull request to the merge queue Jan 2, 2026
Merged via the queue into aio-libs:master with commit 41e938e Jan 2, 2026
23 checks passed
@jakob-keller jakob-keller deleted the bump-botocore branch January 2, 2026 19:14
thehesiod pushed a commit that referenced this pull request Apr 19, 2026
…cal mislabel

32 scenarios covering the full set of merged botocore sync PRs. Each row
now has:
- A draft rationale generated from inspecting the botocore diff
  (new def count, async-signal count, added-line count), wrapped to
  ≤120 chars to satisfy project yamllint.
- A mislabel-suspicion heuristic that flagged 3 rows for manual review.

Historical mislabel caught:
- PR #1428 titled "Bump" (→ port-required by convention) but both
  botocore and aiobotocore diffs show only __init__.py version bump.
  Fixed: expected overridden to `no-port`, with a notes field
  documenting the title/classification divergence.

False alarms resolved:
- PRs #1461, #1466 triggered the async-signal heuristic but manual
  review confirmed the signals are in non-overridden paths. Notes
  clarify the heuristic context.

Other changes:
- generate_scenarios.py now uses full relative paths (not basenames) to
  identify overridden files, fixing a false-positive where e.g.
  `botocore/docs/client.py` wrongly matched `aiobotocore/client.py`.
- Scenarios rendered with top-level sequence items unindented and
  sub-keys at 2-space indent, matching project .yamllint
  (indent-sequences: false).
- Added aiobotocore ↔ botocore correlation notes to evals/README.md,
  including the caveat that aiobotocore can bump its own version for
  reasons unrelated to a botocore sync.
- check_async_need.py parser updated to the new YAML indentation.
thehesiod pushed a commit that referenced this pull request Apr 19, 2026
Three doc updates driven by the PR-archaeology pass:

1. Sync prompt Step 3: add "classifier is the authority, not the PR title"
   guidance. PR #1428 was mislabeled "Bump" but was actually a no-port. The
   bot's verdict should win; update the title to match.

2. check-async-need.md: add "Common false-positive signal patterns" section
   documenting the FP categories the archaeology surfaced (string literals,
   docstrings, comments, test fixtures, unreached paths, botocore/data/).
   PRs #1461 and #1466 both triggered these FPs.

3. CONTRIBUTING.rst: state that sync PRs should be tightly scoped (just the
   pin update + any ports), since bundled unrelated fixes make the classifier
   noisier and reviewers confused.

Also reinforces that mislabels are treated as data to correct, not as the
authoritative truth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants