bluesky / ophyd-async

Hardware abstraction for bluesky written using asyncio
https://blueskyproject.io/ophyd-async
BSD 3-Clause "New" or "Revised" License
11 stars 26 forks source link

Add Python 3.12 to CI now that p4p is updated #655

Open OCopping opened 3 days ago

OCopping commented 3 days ago

I noticed Python 3.12 never got added to the CI after support for it in p4p got released.

OCopping commented 3 days ago

The tests are failing because of a get_event_loop() deprecation warning/error. From the docs: Deprecated since version 3.12: Deprecation warning is emitted if there is no current event loop. In some future Python release this will become an error.

coretl commented 3 days ago

The tests are failing because of a get_event_loop() deprecation warning/error. From the docs: Deprecated since version 3.12: Deprecation warning is emitted if there is no current event loop. In some future Python release this will become an error.

@evalott100 I think this is coming from the "detect pending tasks" fixture, would you mind taking a look please?