Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

Update waf to 2.0.25 (for Python 3.12)

Open wegank opened this issue 1 year ago • 1 comments

Operating system: NixOS wxPython version & source: 4.2.1, pypi Python version & source: 3.12, distro

Description of the problem:

In Python 3.12, distutils has been dropped from stdlib and is provided by setuptools instead, but import distutils is not guaranteed to succeed without importing setuptools first, and in particular, waf 2.0.24 fails to launch in a Nix build environment. As this issue has been fixed in waf 2.0.25, and building with waf 2.0.25 works on our side, we'd like to request an update here.

Code Example (click to expand)
# Put code sample here

wegank avatar Jul 12 '24 12:07 wegank

For the record, we discussed this upgrade over here:

  • waf 2.0.25 works
  • waf 2.1.1 does not work (because of https://gitlab.com/ita1024/waf/-/merge_requests/2371)
  • waf 2.1.2 works

jfly avatar Aug 20 '24 19:08 jfly