diff options
-rw-r--r-- | .github/workflows/tests.yml | 1 | ||||
-rw-r--r-- | synapse/__init__.py | 7 | ||||
-rw-r--r-- | 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 = |