Files
Alexandru Ardelean 0514eb8326 python-pytest-xdist: update to 3.8.0
Update package to 3.8.0.

Add PYPI_SOURCE_NAME since PyPI switched sdist filename to use
underscores (pytest_xdist-3.8.0.tar.gz).

Add test.sh to verify basic plugin functionality.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-09 08:01:05 +03:00

19 lines
398 B
Bash

#!/bin/sh
[ "$1" = python3-pytest-xdist ] || exit 0
python3 - << 'EOF'
import xdist
import xdist.plugin
import xdist.scheduler
# Verify version
assert xdist.__version__, "xdist version is empty"
# Verify key scheduler classes are importable
from xdist.scheduler import LoadScheduling, EachScheduling
sched = LoadScheduling.__name__
assert sched == 'LoadScheduling'
print("pytest-xdist OK")
EOF