Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699326 - dev-util/diffoscope-129 : add Python 3.7 support
Summary: dev-util/diffoscope-129 : add Python 3.7 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python3.7-compat
  Show dependency tree
 
Reported: 2019-11-04 20:12 UTC by Michał Bartoszkiewicz
Modified: 2019-11-09 11:57 UTC (History)
1 user (show)

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


Attachments
patch adding python3.7 to PYTHON_COMPAT (0001-dev-util-diffoscope-add-Python-3.7-support.patch,1.00 KB, patch)
2019-11-09 09:04 UTC, Michał Bartoszkiewicz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2019-11-04 20:12:52 UTC
dev-util/diffoscope-129 has only Python 3.5 and 3.6 in PYTHON_COMPAT.

Python 3.7 support is marked in setup.py from version 104.

diffoscope emerged with PYTHON_COMPAT_OVERRIDE='python3_6 python3_7' seems to run fine with Python 3.7 here.

Reproducible: Always




# emerge --info
Portage 2.3.78 (python 3.7.5-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.29-r6, 5.4.0-rc5 x86_64)
=================================================================
System uname: Linux-5.4.0-rc5-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem:    32711260 total,  13425288 free
KiB Swap:   33554428 total,  33385944 free
Timestamp of repository gentoo: Sun, 03 Nov 2019 10:26:01 +0000
Head commit of repository gentoo: d9a2d7878763a0bc55aed10ab9d23ad76196fbec

Head commit of repository embe: a044002e104831123a7234c72f2f9a649bf87186

sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.15.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git://fraktal.berep.pl/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

embe
    location: /var/db/repos/embe
    sync-type: git
    sync-uri: https://git.bzium.org/embe/overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE vim.org fairuse"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -fno-plt -fstack-clash-protection"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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=native -O2 -pipe -ggdb -fno-plt -fstack-clash-protection"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --quiet-build y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-march=native -O2 -pipe -ggdb -fno-plt -fstack-clash-protection"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb -fno-plt -fstack-clash-protection"
GENTOO_MIRRORS="https://mirror.dkm.cz/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/rmt /var/run /etc/xinetd.d /var/lock /var/mail /etc/skel /usr/share/man/cat*"
LANG="C.UTF-8"
LC_ALL="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now"
LINGUAS="en en_US pl pl_PL"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="--best"
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="/tmp"
USE="R X a52 aac aacplus acl acpi adns alsa amd64 android archive ass avahi avx bazaar bluetooth bluray brotli bzip2 cairo caps cdb cdda cddb cdr chromecast cli clutter colord conntrack crypt cryptsetup cups curl cvs cxx dbus dconf device-mapper dirac djvu dri dts dvd dvdr dvi eds egl elfutils emboss encode evdev evo exif fam fat ffmpeg fftw flac fontconfig fortran fuse gadu gd gdbm gegl geoclue gif gimp git glamor gmp gnome gnome-keyring gnome-online-accounts gnuplot gpg gphoto2 graphicsmagick graphviz gsl gstreamer gtk gtk3 gtkstyle guile harfbuzz http2 iconv icu id3tag idn introspection iproute2 ipv6 jit jpeg jpeg2k lame lapack latex lcms libass libkms libnotify libproxy libsamplerate libsecret libtirpc live llvm lua lzma lzo mad maildir man matroska mercurial metalink metric mms mmxext mng modemmanager mp3 mp4 mpeg mtp multilib musepack nautilus ncurses netlink networkmanager nls nptl obex offensive ogg openal openexr opengl openmp opus osmesa pam pango pcap pch pcre pdf pgf pkcs11 playlist plotutils png policykit postproc postscript ppds pulseaudio raw rdp readline rtmp rubberband samba sdl seccomp sftp sip smartcard smi smp snappy speex spell spice sqlite sse3 sse4 sse41 sse4_1 ssl ssse3 startup-notification svg syslog systemd theora tiff tls tracker truetype udev udisks unicode upnp upnp-av upower urandom usb user-session uuid v4l vaapi vala vdpau vim-syntax vlc vorbis vpx vte wayland webp wifi wxwidgets x264 xattr xcb xinerama xml xmp xmpp xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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" APACHE2_MPMS="prefork" 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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="pc efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF X86 WebAssembly" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi r600 amdgpu intel i915 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-05 08:37:39 UTC
Would you like to write a patch yourself? I would apply it as-is.
Comment 2 Michał Bartoszkiewicz 2019-11-09 09:04:56 UTC
Created attachment 595520 [details, diff]
patch adding python3.7 to PYTHON_COMPAT
Comment 3 Larry the Git Cow gentoo-dev 2019-11-09 11:57:11 UTC
The bug has been closed via the following commit(s):

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

commit e5ef547b42c7367ad1c31f40f9eb8ccc9ccf1d18
Author:     Michał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
AuthorDate: 2019-11-09 09:02:56 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-11-09 11:56:59 +0000

    dev-util/diffoscope: add Python 3.7 support
    
    Closes: https://bugs.gentoo.org/699326
    Signed-off-by: Michał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-util/diffoscope/diffoscope-129.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-09 11:57:53 UTC
Pushed as-is. Thank you!