From cf3602ffa7396d8f784c1a1e814ff24c6c31f793 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 3 May 2023 10:43:46 -0400 Subject: test: skip a test that crashes setuptools>66 --- tests/test_process.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_process.py b/tests/test_process.py index bdfa3316..e06b86f5 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -8,6 +8,7 @@ from __future__ import annotations import glob import os import os.path +import platform import re import stat import sys @@ -837,6 +838,12 @@ class EnvironmentTest(CoverageTest): assert "hello-xyzzy" in out @pytest.mark.skipif(env.WINDOWS, reason="Windows can't make symlinks") + @pytest.mark.skipif( + platform.python_version().endswith("+"), + reason="setuptools barfs on dev versions: https://github.com/pypa/packaging/issues/678" + # https://github.com/nedbat/coveragepy/issues/1556 + # TODO: get rid of pkg_resources + ) def test_bug_862(self) -> None: # This simulates how pyenv and pyenv-virtualenv end up creating the # coverage executable. -- cgit v1.2.1