Skip to content

Commit 6b59c30

Browse files
committed
Python 3.8 fixes
1 parent 52d5a7a commit 6b59c30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get_simple_vars_from_src(
176176
if sys.version_info[:2] < (3, 8):
177177
ast_data = (ast.Str, ast.Num, ast.List, ast.Set, ast.Dict, ast.Tuple, ast.Bytes, ast.NameConstant, ast.Ellipsis)
178178
else:
179-
ast_data = ast.Constant
179+
ast_data = (ast.Constant, ast.List, ast.Set, ast.Dict, ast.Tuple)
180180

181181
tree = ast.parse(src)
182182

tools/build-wheels.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
3-
PYTHON_VERSIONS="cp36-cp36m cp37-cp37m"
3+
PYTHON_VERSIONS="cp36-cp36m cp37-cp37m cp38-cp38"
44

55
# Avoid creation of __pycache__/*.py[c|o]
66
export PYTHONDONTWRITEBYTECODE=1

0 commit comments

Comments
 (0)