Skip to content

Releases

0.8.1

Choose a tag to compare

@miketheman miketheman released this 19 Aug 15:08
Immutable release. Only release title and notes can be modified.
8164360

What's Changed

Fixes:

  • Close the socket before raising on a blocked connect, fixing a file
    descriptor leak #496
  • Make SocketConnectBlockedError pickleable so it survives multiprocessing
    test runners such as pytest-xdist and Django's --parallel #501

Changes:

  • Added mutation testing via make mutmut #500
  • Added CodSpeed performance benchmarks #486
  • Dependency, CI, and development updates

Full commit log

  • chore(ci): remove upload from release by @miketheman in #485
  • Add CodSpeed performance benchmarks by @codspeed-hq[bot] in #486
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #487
  • chore(deps-dev): bump pytest-codspeed from 5.0.2 to 5.0.3 by @dependabot[bot] in #489
  • chore(deps-dev): bump starlette from 1.0.0 to 1.1.0 by @dependabot[bot] in #488
  • chore(deps): bump CodSpeedHQ/action from 4.15.1 to 4.17.0 by @dependabot[bot] in #490
  • chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #491
  • chore(deps-dev): bump starlette from 1.1.0 to 1.2.1 by @dependabot[bot] in #492
  • chore(deps-dev): bump starlette from 1.2.1 to 1.3.1 in the uv group across 1 directory by @dependabot[bot] in #495
  • chore(deps): bump pytest from 9.0.3 to 9.1.0 by @dependabot[bot] in #498
  • chore(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 by @dependabot[bot] in #494
  • chore(deps): bump CodSpeedHQ/action from 4.17.0 to 4.17.5 by @dependabot[bot] in #497
  • fix: close socket on raise by @miketheman in #499
  • test: add remaining coverage by @miketheman in #500
  • chore(deps): bump pytest from 9.1.0 to 9.1.1 by @dependabot[bot] in #505
  • chore(deps): bump zizmorcore/zizmor-action from 0.5.6 to 0.5.7 by @dependabot[bot] in #503
  • chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #504
  • chore(deps): bump CodSpeedHQ/action from 4.17.5 to 4.17.6 by @dependabot[bot] in #502
  • fix: make SocketConnectBlockedError pickleable by @miketheman in #501
  • chore(deps): bump CodSpeedHQ/action from 4.17.6 to 4.18.1 by @dependabot[bot] in #506
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #507
  • chore(deps): bump CodSpeedHQ/action from 4.18.1 to 4.18.2 by @dependabot[bot] in #508
  • chore(deps): bump astral-sh/setup-uv from 8.2.0 to 8.3.1 by @dependabot[bot] in #509
  • chore(deps): bump astral-sh/setup-uv from 8.3.1 to 8.3.2 by @dependabot[bot] in #510
  • chore(deps): bump actions/stale from 10.3.0 to 10.4.0 by @dependabot[bot] in #511
  • chore(deps): bump CodSpeedHQ/action from 4.18.2 to 4.18.5 by @dependabot[bot] in #512
  • chore(deps-dev): bump mypy from 2.1.0 to 2.3.0 by @dependabot[bot] in #513
  • chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #514
  • chore(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0 by @dependabot[bot] in #516
  • chore(deps): bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.1 by @dependabot[bot] in #517
  • chore(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.0 by @dependabot[bot] in #515
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #519
  • chore(deps): bump actions/stale from 10.4.0 to 11.0.0 by @dependabot[bot] in #521
  • chore(deps): bump zizmorcore/zizmor-action from 0.6.0 to 0.6.1 by @dependabot[bot] in #522
  • chore(deps): bump CodSpeedHQ/action from 4.18.5 to 4.19.1 by @dependabot[bot] in #520
  • chore(deps): bump pypa/gh-action-pypi-publish from 1.14.1 to 1.14.2 by @dependabot[bot] in #524
  • chore(deps): bump CodSpeedHQ/action from 4.19.1 to 5.0.3 by @dependabot[bot] in #526
  • chore(deps): bump zizmorcore/zizmor-action from 0.6.1 to 0.6.2 by @dependabot[bot] in #525
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #523
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #529
  • chore(deps-dev): bump starlette from 1.3.1 to 1.6.0 by @dependabot[bot] in #530
  • chore(deps-dev): update uv-build requirement from <0.12.0,>=0.7.20 to >=0.7.20,<0.13.0 by @dependabot[bot] in #527
  • pytest-socket, 0.8.1 by @miketheman in #531

New Contributors

  • @codspeed-hq[bot] made their first contribution in #486

Full Changelog: 0.8.0...0.8.1

0.8.0

Choose a tag to compare

@miketheman miketheman released this 21 May 16:49
Immutable release. Only release title and notes can be modified.
f9ec139

What's Changed

Enhancements

  • Block DNS resolution (getaddrinfo, gethostbyname) when sockets are disabled #482
  • Support CIDR network ranges in allow_hosts #479
  • Warn before raising on a blocked socket call #468
  • Cache hostname resolutions during a test run #369

Changes

  • Removed support for Python 3.8 and 3.9. Python 3.10 is now the minimum.
  • Test against Python 3.13, 3.14, and free-threaded 3.13t/3.14t
  • Replaced Poetry with uv #429
  • Added type hints #465
  • Swapped pytest-httpbin for a local test fixture #467
  • Dependency, CI, and development updates

New Contributors

  • @twm made their first contribution in #369

Full Changelog: 0.7.0...0.8.0

0.7.0

Choose a tag to compare

@miketheman miketheman released this 28 Jan 20:18
93f704b

What's Changed

New Contributors

Full Changelog: 0.6.0...0.7.0

0.6.0

Choose a tag to compare

@miketheman miketheman released this 03 Feb 19:11
0f0f522

What's Changed

New Contributors

Full Changelog: 0.5.1...0.6.0

0.5.1

Choose a tag to compare

@miketheman miketheman released this 23 Jan 20:14
89cfa31

What's Changed

New Contributors

Full Changelog: 0.5.0...0.5.1

0.5.0 (2021-12-23)

Choose a tag to compare

@miketheman miketheman released this 23 Dec 23:09
d5ac568

What's Changed

New Contributors

Full Changelog: 0.4.1...0.5.0

0.4.1 (2021-08-29)

Choose a tag to compare

@miketheman miketheman released this 28 Aug 20:07
8474bfa

Include tests and configs in source distribution archive #69

0.4.0...0.4.1

What's Changed

  • pyproject.toml: include tests in sdist archive by @kwshi in #69

New Contributors

  • @kwshi made their first contribution in #69

Full Changelog: 0.4.0...0.4.1

0.4.0 (2021-03-30)

Choose a tag to compare

@miketheman miketheman released this 30 Mar 22:23
0041f87

Enhancements:

  • Enable Unix sockets selectively with --allow-unix-socket #54
  • Test refactor, add CodeQL scanning
  • Correctly subclass socket.socket #50
  • Add testing against Python 3.9, Dropped testing against Python 3.5
  • Doc updates

0.3.5...0.4.0

What's Changed

New Contributors

Full Changelog: 0.3.5...0.4.0

0.3.5 (2020-05-31)

Choose a tag to compare

@miketheman miketheman released this 31 May 15:13
cb5e7c5

Bugfix release.

  • Fix bug in marker evaluation #42
  • Refactor tests for clarity

0.3.4...0.3.5

https://pypi.org/project/pytest-socket/0.3.5/

NOTE

This is the final release that supports Python 3.5

0.3.4 (2020-04-10)

Choose a tag to compare

@miketheman miketheman released this 10 Apr 23:14
c6f9ffc

Maintenance release.

  • Drop support for unsupported versions of Python #23
  • Convert toolchain from pip/tox/twine to poetry
  • Replace TravisCI and Appveyor with GitHub Actions #36
  • Update for correct test output #31
  • Add renovatebot for dependecy updates #26

0.3.3...0.3.4

https://pypi.org/project/pytest-socket/0.3.4/