Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Cython tests on Python 3.12 (#1759)
Our "test from PyPI" workflow was failing with Python 3.12 because it exercised the Cython tests, which use `cython.inline`, and `cython.inline` in turn uses `distutils`, which no longer exists in the Python 3.12 standard library. As a temporary workaround, this PR adds `setuptools` to the list of packages installed into the test environment; `setuptools` provides a shim for `distutils`. I'd guess that at some point in the reasonably near future the dependence of Cython on `distutils` will be fixed. Closely related upstream issue: cython/cython#5751
- Loading branch information