Skip to content

Test failure with cothread and py3.14 #198

Description

@mdavidsaver

24c80ae re-adds testing of the cothread and qtpy optional dependencies. This turned up failures specific to cothread + py 3.14.

The failures are in the GC leak detection, so this may be a false positive due to some GC change in py3.14.

======================================================================
FAIL: testClientDisconn (p4p.test.cothreadtest.TestFirstLast.testClientDisconn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/python/cp314-cp314/lib/python3.14/site-packages/p4p/test/cothreadtest.py", line 187, in tearDown
    self.assertSetEqual(set(srv_cothread._handlers), set()) # ensure no outstanding server handlers
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Items in the first set but not the second:
<p4p.server.cothread.WeakEvent object at 0x7f4e11e20c30>

... repeated for each test in cothreadtest.py.

I have disabled testing of the cothread + py 3.14 combination pending further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions