Skip to content

Sync python-sockets-tutorial with the updated tutorial - #854

Open
realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-sockets-20260919
Open

realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-sockets-20260919

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Companion sync for the maintenance update of Socket Programming in Python (Guide).

What changed

  • python-sockets-tutorial/README.md: the stated requirement moves from Python 3.6 or later to Python 3.14 or later, matching the article's updated dependencies field (python==3.14) and the setup step, which now tells readers to have Python 3.14 or above installed. Python 3.6 reached end of life in December 2021.

No code changes were needed: the eight scripts in the folder still match the article's code blocks verbatim, and the article's only code-side edit this cycle was a REPL socket.getaddrinfo() output block that has no twin in this folder. There is no requirements.txt here — the tutorial is standard-library only, so there is nothing else to pin.

How it was verified

On Python 3.14.6:

  • echo-server.py + echo-client.py — client received b'Hello, world'.
  • multiconn-server.py + multiconn-client.py (2 connections) — both connections echoed and closed cleanly.
  • app-server.py + app-client.pysearch morpheus and search ring both returned the expected results.
  • uvx ruff@0.14.1 format --check python-sockets-tutorial — 8 files already formatted.
  • uvx ruff@0.14.1 check python-sockets-tutorial — all checks passed.

Links

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