You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sysconfig is available since Python 3.2
Tested on nixpkgs and works as expected
### Rationale for this change
Support Python 3.12
### What changes are included in this PR?
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #40566
Authored-by: Sandro <sandro.jaeckel@gmail.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Describe the bug, including details regarding any error messages, version, and platform.
Specifically, I am trying to build pyarrow but hit the following error:
This is due to the code at https://github.com/apache/arrow/blob/main/cpp/cmake_modules/FindPython3Alt.cmake#L70 which uses
distutils
to obtain EXT_SUFFIX which is not valid on python 3.12.I would suggest using this code instead:
This will automatically import the right package depending on the availability of distutils and return the right value.
Component(s)
C++, Python
The text was updated successfully, but these errors were encountered: