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

Build for Python 3.11 #189

Closed
16 tasks done
bgilbert opened this issue Dec 17, 2022 · 1 comment
Closed
16 tasks done

Build for Python 3.11 #189

bgilbert opened this issue Dec 17, 2022 · 1 comment
Assignees
Labels

Comments

@bgilbert
Copy link
Member

bgilbert commented Dec 17, 2022

Adding wheels for a new Python release

  • Update Git main
    • git checkout main
    • Add classifier for new Python version to setup.py
    • Add new Python version to lists in .github/workflows/python.yml
    • Commit and open a PR
    • Merge the PR when CI passes
    • Add new Python jobs to branch protection required checks
  • Build new wheels
    • Check out a new branch from the most recent release tag
    • Add new Python version to lists in .github/workflows/python.yml, commit, and open a DNM PR
    • Find the workflow run for the PR; download its wheels artifact
    • Close the PR
  • In OpenSlide Python checkout, git checkout v<version> && git clean -dxf && mkdir dist
  • Copy downloaded wheels from new Python release only into dist directory
  • twine upload dist/*
  • Upload new wheels to GitHub release
  • Update MacPorts package
  • Update website: Python 3 versions in download/index.md - Release Windows build 20230414; update MacPorts to Python 3.11 openslide.github.io#38
@bgilbert bgilbert self-assigned this Dec 17, 2022
This was referenced Dec 17, 2022
@bgilbert
Copy link
Member Author

MacPorts doesn't have py311-flask yet. Leaving this open until the MacPorts update can land.

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
Development

No branches or pull requests

1 participant