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

Commit 88b9414

Browse files
authored
Merge pull request #9769 from matrix-org/rav/fix_bionic
Fix incompatibility with bionic
2 parents be0e722 + 906065c commit 88b9414

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/usr/bin/env bash
22

33
# this script is run by buildkite in a plain `xenial` container; it installs the
4-
# minimal requirements for tox and hands over to the py35-old tox environment.
4+
# minimal requirements for tox and hands over to the py3-old tox environment.
55

66
set -ex
77

88
apt-get update
9-
apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox
9+
apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox
1010

1111
export LANG="C.UTF-8"
1212

1313
# Prevent virtualenv from auto-updating pip to an incompatible version
1414
export VIRTUALENV_NO_DOWNLOAD=1
1515

16-
exec tox -e py35-old,combine
16+
exec tox -e py3-old,combine

changelog.d/9769.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix incompatibility with `tox` 2.5.

tox.ini

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ commands =
7474
# we use "env" rather than putting a value in `setenv` so that it is not
7575
# inherited by other tox environments.
7676
#
77-
# keep this in sync with the copy in `testenv:py35-old`.
77+
# keep this in sync with the copy in `testenv:py3-old`.
7878
#
7979
/usr/bin/env COVERAGE_PROCESS_START={toxinidir}/.coveragerc "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}
8080

@@ -103,8 +103,9 @@ usedevelop=true
103103

104104
# A test suite for the oldest supported versions of Python libraries, to catch
105105
# any uses of APIs not available in them.
106-
[testenv:py35-old]
107-
skip_install=True
106+
[testenv:py3-old]
107+
skip_install = true
108+
usedevelop = false
108109
deps =
109110
# Old automat version for Twisted
110111
Automat == 0.3.0
@@ -136,7 +137,8 @@ commands =
136137
python -m synmark {posargs:}
137138

138139
[testenv:packaging]
139-
skip_install=True
140+
skip_install = true
141+
usedevelop = false
140142
deps =
141143
check-manifest
142144
commands =
@@ -154,7 +156,8 @@ extras = lint
154156
commands = isort -c --df --sp setup.cfg {[base]lint_targets}
155157

156158
[testenv:check-newsfragment]
157-
skip_install = True
159+
skip_install = true
160+
usedevelop = false
158161
deps = towncrier>=18.6.0rc1
159162
commands =
160163
python -m towncrier.check --compare-with=origin/develop
@@ -163,7 +166,8 @@ commands =
163166
commands = {toxinidir}/scripts-dev/generate_sample_config --check
164167

165168
[testenv:combine]
166-
skip_install = True
169+
skip_install = true
170+
usedevelop = false
167171
deps =
168172
coverage
169173
pip>=10 ; python_version >= '3.6'
@@ -173,14 +177,16 @@ commands=
173177
coverage report
174178

175179
[testenv:cov-erase]
176-
skip_install = True
180+
skip_install = true
181+
usedevelop = false
177182
deps =
178183
coverage
179184
commands=
180185
coverage erase
181186

182187
[testenv:cov-html]
183-
skip_install = True
188+
skip_install = true
189+
usedevelop = false
184190
deps =
185191
coverage
186192
commands=

0 commit comments

Comments
 (0)