NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1180 most downloaded on PyPI
Pytest Plugin to disable socket calls during tests
Last release 1 months ago
19 Aug 2026
Release timing varies
gaps range from 4 weeks to 2.3 years
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
16 releases · first in 2017
Close the socket before raising on a blocked connect, fixing a file descriptor leak #496
Fixes:
SocketConnectBlockedError pickleable so it survives multiprocessingpytest-xdist and Django's --parallel #501Changes:
make mutmut #500Full Changelog: 0.8.0...0.8.1
One column per quarter.
Block DNS resolution ( getaddrinfo , gethostbyname ) when sockets are disabled #482
getaddrinfo, gethostbyname) when sockets are disabled #482allow_hosts #479pytest-httpbin for a local test fixture #467Full Changelog: 0.7.0...0.8.0
test: remove deprecated asynctest by @miketheman in #226
Full Changelog: 0.6.0...0.7.0
Enhancements:
getaddrinfo() instead of gethostbyname() #209Changes:
chore(deps): update dependency httpx to ^0.22.0 by @renovate in #113
Full Changelog: 0.5.1...0.6.0
Enhancements:
--allow-hosts #189Changes:
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #104
Full Changelog: 0.5.0...0.5.1
doctests #109starlette updatedmake install now installs dependencies if poetry.lock is missing/changeddocs: Fix syntax for setup.cfg by @llimllib in https://github.com/miketheman/pytest-socket/pull/77
family passed as keyword argument by @emontnemery in https://github.com/miketheman/pytest-socket/pull/75Full Changelog: https://github.com/miketheman/pytest-socket/compare/0.4.1...0.5.0
family passed as keyword argument by @emontnemery in #75Full Changelog: 0.4.1...0.5.0
pytest.Configautouse fixture with pytest_runtest_setup() #88IndexError with httpx.AsyncClient #85 (and other frameworks)poetry-core in pyproject.toml #74black code formatterisort import formatterpre-commit hooks and CI status badgesInclude tests and configs in source distribution archive #69
Include tests and configs in source distribution archive #69
https://github.com/miketheman/pytest-socket/compare/0.4.0...0.4.1
Full Changelog: https://github.com/miketheman/pytest-socket/compare/0.4.0...0.4.1
Include tests and configs in source distribution archive #69
Full Changelog: 0.4.0...0.4.1
Enable Unix sockets selectively with --allow-unix-socket #54
Enhancements:
https://github.com/miketheman/pytest-socket/compare/0.3.5...0.4.0
socket.socket to function. by @matthewwardrop in https://github.com/miketheman/pytest-socket/pull/50Full Changelog: https://github.com/miketheman/pytest-socket/compare/0.3.5...0.4.0
Enhancements:
socket.socket to function. by @matthewwardrop in #50Full Changelog: 0.3.5...0.4.0
Fix bug in marker evaluation #42
Bugfix release.
https://github.com/miketheman/pytest-socket/compare/0.3.4...0.3.5
https://pypi.org/project/pytest-socket/0.3.5/
This is the final release that supports Python 3.5
Bugfix release.
https://pypi.org/project/pytest-socket/0.3.5/
This is the final release that supports Python 3.5
Drop support for unsupported versions of Python #23
Fix hostname check when unicode on Python 2.7.x #22
https://github.com/miketheman/pytest-socket/compare/0.3.2...0.3.3
https://pypi.org/project/pytest-socket/0.3.3/
Update support for Pytest 4.1.x
https://github.com/miketheman/pytest-socket/compare/0.3.1...0.3.2
https://pypi.org/project/pytest-socket/0.3.2/
Update minimum required pytest version
https://github.com/miketheman/pytest-socket/compare/0.3.0...0.3.1
https://pypi.org/project/pytest-socket/0.3.1/
Add support for allowing specific lists of hosts via IP Addresses
https://github.com/miketheman/pytest-socket/compare/0.2.0...0.3.0
https://pypi.org/project/pytest-socket/0.3.0/
Reorganized API, requires explicit activation
ini settinghttps://github.com/miketheman/pytest-socket/compare/0.1.0...0.2.0
https://pypi.org/project/pytest-socket/0.2.0/
https://pypi.org/project/pytest-socket/0.1.0/
https://pypi.org/project/pytest-socket/0.1.0/
Your coding agent can read these notes before it upgrades. Set up the MCP server →