Port details
py-pytest-examples Py.test plugin for testing examples in docstrings and markdown files
0.0.18 devel Σ =0 0.0.18Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2024-07-29 00:00:12
Last Update: 2025-09-05 05:08:30
Commit Hash: 6b4bc26
Also Listed In: python
License: MIT
WWW: https://github.com/pydantic/pytest-examples Description: # Pytest plugin for testing Python code examples in docstrings and markdown files.
pytest-examples can:
* lint code examples using ruff and black
* run code examples
* run code examples and check print statements are inlined correctly in the code
It can also update code examples in place to format them and insert or update
print statements. ¦ ¦ ¦ ¦
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-examples>0:devel/py-pytest-examples@${PY_FLAVOR} To install the port : # cd /usr/ports/devel/py-pytest-examples/ && make install clean To add the package , run one of these commands: pkg install devel/py-pytest-examples pkg install py311-pytest-examples 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 py311-pytest-examples listed in the above command, you can pick from the names under the Packages section.PKGNAME: py311-pytest-examples Package flavors (<flavor>: <package> ) # py311: py311-pytest-examples
distinfo: # TIMESTAMP = 1756452701
SHA256 (pytest_examples-0.0.18.tar.gz) = 9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801
SIZE (pytest_examples-0.0.18.tar.gz) = 21237
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
py311-hatchling>0 : devel/py-hatchling@py311 python3.11 : lang/python311 py311-build>=0 : devel/py-build@py311 py311-installer>=0 : devel/py-installer@py311
Test dependencies: #
py311-coverage>=0 : devel/py-coverage@py311 py311-pytest-pretty>0 : devel/py-pytest-pretty@py311 py311-ruff>=0.5.0 : devel/py-ruff@py311 py311-pytest>=7,1 : devel/py-pytest@py311 python3.11 : lang/python311
Runtime dependencies: #
py311-black>=23 : devel/py-black@py311 py311-pytest>=7 : devel/py-pytest@py311 py311-ruff>=0.5.0 : devel/py-ruff@py311 python3.11 : lang/python311
This port is required by: # for Test #
devel/py-logfire-sdk
devel/py-pydantic-handlebars
devel/py-pydantic-settings
misc/py-fastmcp
Configuration Options : #
No options to configure Options name : #
devel_py-pytest-examples USES: #
python
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Number of commits found: 3 #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.0.18 05 Sep 2025 05:08:30
Yuri Victorovich (yuri) Author: Hiroki Tagato
devel/py-pytest-examples: update 0.0.13 → 0.0.18
PR: 289159
0.0.13 14 Aug 2024 21:06:57
Yuri Victorovich (yuri)
devel/py-pytest-examples: update 0.0.12 → 0.0.13
Reported by: portscout
0.0.12 28 Jul 2024 23:57:42
Yuri Victorovich (yuri)
devel/py-pytest-examples: New port: Py.test plugin for testing examples in
docstrings and markdown files
Number of commits found: 3