Skip to content

Commit 3d8c822

Browse files
ngzhiangumb0
authored andcommitted
Set travis env to Python 3.7 (WebAssembly#1151)
* Set travis env to Python 3.7 Bikeshed requires 3.7, see speced/bikeshed#321 (comment) * Fix import of queue for python3 * Missed 1 more Queue * Update shebangs to python3
1 parent c559d91 commit 3d8c822

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: c++
22
language: python
33
python:
4-
- "2.7"
4+
- "3.7"
55

66
sudo: on
77

document/core/util/bikeshed_fixup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python
1+
#! /usr/bin/env python3
22
# -*- coding: latin-1 -*-
33

44
import os

document/core/util/mathjax2katex.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#! /usr/bin/env python
1+
#! /usr/bin/env python3
22
# -*- coding: latin-1 -*-
33

4-
import Queue
4+
import queue
55
import os
66
import re
77
import shelve
@@ -239,7 +239,7 @@ def Worker():
239239
q.task_done()
240240
sys.stderr.write('.')
241241

242-
q = Queue.Queue()
242+
q = queue.Queue()
243243
for i in range(40):
244244
t = threading.Thread(target=Worker)
245245
t.daemon = True

test/core/run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
from __future__ import print_function
44
import argparse

0 commit comments

Comments
 (0)