#1087179 weresync: Python SyntaxWarning

#1087179#5
Date:
2024-11-09 11:01:58 UTC
From:
To:
Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/w/weresync.html


  Setting up python3 (3.12.6-1) ...
  /usr/share/weresync/weresync/daemon/copier.py:295: SyntaxWarning:
"is not" with 'str' literal. Did you mean "!="?
    if lvm_source is not "":
  /usr/share/weresync/weresync/daemon/copier.py:306: SyntaxWarning:
"is" with 'tuple' literal. Did you mean "=="?
    if mount_points is ("", "") or len(
  /usr/share/weresync/weresync/plugins/__init__.py:15: SyntaxWarning:
invalid escape sequence '\.'
    """This package contains code for bootloader plugins.
  /usr/share/weresync/weresync/plugins/__init__.py:154: SyntaxWarning:
invalid escape sequence '\_'
    """An interface class for bootloader plugins. Plugins implementing
this class
  /usr/share/weresync/weresync/plugins/__init__.py:230: SyntaxWarning:
invalid escape sequence '\.'
    regex_analyzer = PluginFileAnalyzerMathingRegex("regex",
"^weresync_.*\.py$")

#1087179#8
Date:
2026-08-06 09:53:33 UTC
From:
To:
Hello,

Bug #1087179 in weresync reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/weresync/-/commit/06e3c2040f6de3b9919acd5c7fae095bd1301e88
------------------------------------------------------------------------
fix SyntaxWarning (Closes: #1087179)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1087179

#1087179#15
Date:
2026-08-06 10:33:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
weresync, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1087179@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated weresync package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 06 Aug 2026 11:52:36 +0200
Source: weresync
Architecture: source
Version: 1.1.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1087179
Changes:
 weresync (1.1.5-3) unstable; urgency=medium
 .
   * Team upload.
   * Remove redundant Priority: optional from source stanza.
   * Update standards version to 4.7.4, no more changes needed.
   * Use dh-sequence-python3 & dh-sequence-sphinxdoc
   * Drop "Rules-Requires-Root: no": it is the default now
   * Rewrite d/watch in v5 format
   * Fix SyntaxWarning (Closes: #1087179)
Checksums-Sha1:
 7f68e4fd6560018c8c3667d9f6da5759bef9a775 2525 weresync_1.1.5-3.dsc
 c3405d92923eb026ff3c5f5422aa30549cd22f9e 7624 weresync_1.1.5-3.debian.tar.xz
 0427d7365d98c6480be218b0c89a0236c2ce8150 8076 weresync_1.1.5-3_source.buildinfo
Checksums-Sha256:
 b3f372afb4012e0635dfe5689fd33dd2ebc4fda4ee3d987ceb8a9cb15d2967c2 2525 weresync_1.1.5-3.dsc
 92fbce2cb97239deedd0debeff37e5b5419daca8da380687d0722454e3ca6261 7624 weresync_1.1.5-3.debian.tar.xz
 390cf62186b9f0445aa93614fefe2057a02a7201439fda7f36efcb3b469e599d 8076 weresync_1.1.5-3_source.buildinfo
Files:
 6494c7afc56293cfd19979451fead311 2525 admin optional weresync_1.1.5-3.dsc
 6a9ae8e882a0ebd7d273268895b52da2 7624 admin optional weresync_1.1.5-3.debian.tar.xz
 780f69ceab8b353f56942c3b6a999508 8076 admin optional weresync_1.1.5-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmp0XdMRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBq23hAAvUT9Jtz5P3vPa3LQ3FzoBTV3QJHb+AEa
iwFvae2+Ud6VAdFS2i7Hym/wnPKGc5N4iPjd3WomGxd2W7+QjtloYIN3iShOoPTD
kd+xXx/JeW2DVGkg+ZYZVIN/syidHsdVD4xTkXFdGHfUJXnDINEOInUHdXHaUQU3
AAu8yNQ6qnVO5rerBZMdue9vKor/pQ8GPHulijcbpFqNp/X/OC9FB6E1K9iQRkgg
2mR5Mi25pTlZHjxH1HkG9AkUSpBcK0IDxNkEjeFN+85t/R1Sk/UhiJE3CYEenSwY
p/nrbtp1WW3xvskeqfWJFWE98Qk+m1U9tIhRNQ2HWykl0o047oWSVmhjTop+nlX7
fkoJnbY0ydc7ifGXleZack7BkFQxNpZopE1TpfX8BveO6CWYhwUdX+GzJNpyr7yJ
f6RDtV5lkK7Mc9IGPh1jVA58EaECp/R/PMr53nuE6y6bjpuY4JqF/8Fv/nLNY4DC
tqnYJo6EAhzBS3YEPX7He6+rCZz9QYs5lspKT54gk2VnlyUydH96GWAsimK5MgNz
jcRwOs8eq2srgtFKJtQsdoL1L7SeKBEscZu+vUi9dkgPCz7JkxXsHv9o3/WPAhBj
bnbgiO9aOt788Wb/B0/Ti8s5mfsjTwJaq7UZZJCMb+Szp4zaAGeuTybxXwKtgsdE
bqk5FByZys8=
=nCVE
-----END PGP SIGNATURE-----