From 997c73ae79dc6a963924b995a47d501ba629b4f8 Mon Sep 17 00:00:00 2001 From: Shantanu Date: Sun, 24 May 2020 18:45:16 -0700 Subject: [PATCH] travis: start testing 3.9 somewhat (#4071) * travis: run stubtest on py39, allowing failures * travis: run mypy with python version 3.9 * boto.compat, base64: fix version handling of (en|de)codebytes * venv: fix #4010 Co-authored-by: hauntsaninja <> --- .travis.yml | 5 +++++ tests/mypy_test.py | 2 +- tests/stubtest_whitelists/py39.txt | 0 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/stubtest_whitelists/py39.txt diff --git a/.travis.yml b/.travis.yml index d52ed0920..04f6473ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,3 +45,8 @@ jobs: python: 3.5 install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py + allow_failures: + - name: "stubtest py39" + python: 3.9-dev + install: pip install -U git+git://github.com/python/mypy + script: ./tests/stubtest_test.py diff --git a/tests/mypy_test.py b/tests/mypy_test.py index 4fae05b3b..5b36c2f54 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -90,7 +90,7 @@ def main(): print("Cannot import mypy. Did you install it?") sys.exit(1) - versions = [(3, 8), (3, 7), (3, 6), (3, 5), (2, 7)] + versions = [(3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7)] if args.python_version: versions = [v for v in versions if any(('%d.%d' % v).startswith(av) for av in args.python_version)] diff --git a/tests/stubtest_whitelists/py39.txt b/tests/stubtest_whitelists/py39.txt new file mode 100644 index 000000000..e69de29bb