Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918984 - dev-python/dparse-0.6.3 fails tests
Summary: dev-python/dparse-0.6.3 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OzTiram
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 916315 917900
  Show dependency tree
 
Reported: 2023-12-01 20:02 UTC by Jakov Smolić
Modified: 2023-12-02 07:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (dparse-log,33.05 KB, text/plain)
2023-12-01 20:03 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2023-12-01 20:02:27 UTC
======================================================= warnings summary =======================================================
tests/test_dependencies.py::test_parser_class
tests/test_parse.py::test_tox_ini_with_invalid_requirement
tests/test_parse.py::test_tox_ini_marked_line
tests/test_updater.py::test_update_tox_ini
  /var/tmp/portage/dev-python/dparse-0.6.3/work/dparse-0.6.3/dparse/parser.py:312: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
    parser.readfp(StringIO(self.obj.content))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================================== short test summary info ====================================================
FAILED tests/test_updater.py::test_update_pipfile - ImportError: Updating a Pipfile requires the pipenv extra to be installed...
========================================== 1 failed, 50 passed, 4 warnings in 15.53s ===========================================
 * ERROR: dev-python/dparse-0.6.3::gentoo failed (test phase):
 *   pytest failed with python3.10
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_test
 *   environment, line 3977:  Called distutils-r1_src_test
 *   environment, line 1973:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  716:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3582:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3088:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3086:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1196:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1896:  Called python_test
 *   environment, line 3864:  Called distutils-r1_python_test
 *   environment, line 1839:  Called epytest
 *   environment, line 2510:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n "pytest failed with ${EPYTHON}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/dparse-0.6.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/dparse-0.6.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/dparse-0.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/dparse-0.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/dparse-0.6.3/work/dparse-0.6.3'
 * S: '/var/tmp/portage/dev-python/dparse-0.6.3/work/dparse-0.6.3'
Comment 1 Jakov Smolić archtester gentoo-dev 2023-12-01 20:03:32 UTC
Created attachment 876259 [details]
Build log
Comment 2 Jakov Smolić archtester gentoo-dev 2023-12-01 20:03:49 UTC
# emerge --info:
Portage 3.0.55 (python 3.10.13-final-0, default/linux/riscv/20.0/rv64gc/lp64d/systemd, gcc-13, glibc-2.38-r7, 6.6.1-gentoo-riscv64 riscv64)
=================================================================
System uname: Linux-6.6.1-gentoo-riscv64-riscv64-with-glibc2.38
KiB Mem:    49054296 total,  31828720 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 29 Nov 2023 12:00:01 +0000
Head commit of repository gentoo: 0958d60361d2167f072673d0461c97e9a7b16467
sh bash 5.2_p21
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.3.0::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.6::gentoo
sys-devel/autoconf:        2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="riscv ~riscv"
ACCEPT_LICENSE="@FREE"
CBUILD="riscv64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="riscv64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j20 -l20"
PKGDIR="/var/cache/binpkgs"
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 alsa bzip2 cli crypt dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pam pcre readline riscv seccomp split-usr ssl systemd test-rust udev unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Larry the Git Cow gentoo-dev 2023-12-02 07:09:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcff358be9ed1f0cb5c7cb3bb404fb72f03ec588

commit dcff358be9ed1f0cb5c7cb3bb404fb72f03ec588
Author:     Oz N Tiram <oz.tiram@gmail.com>
AuthorDate: 2023-11-30 09:00:13 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-02 06:59:45 +0000

    dev-python/dparse: add test dependency
    
    Closes: https://bugs.gentoo.org/918984
    Signed-off-by: Oz N Tiram <oz.tiram@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34062
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../dparse/{dparse-0.6.3.ebuild => dparse-0.6.3-r1.ebuild}   | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)