Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906614 - app-admin/ansible-lint-6.16.0 get_default_environment failing
Summary: app-admin/ansible-lint-6.16.0 get_default_environment failing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-17 14:56 UTC by Mark Conway
Modified: 2023-05-19 08:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Conway 2023-05-17 14:56:52 UTC
After updating my system, ansible-lint seems to be missing a dependency. This was working last week and ansible-lint hasn't been updated on my system recently.

user@host ~ $ ansible-lint --version
ansible-lint 6.16.0 using ansible 2.14.5
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/ansible-lint", line 8, in <module>
    sys.exit(_run_cli_entrypoint())
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 291, in _run_cli_entrypoint
    sys.exit(main(sys.argv))
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 214, in main
    msg = get_version_warning()
          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ansiblelint/config.py", line 289, in get_version_warning
    pip = guess_install_method()
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ansiblelint/config.py", line 222, in guess_install_method
    from pip._internal.metadata import get_default_environment
ModuleNotFoundError: No module named 'pip'


emerge --info
Portage 3.0.44 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r8, 6.1.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-6.1.27-gentoo-r1-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-with-glibc2.36
KiB Mem:    64978656 total,  17653688 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 17 May 2023 13:17:01 +0000
Head commit of repository gentoo: 6b9126c45240f949215db0e1c59a6cdfd9e381c8

Timestamp of repository crossdev: Sun, 20 Jun 2021 21:41:33 +0000
Head commit of repository crossdev: 7c86f8ca262ff27fe4fb1965d8f8fef19f77a3bb

Timestamp of repository guru: Tue, 16 May 2023 05:46:50 +0000
Head commit of repository guru: 147ca37047ba07e196a772866e90bbb96bf36320

Timestamp of repository kde: Mon, 15 May 2023 11:04:13 +0000
Head commit of repository kde: a99da215145ead834577e5300b354baca119e124

Timestamp of repository steam-overlay: Sat, 13 May 2023 11:46:52 +0000
Head commit of repository steam-overlay: bf7d62bb64bab869d28122d6afe6ee081f542bb3

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.3::gentoo
dev-lang/rust-bin:         1.66.1-r1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

crossdev
    location: /var/db/repos/crossdev
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/crossdev.git
    masters: gentoo
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: True

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: True

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-march=znver3 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=24 --oneshot"
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="-march=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live 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 strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="--jobs=25 --load-average=24"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities aes alsa amd64 apng avahi avif avx avx2 bash-completion bazaar blas bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cjk cli color-management colord crypt cryptsetup cuda cups curl cvs dav1d dbus declarative dri dts dvd dvdr egl elogind emoji encode eps evdev exif f16c fdk ffmpeg fftw firewalld flac fma3 fontconfig fortran gd gdbm geoclue geoip geoip2 geolocation gif git gmp gpm graphicsmagick gstreamer gtk gtk3 gui heif iconv icu id3 id3tag imap inotify iptables ipv6 jack java jpeg jpegxl json kde kwallet lame lapack latex lcms ldap libass libglvnd libmpeg2 libnotify libtirpc lm-sensors logrotate lto lua lzma lzo mad maildir matroska mercurial mmx mmxext mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz mysql ncurses networkmanager nftables nls nptl numa nvenc ocr ogg ogm opencl opengl openh264 openldap openmp opus osmesa pam pango pclmul pcre pdf perl php plasma png policykit popcnt postgres ppds pulseaudio python qml qt5 qt6 quicktime rav1e raw rdrand readline samba sasl scanner screencast sdl seccomp semantic-desktop sha smartcard sound spell split-usr sql sqlite sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification subversion svg taglib test-rust theora tiff truetype udev udisks unicode upower usb v4l vda vhosts vorbis vpx vulkan wayland webp widgets wifi wmf wxwidgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xmp xorg xv xvid zeroconf zlib zstd" ABI_X86="64 32" 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" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX Mips" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby30" VIDEO_CARDS="nvidia" 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, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Mark Conway 2023-05-18 23:20:25 UTC
I noticed that ansible-lint 6.16.1 is upstream and this fixes the problem.
Comment 2 Marek Szuba archtester gentoo-dev 2023-05-19 07:41:13 UTC
Thanks for the update! I'll push 6.16.1 shortly.
Comment 3 Larry the Git Cow gentoo-dev 2023-05-19 08:37:50 UTC
The bug has been closed via the following commit(s):

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

commit 6eb962922edeb139611b76ccaf561c00e638a491
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-05-19 07:40:19 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-05-19 08:37:33 +0000

    app-admin/ansible-lint: add 6.16.1, drop 6.16.0
    
    Closes: https://bugs.gentoo.org/906614
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-admin/ansible-lint/Manifest                                         | 2 +-
 .../{ansible-lint-6.16.0.ebuild => ansible-lint-6.16.1.ebuild}          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)