devel/py-pytest-xdist 3.5.0_2,1 MidnightBSD
Pytest xdist plugin for distributed testing and loop-on-failing modes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
e8c1b3f6f1- License
- mit
- Categories
- devel, python
Description
The pytest-xdist plugin extends py.test with some unique test execution modes:
* Test run parallelization: if you have multiple CPUs or hosts you can use those for a combined test run. This allows to speed up development or to use special resources of remote machines. * --boxed: (not available on Windows) run each test in a boxed subprocess to survive SEGFAULTS or otherwise dying processes * --looponfail: run your tests repeatedly in a subprocess. After each run py.test waits until a file in your project changes and then re-runs the previously failing tests. This is repeated until all tests pass after which again a full run is performed. * Multi-Platform coverage: you can specify different Python interpreters or different platforms and run tests in parallel on all of them.
In the other systems
The newest version among them is 3.8.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-pytest-xdist | 3.5.0_2,1 | no data | - | [email protected] | 2026-09-05 |
| FreeBSD | devel/py-pytest-xdist | 3.8.0,1 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-pytest-xdist | 3.6.1,1 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-pytest-xdist | 3.8.0,1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pytest-xdist | 3.8.0,1 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pytest-xdist
From mports:
cd /usr/mports/devel/py-pytest-xdist && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2.3: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}execnet>=1.1: sysutils/py-execnet${PYTHON_PKGNAMEPREFIX}pytest>=6.2.0: devel/py-pytest
Test 1
${PYTHON_PKGNAMEPREFIX}filelock>=0: sysutils/py-filelock
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
Options name: devel_pytest-xdist
| Option | Default | Description |
|---|---|---|
| PSUTIL | on | Detect number of available CPUs |
| SETPROCTITLE | on | Indicate state of current running workers |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest-xdist-3.5.0.tar.gz | 78977 | cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a |
Master sites 1
- PYPI