From 6e7b4ec67d6db9f9ea88fd24fac5378d53677909 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 21 Feb 2022 18:45:17 +0000 Subject: Nuke the `tox` packaging job It only checked the manifest, and there is no manifest any more. --- .github/workflows/tests.yml | 1 - synapse/__init__.py | 7 ++----- tox.ini | 10 +--------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2afddf58d1..5d20bd65d2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,6 @@ jobs: - "check_codestyle" - "check_isort" - "mypy" - - "packaging" steps: - uses: actions/checkout@v2 diff --git a/synapse/__init__.py b/synapse/__init__.py index 88aef1889c..9d0707fdd2 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -70,9 +70,6 @@ except ImportError: __version__ = "1.55.2" -if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): - # We import here so that we don't have to install a bunch of deps when - # running the packaging tox test. - from synapse.util.patch_inline_callbacks import do_patch +from synapse.util.patch_inline_callbacks import do_patch - do_patch() +do_patch() diff --git a/tox.ini b/tox.ini index 3ffd2c3e97..69476b5869 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort +envlist = py37, py38, py39, py310, check_codestyle, check_isort # we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208 minversion = 2.3.2 @@ -138,14 +138,6 @@ setenv = commands = python -m synmark {posargs:} -[testenv:packaging] -skip_install = true -usedevelop = false -deps = - check-manifest -commands = - check-manifest - [testenv:check_codestyle] extras = lint commands = -- cgit 1.4.1