Skip to content

4.0rc1: GraalPy fails on delvewheel #2883

@henryiii

Description

@henryiii

Description

  + delvewheel repair -w C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\repaired_wheel -v C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\built_wheel\boost_histogram-1.7.3.dev13+gf9bf9819f-graalpy311-graalpy242_311_native-win_amd64.whl
  extracting boost_histogram-1.7.3.dev13+gf9bf9819f-graalpy311-graalpy242_311_native-win_amd64.whl to C:\Users\RUNNER~1\AppData\Local\Temp\tmps0m87knd
  repairing C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\built_wheel\boost_histogram-1.7.3.dev13+gf9bf9819f-graalpy311-graalpy242_311_native-win_amd64.whl
  finding DLL dependencies
  analyzing package-level extension module boost_histogram\_core.graalpy242-311-native-x86_64-win32.pyd
  Traceback (most recent call last):
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\pefile.py", line 3030, in __parse__
      self.__data__ = mmap.mmap(self.fileno, 0, mmap.MAP_PRIVATE)
  OSError: [Errno 5] The process cannot access the file because it is being used by another process
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\graalpy-24.2.2-windows-amd64\Lib\runpy.py", line 198, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\graalpy-24.2.2-windows-amd64\Lib\runpy.py", line 88, in _run_code
      exec(code, run_globals)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Scripts\delvewheel.exe\__main__.py", line 10, in <module>
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\delvewheel\__main__.py", line 121, in main
      wr.repair(args.target, no_mangles, args.no_mangle_all, args.with_mangle, args.strip, args.lib_sdir, not args.no_diagnostic and 'SOURCE_DATE_EPOCH' not in os.environ, namespace_pkgs, args.include_symbols, args.include_imports, args.custom_patch)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\delvewheel\_wheel_repair.py", line 849, in repair
      discovered, associated, ignored = _dll_utils.get_all_needed(executable_path, self._exclude, self._wheel_dirs, 'raise', include_symbols, include_imports)[:3]
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\delvewheel\_dll_utils.py", line 454, in get_all_needed
      with PEContext(dll_info[0], None, False) as pe2:
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\delvewheel\_dll_utils.py", line 55, in __init__
      self._pe = pefile.PE(path, data)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\pefile.py", line 2941, in __init__
      self.__parse__(name, data, fast_load)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-fx0fgtbm\gp311_242-win_amd64\build\venv\Lib\site-packages\pefile.py", line 3038, in __parse__
      raise Exception(
  Exception: Unable to access file 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\msvcp140.dll': [Errno 5] The process cannot access the file because it is being used by another process

Build log

https://github.com/scikit-hep/boost-histogram/actions/runs/26762923468/job/78881215193?pr=1119

CI config

https://github.com/henryiii/boost-histogram/blob/8a7a71a3d8d70d25770208e60adaf67d007059f9/pyproject.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions