finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
8.38k stars 1.17k forks source link

Add Python 3.12 to build matrix, Remove usage of deprecated distutils #2458

Closed timkpaine closed 6 months ago

timkpaine commented 10 months ago

This PR prepares perspective for Python 3.12, where distutils has been removed. For our build steps, we now use the vendored distutils inside setuptools, with setuptools pinned to the version currently locked in CI to prevent future breakages. For the one minimal runtime usage, we provide a strtobool function (our usage of this function from distutils was very leftpad-y 😄 ).

fixes #2457

timkpaine commented 10 months ago

patched in https://github.com/conda-forge/perspective-feedstock/pull/146, shows as working for python 3.12

timkpaine commented 6 months ago

going to close for now, will redo shortly