Blob Blame History Raw
From c9e04ccb0455a0c212649022691693e8eb39c54d Mon Sep 17 00:00:00 2001
From: Joel Capitao <jcapitao@redhat.com>
Date: Thu, 6 Feb 2025 07:42:34 -0500
Subject: [PATCH] Remove zope-testrunner usage

---
 poetry.lock    | 21 ---------------------
 pyproject.toml |  1 -
 tox.ini        |  2 --
 3 files changed, 24 deletions(-)

diff --git a/poetry.lock b/poetry.lock
index b0f7a5d..8a7e273 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1993,27 +1993,6 @@ docs = ["Sphinx", "furo", "repoze.sphinx.autointerface"]
 test = ["coverage[toml]", "zope.event", "zope.testing"]
 testing = ["coverage[toml]", "zope.event", "zope.testing"]
 
-[[package]]
-name = "zope-testrunner"
-version = "6.6.1"
-description = "Zope testrunner script."
-optional = false
-python-versions = ">=3.8"
-files = [
-    {file = "zope.testrunner-6.6.1-py3-none-any.whl", hash = "sha256:6d3f19d19601006fcee110826391502f9a148541ecb18ec41358f182426f8d21"},
-    {file = "zope_testrunner-6.6.1.tar.gz", hash = "sha256:949426d4ae5f572dc8a6b07309f26f4da4e63e6f91e03bc7c4b9f5b8f6db0650"},
-]
-
-[package.dependencies]
-setuptools = "*"
-"zope.exceptions" = "*"
-"zope.interface" = "*"
-
-[package.extras]
-docs = ["Sphinx", "sphinxcontrib-programoutput"]
-subunit = ["python-subunit (>=1.4.3)", "testtools (>=0.9.30)"]
-test = ["zope.testing"]
-
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.8.0"
diff --git a/pyproject.toml b/pyproject.toml
index 005d421..2b371ad 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -68,7 +68,6 @@ markdown-include = "*"
 mkdocstrings = { extras = ["python-legacy"], version = "*" }
 testtools = "*"
 myst-parser = "*"
-"zope.testrunner" = "*"
 python-subunit = "*"
 teamcity-messages = "*"
 # Sphinx v7 drops setuptools support.
diff --git a/tox.ini b/tox.ini
index 0b9474a..f94656a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,6 @@ deps =
     pytest8: pytest>=8.0,<9.0
     pytest-latest: pytest
     twisted
-    zope.testrunner
     testtools
     python-subunit
     teamcity-messages
@@ -37,7 +36,6 @@ commands =
     python tests/test_unittest.py
     python tests/test_doctest.py
     python -c "from twisted.scripts.trial import run; run();" tests/test_generic_integration.py
-    zope-testrunner  --test-path=./ --test-file-pattern=test_generic_integration --verbose
     python -m testtools.run --verbose tests/test_testtools.py
     sh -c 'python -m subunit.run tests/test_generic_integration.py | subunit2pyunit'
     python tests/test_teamcity.py
-- 
2.43.5