Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 661656 Details for
Bug 743784
dev-python/python-dotenv-0.14.0 fails tests (when dev-python/python-dotenv is not already installed)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 33.09 KB, created by
Agostino Sarubbo
on 2020-09-20 16:41:08 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-20 16:41:08 UTC
Size:
33.09 KB
patch
obsolete
> * Package: dev-python/python-dotenv-0.14.0 > * Repository: gentoo > * Maintainer: sping@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/2df092e6e3668503e631f22492395df4adde26a8 (Sun Sep 20 11:35:29 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.7 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 >KiB Mem: 64359960 total, 17862600 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Sun, 20 Sep 2020 11:35:28 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r3::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc2::gentoo >dev-util/cmake: 3.18.2::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r1::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* BSD" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/dev-python/python-dotenv-0.14.0/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_6 python3_7 python3_8 python3_9" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking python-dotenv-0.14.0.tar.gz to /var/tmp/portage/dev-python/python-dotenv-0.14.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-dotenv-0.14.0/work >>>> Preparing source in /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0 ... > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/__init__.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/parser.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/ipython.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/compat.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/main.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/version.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/cli.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >copying src/dotenv/py.typed -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_6/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/__init__.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/parser.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/ipython.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/compat.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/main.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/version.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/cli.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >copying src/dotenv/py.typed -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_7/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile >python3.8 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/__init__.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/parser.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/ipython.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/compat.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/main.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/version.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/cli.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >copying src/dotenv/py.typed -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_8/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/__init__.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/parser.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/ipython.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/compat.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/main.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/version.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/cli.py -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >copying src/dotenv/py.typed -> /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0-python3_9/lib/dotenv >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/python-dotenv-0.14.0 > * python3_6: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.6.12, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.6 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0, configfile: setup.cfg, testpaths: tests >collecting ... collected 112 items > >tests/test_cli.py::test_list PASSED [ 0%] >tests/test_cli.py::test_list_non_existent_file PASSED [ 1%] >tests/test_cli.py::test_list_no_file PASSED [ 2%] >tests/test_cli.py::test_get_existing_value PASSED [ 3%] >tests/test_cli.py::test_get_non_existent_value PASSED [ 4%] >tests/test_cli.py::test_get_no_file PASSED [ 5%] >tests/test_cli.py::test_unset_existing_value PASSED [ 6%] >tests/test_cli.py::test_unset_non_existent_value PASSED [ 7%] >tests/test_cli.py::test_set_options[always-HELLO-WORLD-HELLO="WORLD"\n] PASSED [ 8%] >tests/test_cli.py::test_set_options[never-HELLO-WORLD-HELLO=WORLD\n] PASSED [ 8%] >tests/test_cli.py::test_set_options[auto-HELLO-WORLD-HELLO=WORLD\n] PASSED [ 9%] >tests/test_cli.py::test_set_options[auto-HELLO-HELLO WORLD-HELLO="HELLO WORLD"\n] PASSED [ 10%] >tests/test_cli.py::test_set_non_existent_file PASSED [ 11%] >tests/test_cli.py::test_set_no_file PASSED [ 12%] >tests/test_cli.py::test_get_default_path FAILED [ 13%] >tests/test_cli.py::test_run FAILED [ 14%] >tests/test_cli.py::test_run_with_none_value FAILED [ 15%] >tests/test_cli.py::test_run_with_other_env FAILED [ 16%] >tests/test_cli.py::test_run_without_cmd PASSED [ 16%] >tests/test_cli.py::test_run_with_invalid_cmd PASSED [ 17%] >tests/test_cli.py::test_run_with_version PASSED [ 18%] >tests/test_ipython.py::test_ipython_existing_variable_no_override PASSED [ 19%] >tests/test_ipython.py::test_ipython_existing_variable_override PASSED [ 20%] >tests/test_ipython.py::test_ipython_new_variable PASSED [ 21%] >tests/test_main.py::test_set_key_no_file PASSED [ 22%] >tests/test_main.py::test_set_key[-a--expected0-a=""\n] PASSED [ 23%] >tests/test_main.py::test_set_key[-a-b-expected1-a="b"\n] PASSED [ 24%] >tests/test_main.py::test_set_key[-a-'b'-expected2-a="b"\n] PASSED [ 25%] >tests/test_main.py::test_set_key[-a-"b"-expected3-a="b"\n] PASSED [ 25%] >tests/test_main.py::test_set_key[-a-b'c-expected4-a="b'c"\n] PASSED [ 26%] >tests/test_main.py::test_set_key[-a-b"c-expected5-a="b\\"c"\n] PASSED [ 27%] >tests/test_main.py::test_set_key[a=b-a-c-expected6-a="c"\n] PASSED [ 28%] >tests/test_main.py::test_set_key[a=b\n-a-c-expected7-a="c"\n] PASSED [ 29%] >tests/test_main.py::test_set_key[a=b\n\n-a-c-expected8-a="c"\n\n] PASSED [ 30%] >tests/test_main.py::test_set_key[a=b\nc=d-a-e-expected9-a="e"\nc=d] PASSED [ 31%] >tests/test_main.py::test_set_key[a=b\nc=d\ne=f-c-g-expected10-a=b\nc="g"\ne=f] PASSED [ 32%] >tests/test_main.py::test_set_key[a=b\n-c-d-expected11-a=b\nc="d"\n] PASSED [ 33%] >tests/test_main.py::test_set_key_permission_error PASSED [ 33%] >tests/test_main.py::test_get_key_no_file PASSED [ 34%] >tests/test_main.py::test_get_key_not_found PASSED [ 35%] >tests/test_main.py::test_get_key_ok PASSED [ 36%] >tests/test_main.py::test_get_key_none PASSED [ 37%] >tests/test_main.py::test_unset_with_value PASSED [ 38%] >tests/test_main.py::test_unset_no_value PASSED [ 39%] >tests/test_main.py::test_unset_non_existent_file PASSED [ 40%] >tests/test_main.py::test_find_dotenv_no_file_raise PASSED [ 41%] >tests/test_main.py::test_find_dotenv_no_file_no_raise PASSED [ 41%] >tests/test_main.py::test_find_dotenv_found PASSED [ 42%] >tests/test_main.py::test_load_dotenv_existing_file PASSED [ 43%] >tests/test_main.py::test_load_dotenv_no_file_verbose PASSED [ 44%] >tests/test_main.py::test_load_dotenv_existing_variable_no_override PASSED [ 45%] >tests/test_main.py::test_load_dotenv_existing_variable_override PASSED [ 46%] >tests/test_main.py::test_load_dotenv_utf_8 PASSED [ 47%] >tests/test_main.py::test_load_dotenv_in_current_dir PASSED [ 48%] >tests/test_main.py::test_dotenv_values_file PASSED [ 49%] >tests/test_main.py::test_dotenv_values_stream[env0-a=$b-False-expected0] PASSED [ 50%] >tests/test_main.py::test_dotenv_values_stream[env1-a=$b-True-expected1] PASSED [ 50%] >tests/test_main.py::test_dotenv_values_stream[env2-a=${b}-False-expected2] PASSED [ 51%] >tests/test_main.py::test_dotenv_values_stream[env3-a=${b}-True-expected3] PASSED [ 52%] >tests/test_main.py::test_dotenv_values_stream[env4-a=${b:-d}-False-expected4] PASSED [ 53%] >tests/test_main.py::test_dotenv_values_stream[env5-a=${b:-d}-True-expected5] PASSED [ 54%] >tests/test_main.py::test_dotenv_values_stream[env6-b=c\na=${b}-True-expected6] PASSED [ 55%] >tests/test_main.py::test_dotenv_values_stream[env7-a=${b}-True-expected7] PASSED [ 56%] >tests/test_main.py::test_dotenv_values_stream[env8-a=${b:-d}-True-expected8] PASSED [ 57%] >tests/test_main.py::test_dotenv_values_stream[env9-a="${b}"-True-expected9] PASSED [ 58%] >tests/test_main.py::test_dotenv_values_stream[env10-a='${b}'-True-expected10] PASSED [ 58%] >tests/test_main.py::test_dotenv_values_stream[env11-a=x${b}y-True-expected11] PASSED [ 59%] >tests/test_main.py::test_dotenv_values_stream[env12-a=${a}-True-expected12] PASSED [ 60%] >tests/test_main.py::test_dotenv_values_stream[env13-a=${a}-True-expected13] PASSED [ 61%] >tests/test_main.py::test_dotenv_values_stream[env14-a=${a:-c}-True-expected14] PASSED [ 62%] >tests/test_main.py::test_dotenv_values_stream[env15-a=${a:-c}-True-expected15] PASSED [ 63%] >tests/test_main.py::test_dotenv_values_stream[env16-a=${b}${b}-True-expected16] PASSED [ 64%] >tests/test_main.py::test_dotenv_values_stream[env17-b=d\na=${b}-True-expected17] PASSED [ 65%] >tests/test_parser.py::test_parse_stream[-expected0] PASSED [ 66%] >tests/test_parser.py::test_parse_stream[a=b-expected1] PASSED [ 66%] >tests/test_parser.py::test_parse_stream['a'=b-expected2] PASSED [ 67%] >tests/test_parser.py::test_parse_stream[[=b-expected3] PASSED [ 68%] >tests/test_parser.py::test_parse_stream[ a = b -expected4] PASSED [ 69%] >tests/test_parser.py::test_parse_stream[export a=b-expected5] PASSED [ 70%] >tests/test_parser.py::test_parse_stream[ export 'a'=b-expected6] PASSED [ 71%] >tests/test_parser.py::test_parse_stream[# a=b-expected7] PASSED [ 72%] >tests/test_parser.py::test_parse_stream[a=b#c-expected8] PASSED [ 73%] >tests/test_parser.py::test_parse_stream[a=b # comment-expected9] PASSED [ 74%] >tests/test_parser.py::test_parse_stream[a=b space -expected10] PASSED [ 75%] >tests/test_parser.py::test_parse_stream[a='b space '-expected11] PASSED [ 75%] >tests/test_parser.py::test_parse_stream[a="b space "-expected12] PASSED [ 76%] >tests/test_parser.py::test_parse_stream[export export_a=1-expected13] PASSED [ 77%] >tests/test_parser.py::test_parse_stream[export port=8000-expected14] PASSED [ 78%] >tests/test_parser.py::test_parse_stream[a="b\nc"-expected15] PASSED [ 79%] >tests/test_parser.py::test_parse_stream[a='b\nc'-expected16] PASSED [ 80%] >tests/test_parser.py::test_parse_stream[a="b\nc"-expected17] PASSED [ 81%] >tests/test_parser.py::test_parse_stream[a="b\\nc"-expected18] PASSED [ 82%] >tests/test_parser.py::test_parse_stream[a='b\\nc'-expected19] PASSED [ 83%] >tests/test_parser.py::test_parse_stream[a="b\\"c"-expected20] PASSED [ 83%] >tests/test_parser.py::test_parse_stream[a='b\\'c'-expected21] PASSED [ 84%] >tests/test_parser.py::test_parse_stream[a=\xe0-expected22] PASSED [ 85%] >tests/test_parser.py::test_parse_stream[a="\xe0"-expected23] PASSED [ 86%] >tests/test_parser.py::test_parse_stream[no_value_var-expected24] PASSED [ 87%] >tests/test_parser.py::test_parse_stream[a: b-expected25] PASSED [ 88%] >tests/test_parser.py::test_parse_stream[a=b\nc=d-expected26] PASSED [ 89%] >tests/test_parser.py::test_parse_stream[a=b\rc=d-expected27] PASSED [ 90%] >tests/test_parser.py::test_parse_stream[a=b\r\nc=d-expected28] PASSED [ 91%] >tests/test_parser.py::test_parse_stream[a=\nb=c-expected29] PASSED [ 91%] >tests/test_parser.py::test_parse_stream[\n\n-expected30] PASSED [ 92%] >tests/test_parser.py::test_parse_stream[a=b\n\n-expected31] PASSED [ 93%] >tests/test_parser.py::test_parse_stream[a=b\n\nc=d-expected32] PASSED [ 94%] >tests/test_parser.py::test_parse_stream[a="\nb=c-expected33] PASSED [ 95%] >tests/test_parser.py::test_parse_stream[# comment\na="b\nc"\nd=e\n-expected34] PASSED [ 96%] >tests/test_parser.py::test_parse_stream[a=b\n# comment 1-expected35] PASSED [ 97%] >tests/test_parser.py::test_parse_stream[# comment 1\n# comment 2-expected36] PASSED [ 98%] >tests/test_parser.py::test_parse_stream[uglyKey[%$="S3cr3t_P4ssw#rD" #\na=b-expected37] PASSED [ 99%] >tests/test_utils.py::test_to_cli_string PASSED [100%] > >=================================== FAILURES =================================== >____________________________ test_get_default_path _____________________________ > >tmp_path = PosixPath('/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_get_default_path0') > > def test_get_default_path(tmp_path): > sh.cd(str(tmp_path)) > with open(str(tmp_path / ".env"), "w") as f: > f.write("a=b") > >> result = sh.dotenv("get", "a") > >/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:108: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python3.6/site-packages/sh.py:3521: in __getattr__ > return self.__env[name] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = {}, k = 'dotenv' > > def __getitem__(self, k): > # if we first import "_disable_whitelist" from sh, we can import > # anything defined in the global scope of sh.py. this is useful for our > # tests > if k == "_disable_whitelist": > self.disable_whitelist = True > return None > > if k == 'args': > # Let the deprecated '_args' context manager be imported as 'args' > k = '_args' > > # we're trying to import something real (maybe), see if it's in our > # global scope > if k in self.whitelist or self.disable_whitelist: > return self.globs[k] > > # somebody tried to be funny and do "from sh import *" > if k == "__all__": > warnings.warn("Cannot import * from sh. Please import sh or import programs individually.") > return [] > > # check if we're naming a dynamically generated ReturnCode exception > exc = get_exc_from_name(k) > if exc: > return exc > > # https://github.com/ipython/ipython/issues/2577 > # https://github.com/amoffat/sh/issues/97#issuecomment-10610629 > if k.startswith("__") and k.endswith("__"): > raise AttributeError > > # is it a custom builtin? > builtin = getattr(self, "b_" + k, None) > if builtin: > return builtin > > # is it a command? > cmd = resolve_command(k, self.baked_args) > if cmd: > return cmd > > # how about an environment variable? > # this check must come after testing if its a command, because on some > # systems, there are an environment variables that can conflict with > # command names. > # https://github.com/amoffat/sh/issues/238 > try: > return os.environ[k] > except KeyError: > pass > > # nothing found, raise an exception >> raise CommandNotFound(k) >E sh.CommandNotFound: dotenv > >/usr/lib64/python3.6/site-packages/sh.py:3319: CommandNotFound >___________________________________ test_run ___________________________________ > >tmp_path = PosixPath('/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run0') > > def test_run(tmp_path): > sh.cd(str(tmp_path)) > dotenv_file = str(tmp_path / ".env") > with open(dotenv_file, "w") as f: > f.write("a=b") > >> result = sh.dotenv("run", "printenv", "a") > >/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:119: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python3.6/site-packages/sh.py:3521: in __getattr__ > return self.__env[name] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = {}, k = 'dotenv' > > def __getitem__(self, k): > # if we first import "_disable_whitelist" from sh, we can import > # anything defined in the global scope of sh.py. this is useful for our > # tests > if k == "_disable_whitelist": > self.disable_whitelist = True > return None > > if k == 'args': > # Let the deprecated '_args' context manager be imported as 'args' > k = '_args' > > # we're trying to import something real (maybe), see if it's in our > # global scope > if k in self.whitelist or self.disable_whitelist: > return self.globs[k] > > # somebody tried to be funny and do "from sh import *" > if k == "__all__": > warnings.warn("Cannot import * from sh. Please import sh or import programs individually.") > return [] > > # check if we're naming a dynamically generated ReturnCode exception > exc = get_exc_from_name(k) > if exc: > return exc > > # https://github.com/ipython/ipython/issues/2577 > # https://github.com/amoffat/sh/issues/97#issuecomment-10610629 > if k.startswith("__") and k.endswith("__"): > raise AttributeError > > # is it a custom builtin? > builtin = getattr(self, "b_" + k, None) > if builtin: > return builtin > > # is it a command? > cmd = resolve_command(k, self.baked_args) > if cmd: > return cmd > > # how about an environment variable? > # this check must come after testing if its a command, because on some > # systems, there are an environment variables that can conflict with > # command names. > # https://github.com/amoffat/sh/issues/238 > try: > return os.environ[k] > except KeyError: > pass > > # nothing found, raise an exception >> raise CommandNotFound(k) >E sh.CommandNotFound: dotenv > >/usr/lib64/python3.6/site-packages/sh.py:3319: CommandNotFound >___________________________ test_run_with_none_value ___________________________ > >tmp_path = PosixPath('/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run_with_none_value0') > > def test_run_with_none_value(tmp_path): > sh.cd(str(tmp_path)) > dotenv_file = str(tmp_path / ".env") > with open(dotenv_file, "w") as f: > f.write("a=b\nc") > >> result = sh.dotenv("run", "printenv", "a") > >/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:130: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python3.6/site-packages/sh.py:3521: in __getattr__ > return self.__env[name] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = {}, k = 'dotenv' > > def __getitem__(self, k): > # if we first import "_disable_whitelist" from sh, we can import > # anything defined in the global scope of sh.py. this is useful for our > # tests > if k == "_disable_whitelist": > self.disable_whitelist = True > return None > > if k == 'args': > # Let the deprecated '_args' context manager be imported as 'args' > k = '_args' > > # we're trying to import something real (maybe), see if it's in our > # global scope > if k in self.whitelist or self.disable_whitelist: > return self.globs[k] > > # somebody tried to be funny and do "from sh import *" > if k == "__all__": > warnings.warn("Cannot import * from sh. Please import sh or import programs individually.") > return [] > > # check if we're naming a dynamically generated ReturnCode exception > exc = get_exc_from_name(k) > if exc: > return exc > > # https://github.com/ipython/ipython/issues/2577 > # https://github.com/amoffat/sh/issues/97#issuecomment-10610629 > if k.startswith("__") and k.endswith("__"): > raise AttributeError > > # is it a custom builtin? > builtin = getattr(self, "b_" + k, None) > if builtin: > return builtin > > # is it a command? > cmd = resolve_command(k, self.baked_args) > if cmd: > return cmd > > # how about an environment variable? > # this check must come after testing if its a command, because on some > # systems, there are an environment variables that can conflict with > # command names. > # https://github.com/amoffat/sh/issues/238 > try: > return os.environ[k] > except KeyError: > pass > > # nothing found, raise an exception >> raise CommandNotFound(k) >E sh.CommandNotFound: dotenv > >/usr/lib64/python3.6/site-packages/sh.py:3319: CommandNotFound >___________________________ test_run_with_other_env ____________________________ > >dotenv_file = '/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/pytest-of-portage/pytest-0/test_run_with_other_env0/.env' > > def test_run_with_other_env(dotenv_file): > with open(dotenv_file, "w") as f: > f.write("a=b") > >> result = sh.dotenv("--file", dotenv_file, "run", "printenv", "a") > >/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0/tests/test_cli.py:139: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python3.6/site-packages/sh.py:3521: in __getattr__ > return self.__env[name] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = {}, k = 'dotenv' > > def __getitem__(self, k): > # if we first import "_disable_whitelist" from sh, we can import > # anything defined in the global scope of sh.py. this is useful for our > # tests > if k == "_disable_whitelist": > self.disable_whitelist = True > return None > > if k == 'args': > # Let the deprecated '_args' context manager be imported as 'args' > k = '_args' > > # we're trying to import something real (maybe), see if it's in our > # global scope > if k in self.whitelist or self.disable_whitelist: > return self.globs[k] > > # somebody tried to be funny and do "from sh import *" > if k == "__all__": > warnings.warn("Cannot import * from sh. Please import sh or import programs individually.") > return [] > > # check if we're naming a dynamically generated ReturnCode exception > exc = get_exc_from_name(k) > if exc: > return exc > > # https://github.com/ipython/ipython/issues/2577 > # https://github.com/amoffat/sh/issues/97#issuecomment-10610629 > if k.startswith("__") and k.endswith("__"): > raise AttributeError > > # is it a custom builtin? > builtin = getattr(self, "b_" + k, None) > if builtin: > return builtin > > # is it a command? > cmd = resolve_command(k, self.baked_args) > if cmd: > return cmd > > # how about an environment variable? > # this check must come after testing if its a command, because on some > # systems, there are an environment variables that can conflict with > # command names. > # https://github.com/amoffat/sh/issues/238 > try: > return os.environ[k] > except KeyError: > pass > > # nothing found, raise an exception >> raise CommandNotFound(k) >E sh.CommandNotFound: dotenv > >/usr/lib64/python3.6/site-packages/sh.py:3319: CommandNotFound >=========================== short test summary info ============================ >FAILED tests/test_cli.py::test_get_default_path - sh.CommandNotFound: dotenv >FAILED tests/test_cli.py::test_run - sh.CommandNotFound: dotenv >FAILED tests/test_cli.py::test_run_with_none_value - sh.CommandNotFound: dotenv >FAILED tests/test_cli.py::test_run_with_other_env - sh.CommandNotFound: dotenv >======================== 4 failed, 108 passed in 1.21s ========================= > * ERROR: dev-python/python-dotenv-0.14.0::gentoo failed (test phase): > * Tests fail with python3.6 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3038: Called distutils-r1_src_test > * environment, line 1308: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 488: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2647: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2091: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2089: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 881: Called distutils-r1_run_phase 'python_test' > * environment, line 1245: Called python_test > * environment, line 2998: Called die > * The specific snippet of code: > * pytest -vv || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/python-dotenv-0.14.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-dotenv-0.14.0::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/python-dotenv-0.14.0:20200920-125635.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-dotenv-0.14.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0' > * S: '/var/tmp/portage/dev-python/python-dotenv-0.14.0/work/python-dotenv-0.14.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 743784
: 661656