neuroinformatics-unit / python-cookiecutter

Utility to create a basic Python project structure with tests, CI etc.
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

Add Python 3.11 #38

Closed dstansby closed 9 months ago

dstansby commented 1 year ago

Python 3.11 has been out for a couple of months now, so it would be good to add configuration for supporting Python 3.11 to the cookiecutter. This needs to happen at least in:

But there may be other places, as I haven't looked systematically at this.

adamltyson commented 1 year ago

I think it's just there and the actions workflow.

The reason we haven't added it yet is because not all of the main scientific libraries support 3.11 yet. TensorFlow is one that springs to mind, but it may be the last one. Now is probably a good time to update.

dstansby commented 1 year ago

napari isn't quite there either - this can definitely wait and stay as a placeholder issue until those libraries are working with Python 3.11.

niksirbi commented 1 year ago

Maybe now is a good time to do this? Enough time has passed since the 3.11 release

adamltyson commented 1 year ago

TensorFlow is on 3.11 now, but napari isn't yet. I'd rather not suggest to users they can use 3.11 when other libraries we recommend aren't yet compatible.

adamltyson commented 9 months ago

It is now time.

adamltyson commented 9 months ago

And remove 3.8

alessandrofelder commented 9 months ago

Reopening, see https://github.com/neuroinformatics-unit/python-cookiecutter/pull/88#issuecomment-1803805942 - will be fixed by #89