crate-operator icon indicating copy to clipboard operation
crate-operator copied to clipboard

Maintenance: Update to Python 3.11

Open amotl opened this issue 1 year ago • 6 comments

About

Just a humble attempt to modernize the Python version and the package dependencies.

Notes

Needs more love on different levels.

amotl avatar Sep 06 '23 16:09 amotl

Hi Romanas. Thanks. I was just playing around a bit, and I do not plan to submit this patch as a proposal for integration.

Can you share some pointers to the libraries being incompatible with Python 3.11 in one way or another, if you may know about the right spots already? It will tremendously help to get a better understanding.

amotl avatar Sep 07 '23 12:09 amotl

I only have anecdotal evidence, i.e. when we were trying to upgrade to 3.11 in the cloud-api, there were issues with celery. That made me come to a mental conclusion "3.11 is too early for us" and forget about it.

SStorm avatar Sep 07 '23 13:09 SStorm

References about mypy modernizations, re. Error: no mypy cache directory.

  • https://github.com/python/mypy/issues/10600#issuecomment-859225825
  • https://github.com/python/mypy/issues/10768

amotl avatar Jun 04 '24 11:06 amotl

@amotl do you plan working on this one ?

goat-ssh avatar Sep 19 '24 14:09 goat-ssh

Hi @goat-ssh. I can give the patch another refresh if there is interest.

amotl avatar Sep 20 '24 10:09 amotl

References about mypy modernizations [...]

mypy needs to be bumped first I guess.

  • See https://github.com/crate/crate-operator/pull/654.

amotl avatar Sep 20 '24 10:09 amotl