Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921148 - dev-lang/python-3.12.1 stable: Syntax warnings
Summary: dev-lang/python-3.12.1 stable: Syntax warnings
Status: UNCONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2024-01-01 11:12 UTC by CaptainBlood
Modified: 2024-01-01 14:21 UTC (History)
2 users (show)

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


Attachments
ebuild log (dev-lang:python-3.12.1:20240101-114949.log.gz,124.63 KB, application/gzip)
2024-01-01 11:12 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-01-01 11:12:57 UTC
Created attachment 881189 [details]
ebuild log

Snippet:

0:05:06 load avg: 2.58 [344/444] test_sunau passed
0:05:06 load avg: 2.58 [345/444] test_sundry passed
0:05:07 load avg: 2.58 [346/444] test_super passed
0:05:07 load avg: 2.58 [347/444] test_symtable passed
0:05:08 load avg: 2.58 [348/444] test_syntax passed
/var/tmp/portage/dev-lang/python-3.12.1/work/Python-3.12.1/Lib/test/test_syntax.py:2301: SyntaxWarning: invalid escape sequence '\('
  self._check_error(s, "'\(' was never closed")
0:05:08 load avg: 2.58 [349/444] test_sys_setprofile passed
0:05:10 load avg: 2.61 [350/444] test_sys passed
------------------------
0:05:10 load avg: 2.61 [351/444] test_support failed (1 error)
test test_support failed
0:05:11 load avg: 2.61 [352/444] test_sys_settrace passed
0:05:11 load avg: 2.61 [353/444] test_sysconfig passed
0:05:11 load avg: 2.61 [354/444] test_syslog passed
0:05:11 load avg: 2.61 [355/444] test_tcl skipped
0:05:12 load avg: 2.61 [356/444] test_tabnanny passed
0:05:12 load avg: 2.61 [357/444] test_telnetlib passed
0:05:13 load avg: 2.61 [358/444] test_termios passed
0:05:13 load avg: 2.61 [359/444] test_textwrap passed
0:05:15 load avg: 2.56 [360/444] test_tempfile passed
0:05:15 load avg: 2.56 [361/444] test_threadedtempfile passed
0:05:15 load avg: 2.56 [362/444] test_thread passed
0:05:17 load avg: 2.56 [363/444] test_threading_local passed
0:05:22 load avg: 2.44 [364/444] test_threadsignals passed
0:05:25 load avg: 2.32 [365/444] test_time passed
0:05:25 load avg: 2.32 [366/444] test_timeit passed
0:05:26 load avg: 2.32 [367/444] test_timeout passed
0:05:26 load avg: 2.32 [368/444] test_tix skipped
0:05:26 load avg: 2.32 [369/444] test_tkinter skipped
0:05:29 load avg: 2.38 [370/444] test_tokenize passed
0:05:30 load avg: 2.38 [371/444] test_tomllib passed
0:05:35 load avg: 2.51 [372/444] test_trace passed
0:05:36 load avg: 2.51 [373/444] test_threading passed
0:05:39 load avg: 2.55 [374/444] test_traceback failed (26 errors)
test test_traceback failed
0:05:40 load avg: 2.55 [375/444] test_ttk skipped
0:05:40 load avg: 2.55 [376/444] test_ttk_textonly skipped
0:05:40 load avg: 2.55 [377/444] test_tracemalloc passed
0:05:41 load avg: 2.55 [378/444] test_tty passed
0:05:41 load avg: 2.55 [379/444] test_turtle skipped
0:05:42 load avg: 2.55 [380/444] test_type_aliases passed
0:05:42 load avg: 2.55 [381/444] test_type_annotations passed
0:05:43 load avg: 2.55 [382/444] test_type_cache passed
0:05:43 load avg: 2.55 [383/444] test_tuple passed
0:05:44 load avg: 2.55 [384/444] test_type_comments passed
0:05:44 load avg: 2.55 [385/444] test_type_params passed
0:05:44 load avg: 2.58 [386/444] test_typechecks passed
0:05:44 load avg: 2.58 [387/444] test_types passed
0:05:45 load avg: 2.58 [388/444] test_ucn passed
0:05:46 load avg: 2.58 [389/444] test_unary passed
0:05:46 load avg: 2.58 [390/444] test_typing passed
0:05:46 load avg: 2.58 [391/444] test_unicode_file passed
0:05:47 load avg: 2.58 [392/444] test_unicode_file_functions passed
0:05:47 load avg: 2.58 [393/444] test_unicode_identifiers passed
0:05:48 load avg: 2.58 [394/444] test_unicodedata passed
0:05:52 load avg: 2.62 [395/444] test_unicode passed
0:05:53 load avg: 2.62 [396/444] test_univnewlines passed
0:05:54 load avg: 2.62 [397/444] test_unpack passed
0:05:54 load avg: 2.65 [398/444] test_unpack_ex passed
0:05:58 load avg: 2.65 [399/444] test_unittest passed
0:05:58 load avg: 2.65 [400/444] test_urllib passed
0:05:59 load avg: 2.68 [401/444] test_urllib2 passed
0:06:01 load avg: 2.68 [402/444] test_unparse passed
<unknown>:2301: SyntaxWarning: invalid escape sequence '\('
0:06:01 load avg: 2.68 [403/444] test_urllib2net skipped (resource denied)
0:06:01 load avg: 2.68 [404/444] test_urllib_response passed
0:06:02 load avg: 2.68 [405/444] test_urllibnet skipped (resource denied)
0:06:02 load avg: 2.68 [406/444] test_urllib2_localnet passed

--------------------------------------------------------------

emerge --info dev-python:3.12

emerge: there are no ebuilds to satisfy "dev-python:3.12".
luc@amd64 ~ $ emerge --info dev-lang/python:3.12
Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r7, 6.6.8-gentoo-std x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.8-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.37
KiB Mem:     3933676 total,    517768 free
KiB Swap:   65535996 total,  65160588 free

Timestamp of repository gentoo: Mon, 01 Jan 2024 09:45:01 +0000
Head commit of repository gentoo: c7d8445d661c4af2ada2540f2214e75d923ee415
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::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-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             10.5.0::gentoo, 11.4.1_p20230824::gentoo, 12.3.1_p20230825::gentoo, 13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.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.37-r7::gentoo
Repositories:
gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10000
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  	--autounmask-write y              --complete-graph y  			--misspell-suggestions n 			--noconfmem 			--nospinner  			--tree 			--with-bdeps y"
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=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     http://ftp.halifax.rwth-aachen.de/gentoo/     http://ftp.free.fr/mirrors/ftp.gentoo.org/     http://mirrors.soeasyto.com/distfiles.gentoo.org/     http://gentoo.mirrors.ovh.net/gentoo-distfiles/     http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     http://mirror.leaseweb.com/gentoo/     http://www.mirrorservice.org/sites/distfiles.gentoo.org/     http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/     http://mirror.bytemark.co.uk/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=bfd "
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
NM="gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
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"
RANLIB="gcc-ranlib"
SHELL="/bin/bash"
USE="amd64 asm custom-cflags emacs eselect-ldso fortran gentoo-vm gtk-doc minimal ocamlopt split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, 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, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

dev-lang/python-3.12.1::gentoo was built with the following:
USE="-bluetooth -build -debug -ensurepip -examples -gdbm -libedit -lto ncurses pgo readline sqlite ssl -test -tk -valgrind verify-sig" ABI_X86="(64)"
CFLAGS="-march=core2 -mtune=native -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries -fwrapv -ffat-lto-objects"
CXXFLAGS="-march=core2 -mtune=native -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries -fwrapv"
FEATURES="config-protect-if-modified unmerge-logs assume-digests sandbox news distlocks compress-build-logs binpkg-docompress ipc-sandbox network-sandbox usersync ebuild-locks merge-sync buildpkg-live binpkg-multi-instance preserve-libs multilib-strict unknown-features-warn fixlafiles parallel-fetch strict pid-sandbox qa-unresolved-soname-deps userfetch userpriv usersandbox split-elog binpkg-dostrip pkgdir-index-trusted protect-owned binpkg-logs unmerge-orphans sfperms"
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-01 14:21:51 UTC
i don't really think there's a point in backporting a fix for warning in tests.