Merge lp:~jelmer/loggerhead/fix-tox into lp:loggerhead

Proposed by Jelmer Vernooij
Status: Merged
Merged at revision: 520
Proposed branch: lp:~jelmer/loggerhead/fix-tox
Merge into: lp:loggerhead
Diff against target: 40 lines (+4/-2)
3 files modified
.bzrignore (+1/-0)
loggerhead/load_test.py (+1/-1)
tox.ini (+2/-1)
To merge this branch: bzr merge lp:~jelmer/loggerhead/fix-tox
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+411874@code.launchpad.net

Commit message

Fix use of tox for loggerhead, and test with py39.

Description of the change

Fix use of tox for loggerhead, and test with py39.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
Revision history for this message
Jelmer Vernooij (jelmer) :
Revision history for this message
Colin Watson (cjwatson) :
review: Approve
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks for the r=approve. Can you mark the entire MP as approved as well so that the bot can land it? I don't have permission to do so.

Revision history for this message
Colin Watson (cjwatson) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2018-09-08 15:16:32 +0000
3+++ .bzrignore 2021-12-15 18:38:30 +0000
4@@ -12,3 +12,4 @@
5 .pydevproject
6 .testrepository
7 MANIFEST
8+.tox
9
10=== modified file 'loggerhead/load_test.py'
11--- loggerhead/load_test.py 2020-07-08 17:14:19 +0000
12+++ loggerhead/load_test.py 2021-12-15 18:38:30 +0000
13@@ -211,7 +211,7 @@
14 # And join the controlling thread
15 for i in range(10):
16 t.join(self.blocking_timeout / 10.0)
17- if not t.isAlive():
18+ if not t.is_alive():
19 break
20
21 def _full_url(self, relpath):
22
23=== modified file 'tox.ini'
24--- tox.ini 2021-07-28 12:27:53 +0000
25+++ tox.ini 2021-12-15 18:38:30 +0000
26@@ -1,5 +1,5 @@
27 [tox]
28-envlist = py27,py35,py36,py37,py38
29+envlist = py27,py35,py36,py37,py38,py39
30 skipsdist=True
31
32 [testenv]
33@@ -8,6 +8,7 @@
34 setenv =
35 py27,py35: VIRTUALENV_DOWNLOAD = 0
36 py27,py35: VIRTUALENV_PIP = 20.3.4
37+ BRZ_PLUGIN_PATH=-user:-site
38 BRZ_PLUGINS_AT = loggerhead@{toxinidir}
39
40 [testenv:py27]

Subscribers

People subscribed via source and target branches