Created
March 6, 2018 13:24
-
-
Save ethanhs/f782bec70eab0678d9e869465b40a571 to your computer and use it in GitHub Desktop.
Changing default python version in mypy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Worker information | |
hostname: 26f6015e-26d2-496e-a5c1-f4148fa0eb71@1.i-0198d17-production-2-worker-org-ec2.travisci.net | |
version: v3.5.0 https://github.com/travis-ci/worker/tree/77dbc57c72d00592aeb754773b712da843c7e00d | |
instance: 24be829 travisci/ci-garnet:packer-1512502276-986baf0 (via amqp) | |
startup: 417.936957ms | |
mode of ‘/usr/local/clang-5.0.0/bin’ changed from 0777 (rwxrwxrwx) to 0775 (rwxrwxr-x) | |
system_info | |
Build system information | |
Build language: python | |
Build group: stable | |
Build dist: trusty | |
Build id: 349806362 | |
Job id: 349806363 | |
Runtime kernel version: 4.14.12-041412-generic | |
travis-build version: 0cb66e041 | |
Build image provisioning date and time | |
Tue Dec 5 20:11:19 UTC 2017 | |
Operating System Details | |
Distributor ID: Ubuntu | |
Description: Ubuntu 14.04.5 LTS | |
Release: 14.04 | |
Codename: trusty | |
Cookbooks Version | |
7c2c6a6 https://github.com/travis-ci/travis-cookbooks/tree/7c2c6a6 | |
git version | |
git version 2.15.1 | |
bash version | |
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) | |
gcc version | |
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 | |
Copyright (C) 2013 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
docker version | |
Client: | |
Version: 17.09.0-ce | |
API version: 1.32 | |
Go version: go1.8.3 | |
Git commit: afdb6d4 | |
Built: Tue Sep 26 22:39:28 2017 | |
OS/Arch: linux/amd64 | |
clang version | |
clang version 5.0.0 (tags/RELEASE_500/final) | |
Target: x86_64-unknown-linux-gnu | |
Thread model: posix | |
InstalledDir: /usr/local/clang-5.0.0/bin | |
jq version | |
jq-1.5 | |
bats version | |
Bats 0.4.0 | |
shellcheck version | |
0.4.6 | |
shfmt version | |
v2.0.0 | |
ccache version | |
ccache version 3.1.9 | |
Copyright (C) 2002-2007 Andrew Tridgell | |
Copyright (C) 2009-2011 Joel Rosdahl | |
This program is free software; you can redistribute it and/or modify it under | |
the terms of the GNU General Public License as published by the Free Software | |
Foundation; either version 3 of the License, or (at your option) any later | |
version. | |
cmake version | |
cmake version 3.9.2 | |
CMake suite maintained and supported by Kitware (kitware.com/cmake). | |
heroku version | |
heroku-cli/6.14.39-addc925 (linux-x64) node-v9.2.0 | |
imagemagick version | |
Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org | |
md5deep version | |
4.2 | |
mercurial version | |
Mercurial Distributed SCM (version 4.2.2) | |
(see https://mercurial-scm.org for more information) | |
Copyright (C) 2005-2017 Matt Mackall and others | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
mysql version | |
mysql Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using EditLine wrapper | |
openssl version | |
OpenSSL 1.0.1f 6 Jan 2014 | |
packer version | |
Packer v1.0.2 | |
Your version of Packer is out of date! The latest version | |
is 1.1.2. You can update by downloading from www.packer.io | |
postgresql client version | |
psql (PostgreSQL) 9.6.6 | |
ragel version | |
Ragel State Machine Compiler version 6.8 Feb 2013 | |
Copyright (c) 2001-2009 by Adrian Thurston | |
subversion version | |
svn, version 1.8.8 (r1568071) | |
compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu | |
Copyright (C) 2013 The Apache Software Foundation. | |
This software consists of contributions made by many people; | |
see the NOTICE file for more information. | |
Subversion is open source software, see http://subversion.apache.org/ | |
The following repository access (RA) modules are available: | |
* ra_svn : Module for accessing a repository using the svn network protocol. | |
- with Cyrus SASL authentication | |
- handles 'svn' scheme | |
* ra_local : Module for accessing a repository on local disk. | |
- handles 'file' scheme | |
* ra_serf : Module for accessing a repository via WebDAV protocol using serf. | |
- using serf 1.3.3 | |
- handles 'http' scheme | |
- handles 'https' scheme | |
sudo version | |
Sudo version 1.8.9p5 | |
Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux | |
Sudoers policy plugin version 1.8.9p5 | |
Sudoers file grammar version 43 | |
Sudoers path: /etc/sudoers | |
Authentication methods: 'pam' | |
Syslog facility if syslog is being used for logging: authpriv | |
Syslog priority to use when user authenticates successfully: notice | |
Syslog priority to use when user authenticates unsuccessfully: alert | |
Send mail if the user is not in sudoers | |
Use a separate timestamp for each user/tty combo | |
Lecture user the first time they run sudo | |
Root may run sudo | |
Allow some information gathering to give useful error messages | |
Require fully-qualified hostnames in the sudoers file | |
Visudo will honor the EDITOR environment variable | |
Set the LOGNAME and USER environment variables | |
Length at which to wrap log file lines (0 for no wrap): 80 | |
Authentication timestamp timeout: 15.0 minutes | |
Password prompt timeout: 0.0 minutes | |
Number of tries to enter a password: 3 | |
Umask to use or 0777 to use user's: 022 | |
Path to mail program: /usr/sbin/sendmail | |
Flags for mail program: -t | |
Address to send mail to: root | |
Subject line for mail messages: *** SECURITY information for %h *** | |
Incorrect password message: Sorry, try again. | |
Path to authentication timestamp dir: /var/lib/sudo | |
Default password prompt: [sudo] password for %p: | |
Default user to run commands as: root | |
Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin | |
Path to the editor for use by visudo: /usr/bin/editor | |
When to require a password for 'list' pseudocommand: any | |
When to require a password for 'verify' pseudocommand: all | |
File descriptors >= 3 will be closed before executing a command | |
Environment variables to check for sanity: | |
TZ | |
TERM | |
LINGUAS | |
LC_* | |
LANGUAGE | |
LANG | |
COLORTERM | |
Environment variables to remove: | |
RUBYOPT | |
RUBYLIB | |
PYTHONUSERBASE | |
PYTHONINSPECT | |
PYTHONPATH | |
PYTHONHOME | |
TMPPREFIX | |
ZDOTDIR | |
READNULLCMD | |
NULLCMD | |
FPATH | |
PERL5DB | |
PERL5OPT | |
PERL5LIB | |
PERLLIB | |
PERLIO_DEBUG | |
JAVA_TOOL_OPTIONS | |
SHELLOPTS | |
GLOBIGNORE | |
PS4 | |
BASH_ENV | |
ENV | |
TERMCAP | |
TERMPATH | |
TERMINFO_DIRS | |
TERMINFO | |
_RLD* | |
LD_* | |
PATH_LOCALE | |
NLSPATH | |
HOSTALIASES | |
RES_OPTIONS | |
LOCALDOMAIN | |
CDPATH | |
IFS | |
Environment variables to preserve: | |
JAVA_HOME | |
TRAVIS | |
CI | |
DEBIAN_FRONTEND | |
XAUTHORIZATION | |
XAUTHORITY | |
PS2 | |
PS1 | |
PATH | |
LS_COLORS | |
KRB5CCNAME | |
HOSTNAME | |
HOME | |
DISPLAY | |
COLORS | |
Locale to use while parsing sudoers: C | |
Directory in which to store input/output logs: /var/log/sudo-io | |
File in which to store the input/output log: %{seq} | |
Add an entry to the utmp/utmpx file when allocating a pty | |
PAM service name to use | |
PAM service name to use for login shells | |
Create a new PAM session for the command to run in | |
Maximum I/O log sequence number: 0 | |
Local IP address and netmask pairs: | |
172.17.0.2/255.255.0.0 | |
Sudoers I/O plugin version 1.8.9p5 | |
gzip version | |
gzip 1.6 | |
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. | |
Copyright (C) 1993 Jean-loup Gailly. | |
This is free software. You may redistribute copies of it under the terms of | |
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. | |
There is NO WARRANTY, to the extent permitted by law. | |
Written by Jean-loup Gailly. | |
zip version | |
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. | |
This is Zip 3.0 (July 5th 2008), by Info-ZIP. | |
Currently maintained by E. Gordon. Please send bug reports to | |
the authors using the web page at www.info-zip.org; see README for details. | |
Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip, | |
as of above date; see http://www.info-zip.org/ for other sites. | |
Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013. | |
Zip special compilation options: | |
USE_EF_UT_TIME (store Universal Time) | |
BZIP2_SUPPORT (bzip2 library version 1.0.6, 6-Sept-2010) | |
bzip2 code and library copyright (c) Julian R Seward | |
(See the bzip2 license for terms of use) | |
SYMLINK_SUPPORT (symbolic links supported) | |
LARGE_FILE_SUPPORT (can read and write large files on file system) | |
ZIP64_SUPPORT (use Zip64 to store large files in archives) | |
UNICODE_SUPPORT (store and read UTF-8 Unicode paths) | |
STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field) | |
UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used) | |
[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3) | |
Encryption notice: | |
The encryption code of this program is not copyrighted and is | |
put in the public domain. It was originally written in Europe | |
and, to the best of our knowledge, can be freely distributed | |
in both source and object forms from any country, including | |
the USA under License Exception TSU of the U.S. Export | |
Administration Regulations (section 740.13(e)) of 6 June 2002. | |
Zip environment options: | |
ZIP: [none] | |
ZIPOPT: [none] | |
vim version | |
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18) | |
Included patches: 1-52 | |
Extra patches: 8.0.0056 | |
Modified by pkg-vim-maintainers@lists.alioth.debian.org | |
Compiled by buildd@ | |
Huge version without GUI. Features included (+) or not (-): | |
+acl +farsi +mouse_netterm +syntax | |
+arabic +file_in_path +mouse_sgr +tag_binary | |
+autocmd +find_in_path -mouse_sysmouse +tag_old_static | |
-balloon_eval +float +mouse_urxvt -tag_any_white | |
-browse +folding +mouse_xterm -tcl | |
++builtin_terms -footer +multi_byte +terminfo | |
+byte_offset +fork() +multi_lang +termresponse | |
+cindent +gettext -mzscheme +textobjects | |
-clientserver -hangul_input +netbeans_intg +title | |
-clipboard +iconv +path_extra -toolbar | |
+cmdline_compl +insert_expand -perl +user_commands | |
+cmdline_hist +jumplist +persistent_undo +vertsplit | |
+cmdline_info +keymap +postscript +virtualedit | |
+comments +langmap +printer +visual | |
+conceal +libcall +profile +visualextra | |
+cryptv +linebreak +python +viminfo | |
+cscope +lispindent -python3 +vreplace | |
+cursorbind +listcmds +quickfix +wildignore | |
+cursorshape +localmap +reltime +wildmenu | |
+dialog_con -lua +rightleft +windows | |
+diff +menu -ruby +writebackup | |
+digraphs +mksession +scrollbind -X11 | |
-dnd +modify_fname +signs -xfontset | |
-ebcdic +mouse +smartindent -xim | |
+emacs_tags -mouseshape -sniff -xsmp | |
+eval +mouse_dec +startuptime -xterm_clipboard | |
+ex_extra +mouse_gpm +statusline -xterm_save | |
+extra_search -mouse_jsbterm -sun_workshop -xpm | |
system vimrc file: "$VIM/vimrc" | |
user vimrc file: "$HOME/.vimrc" | |
2nd user vimrc file: "~/.vim/vimrc" | |
user exrc file: "$HOME/.exrc" | |
fall-back for $VIM: "/usr/share/vim" | |
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 | |
Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions | |
iptables version | |
iptables v1.4.21 | |
curl version | |
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 | |
wget version | |
GNU Wget 1.15 built on linux-gnu. | |
rsync version | |
rsync version 3.1.0 protocol version 31 | |
gimme version | |
v1.2.0 | |
nvm version | |
0.33.6 | |
perlbrew version | |
/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.80 | |
phpenv version | |
rbenv 1.1.1-25-g6aa70b6 | |
rvm version | |
rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] | |
default ruby version | |
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] | |
CouchDB version | |
couchdb 1.6.1 | |
ElasticSearch version | |
5.5.0 | |
Installed Firefox version | |
firefox 56.0.2 | |
MongoDB version | |
MongoDB 3.4.10 | |
PhantomJS version | |
2.1.1 | |
Pre-installed PostgreSQL versions | |
9.2.24 | |
9.3.20 | |
9.4.15 | |
9.5.10 | |
9.6.6 | |
3.6.14 | |
Redis version | |
redis-server 4.0.6 | |
riak version | |
2.2.3 | |
Pre-installed Go versions | |
1.7.4 | |
ant version | |
Apache Ant(TM) version 1.9.3 compiled on April 8 2014 | |
mvn version | |
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) | |
Maven home: /usr/local/maven-3.5.2 | |
Java version: 1.8.0_151, vendor: Oracle Corporation | |
Java home: /usr/lib/jvm/java-8-oracle/jre | |
Default locale: en_US, platform encoding: UTF-8 | |
OS name: "linux", version: "4.4.0-101-generic", arch: "amd64", family: "unix" | |
gradle version | |
------------------------------------------------------------ | |
Gradle 4.0.1 | |
------------------------------------------------------------ | |
Build time: 2017-07-07 14:02:41 UTC | |
Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826 | |
Groovy: 2.4.11 | |
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 | |
JVM: 1.8.0_151 (Oracle Corporation 25.151-b12) | |
OS: Linux 4.4.0-101-generic amd64 | |
lein version | |
Leiningen 2.8.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM | |
Pre-installed Node.js versions | |
v4.8.6 | |
v6.12.0 | |
v6.12.1 | |
v8.9 | |
v8.9.1 | |
phpenv versions | |
system | |
5.6 | |
* 5.6.32 (set by /home/travis/.phpenv/version) | |
7.0 | |
7.0.25 | |
7.1 | |
7.1.11 | |
hhvm | |
hhvm-stable | |
composer --version | |
Composer version 1.5.2 2017-09-11 16:59:25 | |
Pre-installed Ruby versions | |
ruby-2.2.7 | |
ruby-2.3.4 | |
ruby-2.4.1 | |
removed ‘/etc/apt/sources.list.d/basho_riak.list’ | |
127.0.0.1 localhost | |
::1 ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters | |
172.17.0.16 travis-job-python-mypy-349806363.travisci.net travis-job-python-mypy-349806363 | |
W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1) | |
3.4 is not installed; attempting download | |
Downloading archive: https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.4.tar.bz2 | |
$ sudo tar xjf python-3.4.tar.bz2 --directory / | |
git.checkout | |
0.82s$ git clone --depth=50 https://github.com/python/mypy.git python/mypy | |
Cloning into 'python/mypy'... | |
remote: Counting objects: 833, done. | |
remote: Compressing objects: 100% (554/554), done. | |
remote: Total 833 (delta 356), reused 440 (delta 263), pack-reused 0 | |
Receiving objects: 100% (833/833), 1.24 MiB | 10.02 MiB/s, done. | |
Resolving deltas: 100% (356/356), done. | |
$ cd python/mypy | |
0.35s$ git fetch origin +refs/pull/4686/merge: | |
remote: Counting objects: 6, done. | |
remote: Compressing objects: 100% (2/2), done. | |
remote: Total 6 (delta 4), reused 5 (delta 4), pack-reused 0 | |
Unpacking objects: 100% (6/6), done. | |
From https://github.com/python/mypy | |
* branch refs/pull/4686/merge -> FETCH_HEAD | |
$ git checkout -qf FETCH_HEAD | |
git.submodule | |
1.43s$ git submodule update --init --recursive | |
Submodule 'typeshed' (https://github.com/python/typeshed) registered for path 'typeshed' | |
Cloning into '/home/travis/build/python/mypy/typeshed'... | |
Submodule path 'typeshed': checked out '9b6df1d6bcb367e6dfc8fc48737ff481001d8b97' | |
0.01s$ source ~/virtualenv/python3.4/bin/activate | |
cache.1 | |
Setting up build cache | |
$ export CASHER_DIR=$HOME/.casher | |
0.06s$ Installing caching utilities | |
0.01s | |
6.73sattempting to download cache archive | |
fetching PR.4686/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--python-3.4.tgz | |
fetching PR.4686/cache--python-3.4.tgz | |
fetching master/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--python-3.4.tgz | |
found cache | |
cache.pip | |
0.01s | |
2.71sadding /home/travis/.cache/pip to cache | |
$ python --version | |
Python 3.4.6 | |
$ pip --version | |
pip 9.0.1 from /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages (python 3.4) | |
install.1 | |
2.58s$ pip install -U pip setuptools wheel | |
Requirement already up-to-date: pip in /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages | |
Collecting setuptools | |
Using cached setuptools-38.5.1-py2.py3-none-any.whl | |
Collecting wheel | |
Using cached wheel-0.30.0-py2.py3-none-any.whl | |
Installing collected packages: setuptools, wheel | |
Found existing installation: setuptools 35.0.2 | |
Uninstalling setuptools-35.0.2: | |
Successfully uninstalled setuptools-35.0.2 | |
Found existing installation: wheel 0.29.0 | |
Uninstalling wheel-0.29.0: | |
Successfully uninstalled wheel-0.29.0 | |
Successfully installed setuptools-38.5.1 wheel-0.30.0 | |
install.2 | |
5.68s$ pip install -r test-requirements.txt | |
Ignoring flake8-bugbear: markers 'python_version >= "3.5"' don't match your environment | |
Ignoring flake8-pyi: markers 'python_version >= "3.6"' don't match your environment | |
Collecting flake8 (from -r test-requirements.txt (line 1)) | |
Using cached flake8-3.5.0-py2.py3-none-any.whl | |
Collecting lxml==4.1.1 (from -r test-requirements.txt (line 4)) | |
Using cached lxml-4.1.1-cp34-cp34m-manylinux1_x86_64.whl | |
Collecting psutil==5.4.0 (from -r test-requirements.txt (line 5)) | |
Requirement already satisfied: pytest>=3.0 in /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages (from -r test-requirements.txt (line 6)) | |
Collecting pytest-xdist>=1.18 (from -r test-requirements.txt (line 7)) | |
Using cached pytest_xdist-1.22.2-py2.py3-none-any.whl | |
Collecting pytest-cov>=2.4.0 (from -r test-requirements.txt (line 8)) | |
Using cached pytest_cov-2.5.1-py2.py3-none-any.whl | |
Collecting typed-ast<1.2.0,>=1.1.0 (from -r test-requirements.txt (line 9)) | |
Using cached typed_ast-1.1.0-cp34-cp34m-manylinux1_x86_64.whl | |
Collecting typing>=3.5.2 (from -r test-requirements.txt (line 10)) | |
Using cached typing-3.6.4-py3-none-any.whl | |
Collecting py>=1.5.2 (from -r test-requirements.txt (line 11)) | |
Using cached py-1.5.2-py2.py3-none-any.whl | |
Collecting pyflakes<1.7.0,>=1.5.0 (from flake8->-r test-requirements.txt (line 1)) | |
Using cached pyflakes-1.6.0-py2.py3-none-any.whl | |
Collecting mccabe<0.7.0,>=0.6.0 (from flake8->-r test-requirements.txt (line 1)) | |
Using cached mccabe-0.6.1-py2.py3-none-any.whl | |
Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8->-r test-requirements.txt (line 1)) | |
Using cached pycodestyle-2.3.1-py2.py3-none-any.whl | |
Requirement already satisfied: setuptools in /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages (from pytest>=3.0->-r test-requirements.txt (line 6)) | |
Collecting pytest-forked (from pytest-xdist>=1.18->-r test-requirements.txt (line 7)) | |
Using cached pytest_forked-0.2-py2.py3-none-any.whl | |
Collecting execnet>=1.1 (from pytest-xdist>=1.18->-r test-requirements.txt (line 7)) | |
Using cached execnet-1.5.0-py2.py3-none-any.whl | |
Collecting coverage>=3.7.1 (from pytest-cov>=2.4.0->-r test-requirements.txt (line 8)) | |
Using cached coverage-4.5.1-cp34-cp34m-manylinux1_x86_64.whl | |
Collecting apipkg>=1.4 (from execnet>=1.1->pytest-xdist>=1.18->-r test-requirements.txt (line 7)) | |
Using cached apipkg-1.4-py2.py3-none-any.whl | |
Installing collected packages: pyflakes, mccabe, pycodestyle, flake8, lxml, psutil, pytest-forked, apipkg, execnet, pytest-xdist, coverage, pytest-cov, typed-ast, typing, py | |
Found existing installation: py 1.4.33 | |
Uninstalling py-1.4.33: | |
Successfully uninstalled py-1.4.33 | |
Successfully installed apipkg-1.4 coverage-4.5.1 execnet-1.5.0 flake8-3.5.0 lxml-4.1.1 mccabe-0.6.1 psutil-5.4.0 py-1.5.2 pycodestyle-2.3.1 pyflakes-1.6.0 pytest-cov-2.5.1 pytest-forked-0.2 pytest-xdist-1.22.2 typed-ast-1.1.0 typing-3.6.4 | |
install.3 | |
1.06s$ python2 -m pip install --user typing | |
Collecting typing | |
Using cached typing-3.6.4-py2-none-any.whl | |
Installing collected packages: typing | |
Successfully installed typing-3.6.4 | |
install.4 | |
4.02s$ pip install . | |
Processing /home/travis/build/python/mypy | |
Requirement already satisfied: typed-ast<1.2.0,>=1.1.0 in /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages (from mypy===0.580-dev-5f73c2d46898d34ff3e40c0d7705b9d9ce4b1b49) | |
Requirement already satisfied: typing>=3.5.3 in /home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages (from mypy===0.580-dev-5f73c2d46898d34ff3e40c0d7705b9d9ce4b1b49) | |
Installing collected packages: mypy | |
Running setup.py install for mypy ... \--done | |
Successfully installed mypy-0.580-dev-5f73c2d46898d34ff3e40c0d7705b9d9ce4b1b49 | |
496.63s$ python runtests.py -j12 -x lint -x package | |
PARALLEL 12 | |
SUMMARY 130 tasks selected | |
============================= test session starts ============================== | |
platform linux -- Python 3.4.6, pytest-3.0.7, py-1.5.2, pluggy-0.4.0 | |
rootdir: /home/travis/build/python/mypy, inifile: pytest.ini | |
plugins: xdist-1.22.2, forked-0.2, cov-2.5.1 | |
gw0 [5979] / gw1 [5979] / gw2 [5979] / gw3 [5979] / gw4 [5979] / gw5 [5979] / gw6 [5979] / gw7 [5979] / gw8 [5979] / gw9 [5979] / gw10 [5979] / gw11 [5979] | |
scheduling tests via LoadScheduling | |
..................s...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s...........................................................................................................................s..................................s..........................................................................s........................................................................................................................................................................................................................................................................................................................................................s..........................................................................................................................................................................................s........................................................................................................................s.s..........s.....................................................................................................................s..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss............................................................................................................................................................................................................................................................................................................................................................................................................................s.............s..................................................................................................................................ss.........................................................................................s........................................................................s................................................................ss.........s............................................................................................................................................................................................................................F...........................................................................................................s................................................s.............................ss......................F...............................................s...........................................s..........s..ss...s..............ss.ss..........ss.s....sssss...s.........s...............................F...s...F.....F.F..sss......s.................F....................sss.............F....s............................................................................s........s..........................................F..............s................s..................................................................s.............................s..............s.s.....s.........................................................................................s.s.................s.........s.s..s...............s................s....s.ss.........................................................................................................................................................................................................sss......................................................................s.................................................................................................................................................................................................................................s............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s...................s...................s.ss..............................................s.....................................................................F..............s................................................F..s...F................................F..........................FF.............................................................................................................F.....F.F...........F.F..F.................................................F.F..FF..FFF.FFF.F..................................................F................................... | |
=================================== FAILURES =================================== | |
________________________ testChangeNamedTupleAttribute _________________________ | |
[gw2] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/diff.test:265: | |
/home/travis/build/python/mypy/mypy/test/testdiff.py:37: in run_case | |
assert files1 is not None and files2 is not None, ('cases where CompileError' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert (None is not None) | |
_______________________________ testGenericTypes _______________________________ | |
[gw2] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/diff.test:387: | |
/home/travis/build/python/mypy/mypy/test/testdiff.py:37: in run_case | |
assert files1 is not None and files2 is not None, ('cases where CompileError' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert (None is not None) | |
_____________________________ testUnionType_types ______________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:704: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
______________________________ testTypeType_types ______________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:723: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
______________________________ testTypeVar_types _______________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:742: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
____________________________ testUnboundType_types _____________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:769: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
________________________________ testTypedDict2 ________________________________ | |
[gw2] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/diff.test:579: | |
/home/travis/build/python/mypy/mypy/test/testdiff.py:37: in run_case | |
assert files1 is not None and files2 is not None, ('cases where CompileError' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert (None is not None) | |
__________________________ testMergeOverloaded_types ___________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:1024: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
_________________________ testMergeTypedDict_symtable __________________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/merge.test:1276: | |
/home/travis/build/python/mypy/mypy/test/testmerge.py:71: in run_case | |
assert manager is not None, 'cases where CompileError occurred should not be run' | |
E AssertionError: cases where CompileError occurred should not be run | |
E assert None is not None | |
_____________________ testNoInvalidTypeInDynamicFunctions ______________________ | |
[gw6] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/semanal-errors.test:1405: | |
/home/travis/build/python/mypy/mypy/test/testsemanal.py:104: in run_case | |
test_semanal_error(testcase) | |
/home/travis/build/python/mypy/mypy/test/testsemanal.py:123: in test_semanal_error | |
'Invalid compiler output ({}, line {})'.format(testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid compiler output (/home/travis/build/python/mypy/test-data/unit/semanal-errors.test, line 1405) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
main:12: error: Invalid type "__main__.T" (diff) | |
Actual: | |
main:5: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
Alignment of first line difference: | |
E: main:12: error: Invalid type "__main__.T"... | |
A: main:5: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
______________________ testNoCrashOnGenericUnionUnpacking ______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/pythoneval.test:1437: | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:41: in run_case | |
test_python_evaluation(testcase) | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:88: in test_python_evaluation | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/pythoneval.test, line 1437) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
_testNoCrashOnGenericUnionUnpacking.py:6: error: Revealed type is 'builtins.str' (diff) | |
_testNoCrashOnGenericUnionUnpacking.py:7: error: Revealed type is 'builtins.str' (diff) | |
_testNoCrashOnGenericUnionUnpacking.py:10: error: Revealed type is 'Union[builtins.str, builtins.int]' (diff) | |
_testNoCrashOnGenericUnionUnpacking.py:11: error: Revealed type is 'Union[builtins.str, builtins.int]' (diff) | |
_testNoCrashOnGenericUnionUnpacking.py:15: error: Revealed type is 'Union[builtins.int*, builtins.str*]' (diff) | |
_testNoCrashOnGenericUnionUnpacking.py:16: error: Revealed type is 'Union[builtins.int*, builtins.str*]' (diff) | |
Actual: | |
_testNoCrashOnGenericUnionUnpacking.py:13: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
Alignment of first line difference: | |
E: ...shOnGenericUnionUnpacking.py:6: error: Revealed type is 'builtins.str... | |
A: ...shOnGenericUnionUnpacking.py:13: error: Variable annotation syntax is... | |
^ | |
________________________ testInternalBuiltinDefinition _________________________ | |
[gw9] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/pythoneval.test:773: | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:41: in run_case | |
test_python_evaluation(testcase) | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:88: in test_python_evaluation | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/pythoneval.test, line 773) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
_testInternalBuiltinDefinition.py:2: error: Name '_T' is not defined (diff) | |
_testInternalBuiltinDefinition.py:3: error: Name 'FrozenSet' is not defined (diff) | |
Actual: | |
_testInternalBuiltinDefinition.py:3: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
Alignment of first line difference: | |
E: ...nalBuiltinDefinition.py:2: error: Name '_T' is not defined... | |
A: ...nalBuiltinDefinition.py:3: error: Variable annotation syntax is only ... | |
^ | |
_______________________________ testTypedDictGet _______________________________ | |
[gw11] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/pythoneval.test:1340: | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:41: in run_case | |
test_python_evaluation(testcase) | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:88: in test_python_evaluation | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/pythoneval.test, line 1340) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
_testTypedDictGet.py:7: error: Revealed type is 'builtins.int' (diff) | |
_testTypedDictGet.py:8: error: Revealed type is 'builtins.str' (diff) | |
_testTypedDictGet.py:9: error: TypedDict "D" has no key 'z' (diff) | |
_testTypedDictGet.py:10: error: No overload variant of "get" of "Mapping" matches argument types [] (diff) | |
_testTypedDictGet.py:12: error: Revealed type is 'builtins.object*' (diff) | |
Actual: | |
_testTypedDictGet.py:6: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
Alignment of first line difference: | |
E: _testTypedDictGet.py:7: error: Revealed type is 'builtins.int'... | |
A: _testTypedDictGet.py:6: error: Variable annotation syntax is only suppor... | |
^ | |
_______________ testCanConvertTypedDictToAnySuperclassOfMapping ________________ | |
[gw11] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/pythoneval.test:1391: | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:41: in run_case | |
test_python_evaluation(testcase) | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:88: in test_python_evaluation | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/pythoneval.test, line 1391) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: error: Incompatible types in assignment (expression has type "Point", variable has type "Iterable[int]") (diff) | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Following member(s) of "Point" have conflicts: (diff) | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Expected: (diff) | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: def __iter__(self) -> Iterator[int] (diff) | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Got: (diff) | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: def __iter__(self) -> Iterator[str] (diff) | |
Actual: | |
_testCanConvertTypedDictToAnySuperclassOfMapping.py:6: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
Alignment of first line difference: | |
E: ...uperclassOfMapping.py:11: error: Incompatible types in assignment (ex... | |
A: ...uperclassOfMapping.py:6: error: Variable annotation syntax is only su... | |
^ | |
_________________________ testAsyncioGatherPreciseType _________________________ | |
[gw11] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/pythoneval.test:1411: | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:41: in run_case | |
test_python_evaluation(testcase) | |
/home/travis/build/python/mypy/mypy/test/testpythoneval.py:88: in test_python_evaluation | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/pythoneval.test, line 1411) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
_testAsyncioGatherPreciseType.py:9: error: Revealed type is 'builtins.str' (diff) | |
_testAsyncioGatherPreciseType.py:10: error: Revealed type is 'builtins.str' (diff) | |
Actual: | |
_testAsyncioGatherPreciseType.py:4: error: Async functions are only supported in Python 3.5 and greater (diff) | |
Alignment of first line difference: | |
E: ...ioGatherPreciseType.py:9: error: Revealed type is 'builtins.str'... | |
A: ...ioGatherPreciseType.py:4: error: Async functions are only supported i... | |
^ | |
_______________________ testDisallowAnyGenericsTypeType ________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:823: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 823) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:4: error: Missing type parameters for generic type (diff) | |
m.py:8: error: Missing type parameters for generic type (diff) | |
Actual: | |
m.py:8: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:4: error: Missing type parameters for generic type... | |
A: m.py:8: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
____________________ testDisallowAnyExplicitVarDeclaration _____________________ | |
[gw1] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:583: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 583) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:2: error: Explicit "Any" is not allowed (diff) | |
m.py:3: error: Explicit "Any" is not allowed (diff) | |
m.py:5: error: Explicit "Any" is not allowed (diff) | |
Actual: | |
m.py:2: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:2: error: Explicit "Any" is not allowed... | |
A: m.py:2: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
_________________ testDisallowAnyExplicitGenericVarDeclaration _________________ | |
[gw1] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:603: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 603) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:2: error: Explicit "Any" is not allowed (diff) | |
Actual: | |
m.py:2: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:2: error: Explicit "Any" is not allowed... | |
A: m.py:2: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
_____________________ testDisallowAnyGenericsGenericAlias ______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:860: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 860) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:6: error: Missing type parameters for generic type (diff) | |
m.py:7: error: Missing type parameters for generic type (diff) | |
m.py:11: error: Missing type parameters for generic type (diff) | |
Actual: | |
m.py:11: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:6: error: Missing type parameters for generic type... | |
A: m.py:11: error: Variable annotation syntax is only supported in Python 3... | |
^ | |
_______________________ testDisallowAnyGenericsPlainList _______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:884: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 884) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:3: error: Missing type parameters for generic type (diff) | |
m.py:5: error: Missing type parameters for generic type (diff) | |
m.py:6: error: Missing type parameters for generic type (diff) | |
m.py:8: error: Need type annotation for 'x' (diff) | |
m.py:9: error: Missing type parameters for generic type (diff) | |
Actual: | |
m.py:9: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:3: error: Missing type parameters for generic type... | |
A: m.py:9: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
__________________ testDisallowAnyGenericsCustomGenericClass ___________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:908: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 908) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:6: error: Missing type parameters for generic type (diff) | |
m.py:10: error: Missing type parameters for generic type (diff) | |
Actual: | |
m.py:9: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:6: error: Missing type parameters for generic type... | |
A: m.py:9: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
_________________________ testOmitDefsNotInAll_import __________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:362: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_vgvc90tr; skipping it | |
__________________________ testVarDefsNotInAll_import __________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:369: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_ohfvlepn; skipping it | |
_______________________ testIncludeClassNotInAll_import ________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:379: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_hjt8g1jf; skipping it | |
____________________________ testAllAndClass_import ____________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:388: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_tjax04og; skipping it | |
______________________ testAnyExpressionsReportTypesOfAny ______________________ | |
[gw4] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/reports.test:283: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:78: in test_python_cmdline | |
path)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Output file tmp/report/types-of-anys.txt did not match its expected output | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
Name Unannotated Explicit Unimported Omitted Generics Error Sp... | |
---------------------------------------------------------------------------... | |
n 2 3 2 1 3 0 (diff) | |
------------------------------------------------------------------------------------- (diff) | |
Total 2 3 2 1 3 0 (diff) | |
Actual: | |
Name Unannotated Explicit Unimported Omitted Generics Error Sp... | |
---------------------------------------------------------------------------... | |
------------------------------------------------------------------------------------- (diff) | |
Total 0 0 0 0 0 0 (diff) | |
Alignment of first line difference: | |
E: n 2 3 2 1 3 ... | |
A: ------------------------------------------------------------------------... | |
^ | |
_____________________ testIncludeFromImportIfInAll_import ______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:424: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_xc3o5wcq; skipping it | |
___________________________ testExportModule_import ____________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:433: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_ctvbq76e; skipping it | |
___________________________ testExportModule_import ____________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:443: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_3q1aw8sz; skipping it | |
__________________________ testExportModuleAs_import ___________________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:453: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_v5risnqn; skipping it | |
______________________ testExportPackageOfAModule_import _______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:469: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_2jwtyxrp; skipping it | |
______________________ testCommentForUndefinedName_import ______________________ | |
[gw10] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/stubgen.test:481: | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:97: in run_case | |
test_stubgen(testcase) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:136: in test_stubgen | |
a = load_output(out_dir) | |
/home/travis/build/python/mypy/mypy/test/teststubgen.py:158: in load_output | |
assert entries, 'No files generated' | |
E AssertionError: No files generated | |
E assert [] | |
----------------------------- Captured stdout call ----------------------------- | |
Failed to import prog_rlpwnkk1; skipping it | |
___________________ testDisallowAnyGenericsTupleNoTypeParams ___________________ | |
[gw3] linux -- Python 3.4.6 /home/travis/virtualenv/python3.4.6/bin/python | |
data: /home/travis/build/python/mypy/test-data/unit/cmdline.test:787: | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:37: in run_case | |
test_python_cmdline(testcase) | |
/home/travis/build/python/mypy/mypy/test/testcmdline.py:86: in test_python_cmdline | |
testcase.file, testcase.line)) | |
/home/travis/build/python/mypy/mypy/test/helpers.py:95: in assert_string_arrays_equal | |
raise AssertionError(msg) | |
E AssertionError: Invalid output (/home/travis/build/python/mypy/test-data/unit/cmdline.test, line 787) | |
----------------------------- Captured stderr call ----------------------------- | |
Expected: | |
m.py:3: error: Missing type parameters for generic type (diff) | |
m.py:4: error: Missing type parameters for generic type (diff) | |
m.py:8: error: Missing type parameters for generic type (diff) | |
Actual: | |
m.py:8: error: Variable annotation syntax is only supported in Python 3.6 and greater (diff) | |
== Return code: 2 (diff) | |
Alignment of first line difference: | |
E: m.py:3: error: Missing type parameters for generic type... | |
A: m.py:8: error: Variable annotation syntax is only supported in Python 3.... | |
^ | |
============= 33 failed, 5858 passed, 88 skipped in 437.23 seconds ============= | |
passed 0, failed 1, pending 129; running 0 | |
FAILURE #0 pytest | |
passed 109, failed 2, pending 8; running 11 | |
FAILURE #118 check file test-data/samples/crawl2.py | |
test-data/samples/crawl2.py:135: error: Async functions are only supported in Python 3.5 and greater | |
passed 122, failed 3, pending 0; running 5 | |
FAILURE #112 check stubs | |
mypy: can't find module 'zipapp' | |
SUMMARY 3/130 tasks and 3/130 tests failed | |
FAILURE pytest | |
FAILURE check file test-data/samples/crawl2.py | |
FAILURE check stubs | |
SUMMARY 3/130 tasks and 3/130 tests failed | |
*** FAILURE *** | |
total runtime: 496.48123719900104 sec | |
The command "python runtests.py -j12 -x lint -x package" exited with 1. | |
0.01s$ if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8; fi | |
The command "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8; fi" exited with 0. | |
0.01s$ if [[ $TRAVIS_PYTHON_VERSION == '3.5.1' ]]; then python runtests.py package; fi | |
The command "if [[ $TRAVIS_PYTHON_VERSION == '3.5.1' ]]; then python runtests.py package; fi" exited with 0. | |
cache.2 | |
store build cache | |
0.01s | |
5.85schange detected (content changed, file is created, or file is deleted): | |
/home/travis/.cache/pip/http/0/1/3/4/f/0134f4b5f5dc24d5a2e17d657916561e530ab3e23e477f736932ec7a | |
/home/travis/.cache/pip/http/0/c/7/8/c/0c78cc5ddccddcf3238359feeac7e1cddd59216d6ded4659cf5965cd | |
/home/travis/.cache/pip/http/0/e/0/a/b/0e0ab53e00e77082f3dbaac4909c2cd08e48803df6ad279051a370ed | |
/home/travis/.cache/pip/http/1/b/b/d/e/1bbde7f10876562f138fa536953ad413bfc645c4f5f79dd4f103eae5 | |
/home/travis/.cache/pip/http/3/a/f/3/a/3af3addf06e983a6c02f46e7bea70c221d3ff95bf1418fa6da354e14 | |
/home/travis/.cache/pip/http/3/d/0/7/9/3d0790aa6d8aba43447ad4d8fdc684c544812f2cc57ad084f4b1b2db | |
/home/travis/.cache/pip/http/4/0/6/e/9/406e9b27a390d51d6f5ba6446b20eddf170d46e00b171bdfa0fbde6b | |
/home/travis/.cache/pip/http/6/3/7/d/d/637ddeefd88d7cc4cd623d2cc6880ec9fbe18fc216d5628bd0493043 | |
/home/travis/.cache/pip/http/6/6/a/8/2/66a824166d39267eb4dfa0ee80bb65a30106494f8240ec06d28ccc5c | |
/home/travis/.cache/pip/http/8/7/9/8/e/8798e1a358dac413add90e628bb3d1fdf797d752747841a07425ff45 | |
/home/travis/.cache/pip/http/9/8/6/9/9/98 | |
... | |
changes detected, packing new archive | |
uploading archive | |
Done. Your build exited with 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment