Skip to content

Sync python-with-statement with the updated tutorial - #910

Merged
realpython-bot merged 2 commits into
masterfrom
maintenance/python-with-statement-20261022
Oct 22, 2026
Merged

realpython-bot merged 2 commits into
masterfrom
maintenance/python-with-statement-20261022

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Re-pins python-with-statement/requirements.txt to match the maintenance update of Python's with Statement: Manage External Resources Safely.

What changed

  • aiohttp 3.12.15 -> 3.14.5 (the article's dependencies field and install command now pin 3.14.5). Transitive dependencies were re-resolved for Python 3.14 with uv pip compile.
  • No code changes. The scripts already match the article's examples apart from repo formatting.

Links

Verification

  • Created a fresh Python 3.14 venv from the new requirements.txt.
  • Ran every script in the folder. All exit cleanly except hello.py, which raises IndexError on purpose to show exception propagation. site_checker_v1.py and site_checker_v2.py both ran against aiohttp 3.14.5.
  • ruff@0.14.1 format --check and ruff@0.14.1 check pass.

🤖 Generated with Claude Code

realpython-bot and others added 2 commits October 22, 2026 06:06
…th Statement: Manage External Resources Safely

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@realpython-bot
realpython-bot merged commit 1379f46 into master Oct 22, 2026
1 check passed
@realpython-bot
realpython-bot deleted the maintenance/python-with-statement-20261022 branch October 22, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant