diff options
author | David Robertson <davidr@element.io> | 2022-02-21 18:45:17 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-03-14 12:11:20 +0000 |
commit | 85935ffb37bca4e890271eac04527339e838699c (patch) | |
tree | 4c7f7c99222023f9bc7ce18ed607dcfd9f219fbd | |
parent | Deprecate the groups/communities endpoints and add an experimental configurat... (diff) | |
download | synapse-85935ffb37bca4e890271eac04527339e838699c.tar.xz |
Nuke the `tox` packaging job
It only checked the manifest, and there is no manifest any more.
-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 613a773775..d705754ac5 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 4b00565976..c10f222777 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -70,9 +70,6 @@ except ImportError: __version__ = "1.54.0" -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 = |