Source: mpire
Version: 2.10.2-5
Severity: serious
Tags: forky sid
User: [email protected]
Usertags: python3.14

Hi Maintainer

The autopkgtests of this package fail with Python 3.14 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/m/mpire/testing/amd64/


 99s =================================== FAILURES
===================================
 99s _______________________ WorkerCommsTest.test_init_comms
________________________
 99s
 99s self = <tests.test_comms.WorkerCommsTest testMethod=test_init_comms>
 99s
 99s     def test_init_comms(self):
 99s         """
 99s         Test if initializing/resetting the comms is done properly
 99s         """
 99s         test_ctx = [MP_CONTEXTS['mp_dill']['spawn'],
MP_CONTEXTS['threading']]
 99s         if FORK_AVAILABLE:
 99s             test_ctx.extend([MP_CONTEXTS['mp_dill']['fork'],
MP_CONTEXTS['mp']['forkserver']])
 99s
 99s         for ctx, n_jobs, order_tasks in product(test_ctx, [1, 2,
4], [False, True]):
 99s >           comms = WorkerComms(ctx, n_jobs, order_tasks)
 99s                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 99s
 99s tests/test_comms.py:36:
 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
 99s /usr/lib/python3/dist-packages/mpire/comms.py:103: in __init__
 99s     self._keep_order = self.ctx.Value(ctypes.c_bool, False, lock=True)
 99s                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 99s /usr/lib/python3/dist-packages/multiprocess/context.py:135: in Value
 99s     return Value(typecode_or_type, *args, lock=lock,
 99s /usr/lib/python3/dist-packages/multiprocess/sharedctypes.py:79: in Value
 99s     lock = ctx.RLock()
 99s            ^^^^^^^^^^^
 99s /usr/lib/python3/dist-packages/multiprocess/context.py:73: in RLock
 99s     return RLock(ctx=self.get_context())
 99s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 99s /usr/lib/python3/dist-packages/multiprocess/synchronize.py:200: in __init__
 99s     SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
 99s /usr/lib/python3/dist-packages/multiprocess/synchronize.py:86: in __init__
 99s     register(self._semlock.name, "semaphore")
 99s /usr/lib/python3/dist-packages/multiprocess/resource_tracker.py:215:
in register
 99s     self._send('REGISTER', name, rtype)
 99s /usr/lib/python3/dist-packages/multiprocess/resource_tracker.py:223:
in _send
 99s     self.ensure_running()
 99s /usr/lib/python3/dist-packages/multiprocess/resource_tracker.py:189:
in ensure_running
 99s     pid = util.spawnv_passfds(exe, args, fds_to_pass)
 99s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
 99s
 99s path = b'/usr/bin/python3.14'
 99s args = [b'/usr/bin/python3.14', '-c', 'from
multiprocess.resource_tracker import main;main(16)']
 99s passfds = (8, 16)
 99s
 99s     def spawnv_passfds(path, args, passfds):
 99s         import _posixsubprocess
 99s         import subprocess
 99s         passfds = tuple(sorted(map(int, passfds)))
 99s         errpipe_read, errpipe_write = os.pipe()
 99s         try:
 99s             return _posixsubprocess.fork_exec(
 99s                 args, [path], True, passfds, None, None,
 99s                 -1, -1, -1, -1, -1, -1, errpipe_read, errpipe_write,
 99s                 False, False, -1, None, None, None, -1, None,
 99s >               subprocess._USE_VFORK)
 99s                 ^^^^^^^^^^^^^^^^^^^^^
 99s E               AttributeError: module 'subprocess' has no
attribute '_USE_VFORK'
 99s
 99s /usr/lib/python3/dist-packages/multiprocess/util.py:449: AttributeError

Reply via email to