Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11 #8304

Closed
Tracked by #4 ...
esc opened this issue Aug 2, 2022 · 37 comments
Closed
Tracked by #4 ...

Python 3.11 #8304

esc opened this issue Aug 2, 2022 · 37 comments
Labels
highpriority Python 3.11 All issues related to Python 3.11 support
Milestone

Comments

@esc
Copy link
Member

esc commented Aug 2, 2022

This is the meta/coordination issue for Python 3.11 support for Numba and llvmlite.

Note: The issue text will be updated continuously to reflect the current process and progress.

As Numba interfaces with cpython on the bytecode and C-level, Python minor version upgrades present a significant compatibility challenge and have -- in the past -- required multiple PRs over multiple months of work. For Python 3.11 this issue will serve as a central point of coordination of the efforts. As such it will list the current branches pertaining to Python 3.11 support in addition to using the tag Python 3.11.

In order to support testing against beta releases and release candidates, I created a small utility that allows easy setup of a Numba development environment against a Python pre-release docker container. https://github.com/numba/numba-hatchery this can be used with development branches/repositories of Numba and llvmlite.

@sklam
Copy link
Member

sklam commented Sep 28, 2022

I'm making progress on the bytecode support at https://github.com/sklam/numba/tree/py3.11wip

@sklam
Copy link
Member

sklam commented Oct 26, 2022

I'm making progress at #8545. The PR adapts Numba for the major bytecode changes in Py3.11.

@binary-husky
Copy link

Still no official support for python 3.11 ?

@kaluzniacki
Copy link

The developers have my sympathies - I very much understand how using conda makes things easier - I hope to never have to install gdal without conda, and I can install independent versions of gcc with conda. Best of luck!

@sklam
Copy link
Member

sklam commented Mar 21, 2023

Py3.11 branch have been merged to main by #8822

@sklam
Copy link
Member

sklam commented Mar 22, 2023

We are planning to cut an RC next week. Closing

@sklam sklam closed this as completed Mar 22, 2023
@jakirkham
Copy link
Contributor

Is there an issue to track updates on the RC and releases?

@stuartarchibald
Copy link
Contributor

Is there an issue to track updates on the RC and releases?

A Release Candidate checklist for 0.57.0rc1 is now in #8841. Please do subscribe to that if you are interested in following progress. The official RC announcement will be made on the discourse forum as usual.

@esc esc unpinned this issue May 3, 2023
shaneahmed added a commit to TissueImageAnalytics/tiatoolbox that referenced this issue May 5, 2023
Adds support for Python 3.11 (beta)

- [x] Add 3.11 to the GitHub Actions CI workflow.
- [x] Add 3.11 to setup.py
- [x] Update pip install workflow.
- [x] Update conda requirements python versions.


Waiting on some dependencies to update:

- [x] Shapely (closed) shapely/shapely#1584
  - PyGeos pygeos/pygeos#457
- [x] PyTorch pytorch/pytorch#86566 
    - [x] PyTorch 2.0 supports Python 3.11 
    - [ ] `torch.compile` is not fully supported yet.
- [x] Scipy 1.9.2 not supported by Scikit-image scikit-image/scikit-image#6773
- [x] numba numba/numba#8304 support https://github.com/numba/numba/milestone/63
  - [x] numba/numba#8841
- [x] OpenSlide support for Python 3.11 openslide/openslide-python#189 
  - [ ] openslide/openslide-python#188

---------

Co-authored-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
highpriority Python 3.11 All issues related to Python 3.11 support
Projects
Status: Done
Development

No branches or pull requests