[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061742: git-remote-hg ftbfs with Python 3.12 as default



Package: src:git-remote-hg
Version: 1.0.4~ds-1
Severity: serious
Tags: sid trixie ftbfs
User: debian-python@lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails to build:

[...]
drwxr-xr-x 3 buildd buildd 4096 Jan 29 10:36 clone
drwxr-xr-x 4 buildd buildd 4096 Jan 29 10:36 refs
/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-remote-hg:154: SyntaxWarning: invalid escape sequence '\w'
  RAW_AUTHOR_RE = re.compile(b'^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)')
/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-remote-hg:392: SyntaxWarning: invalid escape sequence '\('
  m = re.match(b'^(.+?) ext:\((.+)\)$', name)
/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-remote-hg:57: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
  or locale.getdefaultlocale()[1]
WARNING: seeded marks of origin with shared; performing gc
/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
  or locale.getdefaultlocale()[1]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 1031, in <module>
    sys.exit(main(sys.argv))
             ^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 1024, in main
    c.execute(argv)
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 365, in execute
    self.do(self.options, [compat.decode_sysarg(a) for a in self.args])
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 484, in do
    remotehg = import_sibling('remotehg', 'git-remote-hg')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 101, in import_sibling
    import imp
ModuleNotFoundError: No module named 'imp'
WARNING: gc for origin failed
WARNING: seeded marks of second with shared; performing gc
/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper:44: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
  or locale.getdefaultlocale()[1]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 1031, in <module>
    sys.exit(main(sys.argv))
             ^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 1024, in main
    c.execute(argv)
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 365, in execute
    self.do(self.options, [compat.decode_sysarg(a) for a in self.args])
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 484, in do
    remotehg = import_sibling('remotehg', 'git-remote-hg')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test/trash directory.main-push/bin/git-hg-helper", line 101, in import_sibling
    import imp
ModuleNotFoundError: No module named 'imp'
WARNING: gc for second failed
no changes found
total 20


Reply to: