Preserve mirrored pytest-xdist version

This commit is contained in:
2026-09-02 15:20:28 -05:00
parent 2b4372bd62
commit 23461ed23b
2 changed files with 4 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
[build-system]
requires = [
"setuptools>=77.0",
"setuptools-scm[toml]>=6.2.3",
]
build-backend = "setuptools.build_meta"
[project]
name = "pytest-xdist"
version = "3.7.1.dev24+g2b4372bd6"
description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs"
readme = "README.rst"
license = "MIT"
@@ -35,7 +35,6 @@ dependencies = [
"execnet>=2.1",
"pytest>=7.0.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/pytest-dev/pytest-xdist"
@@ -53,9 +52,6 @@ testing = ["filelock"]
psutil = ["psutil>=3.0"]
setproctitle = ["setproctitle"]
[tool.setuptools_scm]
write_to = "src/xdist/_version.py"
[tool.pytest.ini_options]
# pytest-services also defines a worker_id fixture, disable
# it so they don't conflict with each other (#611).

View File

@@ -1,10 +1,12 @@
from xdist._version import version as __version__
from xdist.plugin import get_xdist_worker_id
from xdist.plugin import is_xdist_controller
from xdist.plugin import is_xdist_master
from xdist.plugin import is_xdist_worker
__version__ = "3.7.1.dev24+g2b4372bd6"
__all__ = [
"__version__",
"get_xdist_worker_id",