[From nobody Sat Sep 26 08:07:11 2026
Received: (at submit) by bugs.debian.org; 16 Jul 2026 00:23:30 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.9 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,NO_RELAYS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 88; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--python3, 0.000-+--H*Ad:N*Bug,
 0.000-+--H*Ad:N*Tracking
Return-path: &lt;SpikeTheHobbitMage@runbox.com&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;SpikeTheHobbitMage@runbox.com&gt;) id 1wk9sv-00DDdk-2O
 for submit@bugs.debian.org; Thu, 16 Jul 2026 00:23:30 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: SpikeTheHobbitMage@runbox.com
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: python3-vtk9: Syntax Warning during install
Message-ID: &lt;178416140825.120958.11219016962326344308.reportbug@pingchan.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Wed, 15 Jul 2026 18:23:28 -0600
Delivered-To: submit@bugs.debian.org

Package: python3-vtk9
Version: 9.5.2+dfsg4-5+b2
Severity: minor
Tags: patch
X-Debbugs-Cc: SpikeTheHobbitMage@runbox.com

Python complains about a syntax error during installation.

```
/usr/lib/python3/dist-packages/vtkmodules/web/testing.py:687: SyntaxWarning: invalid escape sequence '\.'
  fnamePattern = re.compile(&quot;([^\.\/\\\]+)\.py&quot;)
/usr/lib/python3/dist-packages/vtkmodules/web/testing.py:687: SyntaxWarning: &quot;\.&quot; is an invalid escape sequence. Such sequences will not work in the future. Did you mean &quot;\\.&quot;? A raw string is also an option.
  fnamePattern = re.compile(&quot;([^\.\/\\\]+)\.py&quot;)
```

`&quot;([^\.\/\\\]+)\.py&quot;` isn't a valid string and the resulting regular expression only works by accident. It should be replaced with `r&quot;([^./\\]+)\.py&quot;` to get the intended behavior.

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages python3-vtk9 depends on:
ii  libc6           2.42-17
ii  libgcc-s1       16.1.0-2
ii  libopenmpi40    5.0.10-1
ii  libpython3.14   3.14.6-1
ii  libstdc++6      16.1.0-2
ii  libtbb12        2022.3.0-2
ii  libvtk9.5       9.5.2+dfsg4-5+b2
ii  libvtk9.5-qt    9.5.2+dfsg4-5+b2
ii  python3         3.14.6-1
ii  python3-mpi4py  4.1.2-1

python3-vtk9 recommends no packages.

Versions of packages python3-vtk9 suggests:
pn  mayavi2        &lt;none&gt;
pn  vtk9-doc       &lt;none&gt;
pn  vtk9-examples  &lt;none&gt;

-- no debconf information
]