Due to some issue in pep8 1.6.2, flake8 now force specific version of its dependencies on its user: https://gitlab.com/pycqa/flake8/issues/35 Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/flake8", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module> working_set = WorkingSet._build_master() File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pep8<1.6,>=1.5.7
Experiencing the same issue. Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/flake8", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module> working_set = WorkingSet._build_master() File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pep8<1.6,>=1.5.7
orly? RDEPEND=">=dev-python/pyflakes-0.7.3[${PYTHON_USEDEP}] >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]" from flake8-2.4.0.ebuild. $ eix pep8 [U] dev-python/pep8 Available versions: 1.4.5 1.5.6 1.5.7 (~)1.6.1 (~)1.6.2 {doc PYTHON_TARGETS="pypy pypy3 python2_7 python3_3 python3_4"} Installed versions: 1.5.7(14:44:43 23/12/14) ---------------------------------------------------------------------------- ~/cvsPortage/gentoo-x86/dev-python/flake8 $ ebuild flake8-2.4.0.ebuild clean install ----------------------------- >>> Completed installing flake8-2.4.0 into /mnt/gen2/TmpDir/portage/dev-python/flake8-2.4.0/image/ which means it all works. Could not replicate.This smacks of setuptools trouble. [U] dev-python/setuptools Available versions: 2.2 7.0 (~)8.0.1 (~)8.2.1 (~)9.1 12.0.1 (~)12.0.3 (~)12.0.5 **9999 {test PYTHON_TARGETS="pypy pypy3 python2_7 python3_3 python3_4"} Installed versions: 12.0.1(08:42:22 18/01/15) what do you have installed?
@Ian Delaney, the issue happens when running flake8-2.4.0 with pep8 >= 1.60. flake8 installs without issue but doesn't run. In addition, downgrading pep8 to 1.5.7 solve the issue. [I] dev-python/setuptools Available versions: 2.2 7.0 (~)8.0.1 (~)8.2.1 (~)9.1 12.0.1 (~)12.0.3 (~)12.0.5 **9999 {test PYTHON_TARGETS="pypy pypy3 python2_7 python3_3 python3_4"} Installed versions: 12.0.5(02:19:20 2015-02-21)(-test PYTHON_TARGETS="pypy python2_7 python3_3 python3_4 -pypy3") Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-4.9.2, glibc-2.20-r2, 3.19.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3632QM_CPU_@_2.20GHz-with-gentoo-2.2 KiB Mem: 7979044 total, 4548120 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 15 Mar 2015 13:30:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.25 p1.0) 2.25 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.25::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /disk/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 gpoulin location: /disk/overlay masters: gentoo priority: 0 science location: /var/lib/layman/science masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=native -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /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 -mtune=native -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.daum.net/gentoo/ http://gentoo.channelx.biz/" LANG="fr_CA.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" 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" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb blas branding bzip2 cairo cdda cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fftw firefox flac fontconfig fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv icu introspection ipv6 jpeg lapack latex lcms libnotify libsecret lto mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vim-syntax vorbis x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en mn" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 pypy python3_3" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" 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" USE_PYTHON="2.7 3.4 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-python/flake8-2.4.0::gentoo was built with the following: USE="-test" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_3 python3_4"
right I finally figured this. Something as simple as the order threw me here. pep8<1.6,>=1.5.7 By convention it should be entered low to high. This is written high to low and I was dismissing the <1.6. The bump is also missing the other border versions which ARE stipulated and were missed, in portage/dev-python/flake8-2.4.0/work/flake8-2.4.0/flake8.egg-info/requires.txt *flake8-2.4.0-r1 (17 Mar 2015) 17 Mar 2015; Ian Delaney <idella4@gentoo.org> +flake8-2.4.0-r1.ebuild, flake8-2.4.0.ebuild: revbump; set borders to versions in deps, fixes Bug #542984