desec-stack icon indicating copy to clipboard operation
desec-stack copied to clipboard

chore(api): bump Python to 3.11

Open peterthomassen opened this issue 2 years ago • 4 comments

Preparation for Python 3.11 release (due ~today).

peterthomassen avatar Aug 12 '22 00:08 peterthomassen

The code looks good to me. However, I'm concerned that it will make development more difficult as I do not have 3.11 locally available. That puts me at risk in running into problems that only occur with 3.11 (like the changes you made); or alternatively spend much time on upgrading my local things.

nils-wisiol avatar Aug 13 '22 12:08 nils-wisiol

In particular, I'm concerned about running the api tests locally (like described in README).

nils-wisiol avatar Aug 13 '22 13:08 nils-wisiol

yeah, same here. It's a "speculative" PR that I just made as I came across things that may be incompatible as I was going over the Python 3.11 changelog. I thought it's better to prepare the upgrade now, than to have to re-read the whole thing.

So, let's just have it sit here until we feel like applying it.

peterthomassen avatar Aug 13 '22 21:08 peterthomassen

This PR should extend GitHub action such that it runs with 3.11

nils-wisiol avatar Aug 26 '22 13:08 nils-wisiol

This PR should extend GitHub action such that it runs with 3.11

Does this require touching the GitHub action? (It seems to me that updating the test container's base image suffices; I've made this change.)

peterthomassen avatar Jun 06 '23 16:06 peterthomassen

This needs to wait until django-pgtrigger is compatible.

peterthomassen avatar Jun 08 '23 17:06 peterthomassen

This needs to wait until django-pgtrigger is compatible.

peterthomassen avatar Jun 08 '23 17:06 peterthomassen

@nils-wisiol I think this is ready now!

peterthomassen avatar Jun 09 '23 18:06 peterthomassen