dburkart / check-sieve

Syntax checker for mail sieves.
MIT License
34 stars 7 forks source link

FTBFS: distutils removed as of Python 3.12 #66

Closed grawlinson closed 1 month ago

grawlinson commented 1 month ago

As per the release notes:

Python 3.12 is the latest stable release of the Python programming language, with a mix of changes to the language and the standard library. The library changes focus on cleaning up deprecated APIs, usability, and correctness. Of note, the distutils package has been removed from the standard library.

This results in make test not running at all.

setuptools is what the PSF are recommending developers use for creating C++ extensions, so there's a possibility to port the distutils specific code over to setuptools.

dburkart commented 1 month ago

This should be fixed. Upgraded the CI/CD jobs to python 3.12.4 to validate:

https://github.com/dburkart/check-sieve/actions/runs/10126449423/job/28003113114