pypi pytest-socket 0.8.0

4 hours ago

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

Don't miss a new pytest-socket release

NewReleases is sending notifications on new releases.