Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit d921e5d

Browse files
author
David Robertson
committed
Nuke the tox packaging job
It only checks the manifest. Once #11537 lands there won't be a manifest any more.
1 parent 8a519f8 commit d921e5d

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

.github/workflows/tests.yml

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
- "check_codestyle"
2828
- "check_isort"
2929
- "mypy"
30-
- "packaging"
3130

3231
steps:
3332
- uses: actions/checkout@v2

synapse/__init__.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@
7070

7171
__version__ = "1.55.2"
7272

73-
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
74-
# We import here so that we don't have to install a bunch of deps when
75-
# running the packaging tox test.
76-
from synapse.util.patch_inline_callbacks import do_patch
73+
from synapse.util.patch_inline_callbacks import do_patch
7774

78-
do_patch()
75+
do_patch()

tox.ini

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort
2+
envlist = py37, py38, py39, py310, check_codestyle, check_isort
33

44
# we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
55
minversion = 2.3.2
@@ -138,14 +138,6 @@ setenv =
138138
commands =
139139
python -m synmark {posargs:}
140140

141-
[testenv:packaging]
142-
skip_install = true
143-
usedevelop = false
144-
deps =
145-
check-manifest
146-
commands =
147-
check-manifest
148-
149141
[testenv:check_codestyle]
150142
extras = lint
151143
commands =

0 commit comments

Comments
 (0)