Update Windows builds to use ClangCL by zanieb · Pull Request #549 · astral-sh/python-build-standalone (original) (raw)

Cool that gets us to

cpython> copying C:\Users\RUNNER~1\AppData\Local\Temp\python-build-hctl79hu\Python-3.14.0a6\PCbuild\amd64\python314.exp
Traceback (most recent call last):
  File "C:\a\python-build-standalone\python-build-standalone\cpython-windows\build.py", line 1816, in <module>
    sys.exit(main())
             ^^^^^^
  File "C:\a\python-build-standalone\python-build-standalone\cpython-windows\build.py", line 1790, in main
    tar_path = build_cpython(
               ^^^^^^^^^^^^^^
  File "C:\a\python-build-standalone\python-build-standalone\cpython-windows\build.py", line 1524, in build_cpython
    build_info = collect_python_build_artifacts(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\a\python-build-standalone\python-build-standalone\cpython-windows\build.py", line 1079, in collect_python_build_artifacts
    shutil.copyfile(source, dest)
  File "C:\hostedtoolcache\windows\Python\3.12.9\x64\Lib\shutil.py", line 260, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\python-build-hctl79hu\\Python-3.14.0a6\\PCbuild\\amd64\\python314.exp'

which is from the copy at

exts = ("lib", "exp")
for ext in exts:
source = outputs_path / ("python%s%s.%s" % (python_majmin, lib_suffix, ext))
dest = core_dir / ("python%s%s.%s" % (python_majmin, lib_suffix, ext))
log("copying %s" % source)
shutil.copyfile(source, dest)

I presume this file is not produced upstream as well? I don't know if it's of consequence — I'm woefully lacking in knowledge of .exp files / Windows dynamic linking details.