piccolo-orm / piccolo

A fast, user friendly ORM and query builder which supports asyncio.
https://piccolo-orm.com/
MIT License
1.46k stars 91 forks source link

Use Python 3.13 for integration tests #1113

Open dantownsend opened 1 month ago

dantownsend commented 1 month ago

Following on from: https://github.com/piccolo-orm/piccolo/issues/1094

We updated everything to Python 3.13, but we can't currently install BlackSheep on Python 3.13:

https://github.com/Neoteroi/BlackSheep/issues/515

So we're still running the integration tests on Python 3.12 for now:

https://github.com/piccolo-orm/piccolo/blob/265b0c2d82a87e4a07dcdf6fe4e938df6196749d/.github/workflows/tests.yaml#L43

We should change this to 3.13 once all the supported ASGI frameworks run under 3.13.

dantownsend commented 1 month ago

One potential solution here is to keep a dict in Piccolo which tells us which ASGI frameworks work on certain Python versions.

When someone uses piccolo asgi new we can exclude BlackSheep for now on Python 3.13, until a new release becomes available.