Skip to content

Stop fallback to asyncio on python3.12 #312

@fruch

Description

@fruch

during adding the support to python3.12 we took a call to fallback to asyncio once asyncore isn't available.

seems like doing so, we are running into issues that we didn't had coverage for, like using asyncio event loop, from actual async code.
since we don't have such in the integration suite of this driver, nor in dtest.

it was hit only by scylla core test.py, that is build as async code

so we should do one of the two, or even both:

  • adapt the same logic as upstream to fail when we can find any event loop available, and not default to asyncio
  • add some coverage for the async code usages, to cover the issue we were hitting, and fix them

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions