Hi Nilesh (2022.10.01_09:48:50_+0000) > > > 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 > > This looks like a bug with dh-python itself. Maybe this needs to be "sub" > instead of "replace", similar > string regex replaces at a couple more places.
That looks like fallout from my migration of dh_python* to argparse. I changed the objects used to represent regexes, but clearly didn't test -X. I'll upload a fix, now. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272