Debian Bug report logs - #1071387
python3-exabgp: SyntaxWarning: invalid escape sequence

version graph

Package: python3-exabgp; Maintainer for python3-exabgp is Vincent Bernat <[email protected]>; Source for python3-exabgp is src:exabgp (PTS, buildd, popcon).

Reported by: Taavi Väänänen <[email protected]>

Date: Sat, 18 May 2024 10:18:04 UTC

Severity: normal

Found in version exabgp/4.2.21-2

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 18 May 2024 10:17:23 +0000
From [email protected] Sat May 18 10:17:23 2024
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.1 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,
	XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 150; neutral, 93; spammy,
	0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
	0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug
Return-path: <[email protected]>
Received: from cumulus.taavi.wtf ([159.65.117.75]:58958)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1s8H7z-00FHlj-7A
	for [email protected]; Sat, 18 May 2024 10:17:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=taavi.wtf;
	s=mail; h=Date:Message-ID:Subject:To:From:Content-Transfer-Encoding:
	MIME-Version:Content-Type:Sender:Reply-To:Cc:Content-ID:Content-Description:
	Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
	In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=rzuQmnT3LQMhPdOByIy45oBE5Odq5SA8Nu2wBM5vEfc=; b=dSgMULT2wQF5a2FwYpm0nvdGyt
	gmZBi2LzESbLdFQyGvWGSAtjHEUAttvPfKdc2aSweOLiedOvrtHokSGRdLjwB60Vq0NECoeTGqe3t
	t+MfSmtgjfK9hG9hXKVUZV3sc+ddcayzhrx8XePi/1sXIBxNF67TI3Xw8jecjLvyccr3A0ZHrMboM
	opt2BccOZkhSYmxta5g3GH80i3gZhZVaPIPOBpwglHT+BWWdwUvYlhFPQ8XHUwEKGG/63fEzYXX6d
	WdsMzcjibzsXQQQncEf+q/Wv81kE2REabZogZeTsH7EfbHn0pDHqO0XYh8opMWnHNxv29Y/T30QCj
	/J6o/XLw3G6nEK/An9aF2evbMh2+fkPmkn6rUAHgJaXbSlib34uxKOY/52Qofp4V8A7XPs/ftFVik
	25jBzunMR66+L9IIB+BWBsCg/gAlRfPFYwTBJOFlwb9TRal7Y9m3wCQ1oWU3IFSAmn9G3LpQX5rUV
	5V3q2d67wI8WR//YuACFvM9UdofnsJvMRqvrkPHc0MLePQzES9CV4Sbz8F9A2LTlUADiL+F2vvfNI
	n1kCNjpZ7W6UIVpYzfOPc4chPIzbCbKkwnCwqOBLe3juu2Xf/gwFD2FJKpfP9HH7EhoEYu14Xq9gG
	pRrrzO9p+Z7HCqEfPrMBPJ0xbfUun4jo2Kff3ygwI=;
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Taavi Väänänen <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: python3-exabgp: SyntaxWarning: invalid escape sequence
Message-ID: <171602588651.116285.14529940258900067873.reportbug@runko.user.majava.org>
X-Mailer: reportbug 13.0.1
Date: Sat, 18 May 2024 12:51:26 +0300
X-Greylist: delayed 1552 seconds by postgrey-1.36 at buxtehude; Sat, 18 May 2024 10:17:22 UTC
Delivered-To: [email protected]
Package: python3-exabgp
Version: 4.2.21-2
Severity: normal

Hi,

Installing python3-exabgp on Trixie prints the following Python warnings
on trixie:

Setting up python3-exabgp (4.2.21-2) ...
update-alternatives: using /usr/sbin/python3-exabgp to provide /usr/sbin/exabgp (exabgp) in auto mode
/usr/lib/python3/dist-packages/exabgp/vendoring/bitstring.py:2: SyntaxWarning: invalid escape sequence '\ '
  """
/usr/lib/python3/dist-packages/exabgp/vendoring/cmd2.py:101: SyntaxWarning: invalid escape sequence '\s'
  pattern = '\s+'.join(re.escape(a) for a in newArgList) + '\s*$'
/usr/lib/python3/dist-packages/exabgp/vendoring/cmd2.py:101: SyntaxWarning: invalid escape sequence '\s'
  pattern = '\s+'.join(re.escape(a) for a in newArgList) + '\s*$'
/usr/lib/python3/dist-packages/exabgp/vendoring/docopt.py:159: SyntaxWarning: invalid escape sequence '\S'
  name = re.findall('(<\S*?>)', source)[0]
/usr/lib/python3/dist-packages/exabgp/vendoring/docopt.py:160: SyntaxWarning: invalid escape sequence '\['
  value = re.findall('\[default: (.*)\]', source, flags=re.I)
/usr/lib/python3/dist-packages/exabgp/vendoring/docopt.py:199: SyntaxWarning: invalid escape sequence '\['
  matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/usr/lib/python3/dist-packages/exabgp/vendoring/docopt.py:437: SyntaxWarning: invalid escape sequence '\S'
  split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]
/usr/lib/python3/dist-packages/exabgp/vendoring/pyparsing.py:2147: SyntaxWarning: invalid escape sequence '\g'
  ret = re.sub(self.escCharReplacePattern, "\g<1>", ret)


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-exabgp depends on:
ii  python3                3.11.8-1
ii  python3-pkg-resources  68.1.2-2

python3-exabgp recommends no packages.

python3-exabgp suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 18:36:02 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.