daniestevez / gr-satellites

GNU Radio decoder for Amateur satellites
GNU General Public License v3.0
776 stars 161 forks source link

Depraction of distutils #539

Open winnieXY opened 7 months ago

winnieXY commented 7 months ago

distutils will be removed with python 3.12 - please switch to shutils.which instead. See below for a short patch..

With best regards Patrick

clang_format.txt

daniestevez commented 7 months ago

Thanks for sending this.

It's probably worth to pull the latest version of https://github.com/gnuradio/gnuradio/blob/main/tools/clang_format.py, since it has a few other changes besides replacing distutils by shutil. Though the script might as well be removed altogether. It is not used in CI and I don't know if anyone actually uses it.

On a related note, it would be good to update the clang format CI workflow to use the latest version of https://github.com/DoozyX/clang-format-lint-action.

Could you send a PR with these changes?