Fix CI for Python 3.12
Fix CI for Python 3.12: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fix CI for Python 3.12
The task
**Title:** Fix CI for Python 3.12
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.