AnthonyZhOon opened a new pull request, #13339: URL: https://github.com/apache/datafusion/pull/13339
## Which issue does this PR close? Closes #13337 ## Rationale for this change [PEP 632 - Deprecate distutils module](https://peps.python.org/pep-0632/) has removed `distutils` from the standard library in python 3.12. Instead maintaining the module at the `setuptools` package. Updating the dependencies to reflect this allows the docs to be built with python 3.12 and should still work on earlier python versions. ## What changes are included in this PR? An extra dependency on `setuptools` in the requirements.txt with a version constraint `>=48.0.0` when `distutils` was first available. ## Are these changes tested? I have successfully built and viewed the docs with python3.12 ## Are there any user-facing changes? There should be no user-facing changes and this is the recommended migration path in [PEP 632 - Deprecate distutils module](https://peps.python.org/pep-0632/). Alternatives are mentioned in this stack overflow [No module named 'distutils' in Python 3.12](https://stackoverflow.com/questions/77247893/modulenotfounderror-no-module-named-distutils-in-python-3-12) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org