Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #327057

Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace'

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace'
Date 2022-09-18 08:40 +0200
Message-ID <F6W89-8lxe-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: zope.testrunner
Version: 5.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_python3 --shebang=/usr/bin/python3 -X tests
> I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testrunner/usr/bin/zope-testrunner3
> I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testrunner/usr/bin/zope-testrunner
> Traceback (most recent call last):
>   File "/usr/bin/dh_python3", line 284, in <module>
>     main()
>   File "/usr/bin/dh_python3", line 214, in main
>     dependencies.parse(stats, options)
>   File "/usr/share/dh-python/dhpython/depends.py", line 228, in parse
>     args += " -X '%s'" % pattern.replace("'", r"'\''")
> AttributeError: 're.Pattern' object has no attribute 'replace'
> make[1]: *** [debian/rules:20: override_dh_python3] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/zope.testrunner_5.2-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace' Lucas Nussbaum <lucas@debian.org> - 2022-09-18 08:40 +0200
  Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace' Stefano Rivera <stefanor@debian.org> - 2022-10-01 15:00 +0200
  Bug#1020041: marked as done (zope.testrunner: FTBFS:  AttributeError: 're.Pattern' object has no attribute 'replace') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-10-01 15:10 +0200

csiph-web