python-pytest-xdist: update to 3.8.0
authorAlexandru Ardelean <redacted>
Sat, 4 Apr 2026 20:29:20 +0000 (23:29 +0300)
committerAlexandru Ardelean <redacted>
Thu, 9 Apr 2026 05:01:05 +0000 (08:01 +0300)
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 <redacted>
lang/python/python-pytest-xdist/Makefile
lang/python/python-pytest-xdist/test.sh [new file with mode: 0644]

index 041f1ac0136825053dfdb725c9ff06ed165a20dc..3ffd04bd6489b0432304449c4ee47916bac54540 100644 (file)
@@ -8,11 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-pytest-xdist
-PKG_VERSION:=3.3.1
+PKG_VERSION:=3.8.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=pytest-xdist
-PKG_HASH:=d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93
+PYPI_SOURCE_NAME:=pytest_xdist
+PKG_HASH:=7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=MIT
diff --git a/lang/python/python-pytest-xdist/test.sh b/lang/python/python-pytest-xdist/test.sh
new file mode 100644 (file)
index 0000000..d6a2168
--- /dev/null
@@ -0,0 +1,18 @@
+#!/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
git clone https://git.99rst.org/PROJECT