Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-pytest-socket Pytest Plugin to disable socket calls during tests
0.8.1 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.8.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-01-06 08:09:11
Last Update: 2026-10-11 05:03:34
Commit Hash: 8dc0e38
Also Listed In: python
License: MIT
WWW:
https://github.com/miketheman/pytest-socket
Description: #
pytest-socket is a plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pytest-socket>0:devel/py-pytest-socket@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-pytest-socket/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pytest-socket
  • pkg install py312-pytest-socket
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-pytest-socket listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pytest-socket
Package flavors (<flavor>: <package>) #
  • py312: py312-pytest-socket
distinfo: #
TIMESTAMP = 1791664395 SHA256 (pytest_socket-0.8.1.tar.gz) = 2f57787914ad2e1308d09ce141b95c3e55741fbb4fb7b7556593a6b063e0c9c7 SIZE (pytest_socket-0.8.1.tar.gz) = 17313

Packages (timestamps in pop-ups are UTC): #
py311-pytest-socket
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.7.0-
FreeBSD:14:quarterly---0.7.0-
FreeBSD:15:latest--n/a0.7.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-pytest-socket
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.10.8.1--0.8.1
FreeBSD:14:quarterly0.8.00.8.0--0.8.0
FreeBSD:15:latest0.8.10.8.1n/a-n/a
FreeBSD:15:quarterly0.8.00.8.0n/a-n/a
FreeBSD:16:latest0.8.10.8.1n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-uv-build>=0.7.20 : devel/py-uv-build@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-coverage>=7.9 : devel/py-coverage@py312
  2. py312-httpx>=0.28.1 : www/py-httpx@py312
  3. py312-mutmut>0 : devel/py-mutmut@py312
  4. py312-mypy>=1.20 : devel/py-mypy@py312
  5. py312-pytest-randomly>=3.15.0 : devel/py-pytest-randomly@py312
  6. py312-starlette>=0.47.1 : www/py-starlette@py312
  7. py312-pytest>=7,1 : devel/py-pytest@py312
  8. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-pytest>=7.0 : devel/py-pytest@py312
  2. python3.12 : lang/python312
This port is required by: #
for Run #
  1. misc/py-langchain-tests
for Test #
  1. devel/py-e3-core
  2. finance/py-pythclient
  3. misc/py-langchain
  4. misc/py-langchain-anthropic
  5. misc/py-langchain-core
  6. misc/py-langchain-deepseek
  7. misc/py-langchain-google-community
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. misc/py-langchain-google-genai
  3. misc/py-langchain-groq
  4. misc/py-langchain-huggingface
  5. misc/py-langchain-mcp-adapters
  6. misc/py-langchain-ollama
  7. misc/py-langchain-openai
  8. misc/py-langchain-text-splitters
  9. misc/py-langsmith
  10. Collapse this list.

Configuration Options: #
No options to configure
Options name: #
devel_py-pytest-socket
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pytest_socket/
  2. https://pypi.org/packages/source/p/pytest_socket/
Collapse this list.

Number of commits found: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.1
11 Oct 2026 05:03:34
commit hash: 8dc0e38e4e8baff0b576b8df5b32954cddcec17ccommit hash: 8dc0e38e4e8baff0b576b8df5b32954cddcec17ccommit hash: 8dc0e38e4e8baff0b576b8df5b32954cddcec17ccommit hash: 8dc0e38e4e8baff0b576b8df5b32954cddcec17c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-pytest-socket: update 0.8.0 → 0.8.1
0.8.0
07 Aug 2026 17:18:57
commit hash: 104f0fe8ddf455c061ecabc8fbcb1785e0fc5440commit hash: 104f0fe8ddf455c061ecabc8fbcb1785e0fc5440commit hash: 104f0fe8ddf455c061ecabc8fbcb1785e0fc5440commit hash: 104f0fe8ddf455c061ecabc8fbcb1785e0fc5440 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-pytest-socket: update 0.7.0 → 0.8.0
0.7.0
29 Jan 2024 04:12:41
commit hash: 6943bb688648d714b6957a3e2c089560f4191985commit hash: 6943bb688648d714b6957a3e2c089560f4191985commit hash: 6943bb688648d714b6957a3e2c089560f4191985commit hash: 6943bb688648d714b6957a3e2c089560f4191985 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-pytest-socket: update 0.6.0 → 0.7.0

Reported by:	portscout
0.6.0
06 Jan 2024 08:06:38
commit hash: 98e9111bf64f41fcebe07ca65db01a6254cdf7d3commit hash: 98e9111bf64f41fcebe07ca65db01a6254cdf7d3commit hash: 98e9111bf64f41fcebe07ca65db01a6254cdf7d3commit hash: 98e9111bf64f41fcebe07ca65db01a6254cdf7d3 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-pytest-socket: New port: Pytest Plugin to disable socket calls during
tests

Number of commits found: 4