diff --git a/pyproject.toml b/pyproject.toml index 5f209f3..6c44eef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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). diff --git a/src/xdist/__init__.py b/src/xdist/__init__.py index c78b25c..411d793 100644 --- a/src/xdist/__init__.py +++ b/src/xdist/__init__.py @@ -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",