Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663650 - dev-python/pytest-relaxed-1.1.4 with dev-python/pytest-3.4.2 fails tests - pluggy.PluginValidationError: Plugin 'relaxed' could not be loaded: (pytest 3.4.2 (/usr/lib64/python2.7/site-packages), Requirement.parse('pytest<3.3,>=3'))!
Summary: dev-python/pytest-relaxed-1.1.4 with dev-python/pytest-3.4.2 fails tests - pl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-08-15 00:01 UTC by eroen
Modified: 2018-08-18 13:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.96 KB, text/plain)
2018-08-15 00:01 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2018-08-15 00:01:07 UTC
Created attachment 543492 [details]
build.log

>>> Test phase: dev-python/pytest-relaxed-1.1.4
 * python2_7: running distutils-r1_run_phase python_test
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/pytest", line 11, in <module>
    load_entry_point('pytest==3.4.2', 'console_scripts', 'pytest')()
  File "/usr/lib64/python2.7/site-packages/_pytest/config.py", line 50, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib64/python2.7/site-packages/_pytest/config.py", line 161, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 680, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 240, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 234, in <lambda>
    methods, kwargs, specopts=hook.spec_opts, hook=hook
  File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 110, in execute
    gen.send(outcome)
  File "/usr/lib64/python2.7/site-packages/_pytest/helpconfig.py", line 68, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 55, in get_result
    _reraise(*ex)  # noqa
  File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 94, in execute
    res = hook_impl.function(*args)
  File "/usr/lib64/python2.7/site-packages/_pytest/config.py", line 944, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib64/python2.7/site-packages/_pytest/config.py", line 1109, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/lib64/python2.7/site-packages/_pytest/config.py", line 1072, in _preparse
    self.pluginmanager.load_setuptools_entrypoints('pytest11')
  File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 420, in load_setuptools_entrypoints
    "Plugin %r could not be loaded: %s!" % (ep.name, e))
pluggy.PluginValidationError: Plugin 'relaxed' could not be loaded: (pytest 3.4.2 (/usr/lib64/python2.7/site-packages), Requirement.parse('pytest<3.3,>=3'))!
 * ERROR: dev-python/pytest-relaxed-1.1.4::gentoo failed (test phase):
 *   tests failed with python2.7
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_test
 *   environment, line 2707:  Called distutils-r1_src_test
 *   environment, line  959:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  398:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2240:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1613:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1611:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  622:  Called distutils-r1_run_phase 'python_test'
 *   environment, line  890:  Called python_test
 *   environment, line 2609:  Called die
 * The specific snippet of code:
 *       pytest -v || die "tests failed with ${EPYTHON}"
Comment 1 eroen 2018-08-15 00:02:06 UTC
pine64-a ~ # emerge --info '=dev-python/pytest-relaxed-1.1.4::gentoo'
Portage 2.3.40 (python 3.6.5-final-0, default/linux/arm64/17.0, gcc-7.3.0, glibc-2.26-r7, 3.10.102-2-pine64-longsleep aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.102-2-pine64-longsleep-aarch64-with-gentoo-2.4.1
KiB Mem:     2036496 total,    851304 free
KiB Swap:    2097148 total,   2026340 free
Timestamp of repository gentoo: Tue, 14 Aug 2018 09:00:01 +0000
Head commit of repository gentoo: 5594156a2725ad2551ec02185b2207dc24f70ac7
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::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-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-Os -g -pipe -mcpu=cortex-a53 -mfix-cortex-a53-843419"
CHOST="aarch64-unknown-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"
CXXFLAGS="-Os -g -pipe -mcpu=cortex-a53 -mfix-cortex-a53-843419"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -mfix-cortex-a53-843419"
PKGDIR="/usr/portage/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 arm64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc modules multilib ncurses nls nptl openmp pam pcre readline seccomp ssl tcpd unicode xattr zlib" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

pine64-a ~ # emerge -pqv '=dev-python/pytest-relaxed-1.1.4::gentoo'
[ebuild  N    ] dev-python/pytest-relaxed-1.1.4  USE="{test}" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7)"
Comment 2 Larry the Git Cow gentoo-dev 2018-08-18 13:29:07 UTC
The bug has been closed via the following commit(s):

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

commit fbf49a20b8b011c68fe4fa095a2af9daa78da90a
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-08-18 13:28:49 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-18 13:28:49 +0000

    dev-python/pytest-relaxed: Fix dependencies
    
    pytest-relaxed doesn't work with pytest 3.3+.
    
    Also, RESTRICT tests because they're broken.
    
    Closes: https://bugs.gentoo.org/663650
    Package-Manager: Portage-2.3.47, Repoman-2.3.10

 dev-python/pytest-relaxed/pytest-relaxed-1.1.4.ebuild | 5 +++++
 1 file changed, 5 insertions(+)