pysal / pysal

PySAL: Python Spatial Analysis Library Meta-Package
http://pysal.org/pysal
BSD 3-Clause "New" or "Revised" License
1.3k stars 301 forks source link

distutils will be deprecated in Python 3.12 #1277

Open ljwolf opened 1 year ago

ljwolf commented 1 year ago

Across the project, many packages use distutils for setting up installations. However, distutils will be deprecated. We will need to deal with this by moving to pyproject.toml. The best way to do this is probably revise the submodule template to use the pyproject.toml specification, and then propagate that downwards.

This will affect the metapackage, as the metapackage will be uninstallable on 3.12 until all its constituent parts are off of distutils.

Check packages for conformance

martinfleis commented 1 year ago

We already started the transition in some packages. I think that the latest one was tobler (https://github.com/pysal/tobler/pull/174) but it seems that we will need to do this across all packages before next meta.

ljwolf commented 1 year ago

Yep, just logging it here because it will be blocking for release.