[Pkg-bazaar-maint] Bug#1061937: breezy ftbfs with Python 3.12 as the default
Matthias Klose
doko at debian.org
Tue Jan 30 09:10:42 GMT 2024
Package: src:breezy
Version: 3.3.5-2
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12
breezy ftbfs with Python 3.12 as the default.
With python3-defaults from experimental, the package fails its autopkg
tests:
complete build log at
https://launchpadlibrarian.net/711802314/buildlog_ubuntu-noble-amd64.breezy_3.3.5-2_BUILDING.txt.gz
all test failures have the form:
[...]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 298, in _mkdir
os.mkdir(abspath, local_mode)
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work/test-branch-zfmaszw2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 919, in
test_alt_timezone_bundle
bundle = self.get_valid_bundle(b'null:', b'tz-1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 1313,
in get_valid_bundle
self.valid_apply_bundle(base_rev_id, bundle,
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 512, in
valid_apply_bundle
to_tree = self.get_checkout(base_rev_id, checkout_dir=checkout_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 475, in
get_checkout
tree = self.make_branch_and_tree(checkout_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 381, in
make_branch_and_tree
return tests.TestCaseWithTransport.make_branch_and_tree(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 3014, in
make_branch_and_tree
b = self.make_branch(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 387, in
make_branch
return tests.TestCaseWithTransport.make_branch(self, path, format,
name=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2708, in
make_branch
repo = self.make_repository(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2752, in
make_repository
made_control = self.make_controldir(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2737, in
make_controldir
t.ensure_base()
File "/<<PKGBUILDDIR>>/breezy/transport/__init__.py", line 426, in
ensure_base
self.mkdir('.', mode=mode)
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 309, in mkdir
self._mkdir(self._abspath(relpath), mode=mode)
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 300, in _mkdir
self._translate_error(e, abspath)
File "/<<PKGBUILDDIR>>/breezy/transport/__init__.py", line 363, in
_translate_error
raise NoSuchFile(path, extra=e)
breezy.transport.NoSuchFile: No such file:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work/test-branch-zfmaszw2':
[Errno 2] No such file or directory:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_alt_timezone_bundle/work/test-branch-zfmaszw2'
breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundleERROR
24ms
log: {{{
1287.610 creating repository in
file:///tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1/.bzr/.
1287.612 creating branch <breezy.bzr.fullhistory.BzrBranchFormat5
object at 0x7f6a6a4e4d10> in
file:///tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1/
1287.615 opening working tree
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1'
1287.615 failed to open
/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1/.bzr/checkout/stat-cache:
[Errno 2] No such file or directory:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1/.bzr/checkout/stat-cache'
1287.615 write hc
1287.622 preparing to commit
INFO Committing to:
/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/b1/
1287.622 Selecting files for commit with filter None
INFO added file
INFO added file2
INFO Committed revision 1.
1287.624 Committed revid b'b at cset-0-1' as revno 1.
INFO Bundling 1 revision.
}}}
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 298, in _mkdir
os.mkdir(abspath, local_mode)
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/test-branch-cvy0ldoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 728, in
test_binary_bundle
self.get_valid_bundle(b'null:', b'b at cset-0-1')
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 1313,
in get_valid_bundle
self.valid_apply_bundle(base_rev_id, bundle,
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 512, in
valid_apply_bundle
to_tree = self.get_checkout(base_rev_id, checkout_dir=checkout_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 475, in
get_checkout
tree = self.make_branch_and_tree(checkout_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 381, in
make_branch_and_tree
return tests.TestCaseWithTransport.make_branch_and_tree(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 3014, in
make_branch_and_tree
b = self.make_branch(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/bzr/tests/test_bundle.py", line 387, in
make_branch
return tests.TestCaseWithTransport.make_branch(self, path, format,
name=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2708, in
make_branch
repo = self.make_repository(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2752, in
make_repository
made_control = self.make_controldir(relpath, format=format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/breezy/tests/__init__.py", line 2737, in
make_controldir
t.ensure_base()
File "/<<PKGBUILDDIR>>/breezy/transport/__init__.py", line 426, in
ensure_base
self.mkdir('.', mode=mode)
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 309, in mkdir
self._mkdir(self._abspath(relpath), mode=mode)
File "/<<PKGBUILDDIR>>/breezy/transport/local.py", line 300, in _mkdir
self._translate_error(e, abspath)
File "/<<PKGBUILDDIR>>/breezy/transport/__init__.py", line 363, in
_translate_error
raise NoSuchFile(path, extra=e)
breezy.transport.NoSuchFile: No such file:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/test-branch-cvy0ldoo':
[Errno 2] No such file or directory:
'/tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work//tmp/testbzr-br89vfuh.tmp/breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_binary_bundle/work/test-branch-cvy0ldoo'
breezy.plugins.weave_fmt.test_bzrdir.V4WeaveBundleTester.test_bundleERROR
23ms
More information about the Pkg-bazaar-maint
mailing list