0.8.00 testsuite fails with python 3.5.3 and gnupg 2.1.18
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
with python 3.5.3 and gnupg 2.1.18 the testsuite repeatably fails unit/test_
the error messages all point to the same bit of code at duplicity/
=======
_______
self = <testing.
@pytest.
def test_sigchain_
u"""Test getting signature chain fileobjs from archive_dir_path"""
> self.set_
unit/test_
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
unit/test_
self.
../duplicity/
self.
../duplicity/
res = gnupg.run(
../duplicity/
create_fhs, attach_fhs)
../duplicity/
self.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <duplicity.
process = <duplicity.
gnupg_commands = ['--version'], args = []
def _as_child(self, process, gnupg_commands, args):
u"""Stuff run after forking in child"""
# child
for std in _stds:
p = process._pipes[std]
> os.dup2(p.child, getattr(sys, u"__%s__" % std).fileno())
E ValueError: underlying buffer has been detached
../duplicity/
with python 3.7.3 and gnupg 2.2.12 or 2.2.13 those same tests survive just fine.