Monitors are not auto cleared when using gevent on Python 3.14

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: greenerbuild
    • None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed steps to reproduce the problem?

      • Run a server with auth and ssl
      • Set up tests with just setup-tests --green-framework gevent --auth --ssl
      • Set UV_PYTHON=3.14 to ensure 3.14
      • Run just run-tests -k test_cleanup_executors_on_client_del

      Test will fail to unregister one of the monitor threads, either server or server_rtt.

      The related test, test_cleanup_executors_on_client_close, passes successfully. We were already skipping the test on PyPy (PYTHON-5283).

      Definition of done: what must be done to consider the task complete?

      The exact Python version used, with patch level:

      Python 3.14.0rc1

      The exact version of PyMongo used, with patch level:

      4.15.0.dev0
      True

      Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.

      Local, with auth and ssl, latest version. MongoDB version does not affect the result.

      The operating system and version (e.g. Windows 7, OSX 10.8, ...)

      Darwin arm64 14.7

            Assignee:
            Unassigned
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: