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
I am running this as part of a cibuildwheel workflow.
As stated in the docs, abi3audit can be added as a step to the build workflow.
Linux and macos builds pass but on windows it fails, when abi3audit is added as a step through the CIBW_REPAIR_WHEEL_COMMAND_WINDOWS env.
I originally raised this as an abi3audit issue (pypa/abi3audit#97) but was correctly pointed out that the issue is in the CIBW source, so I am rasing this here.
Build log
pip install abi3audit && abi3audit --strict --report C:\Users\runneradmin\AppData\Local\Temp\cibw-run-578cu8cj\cp38-win_amd64\built_wheel\myproject-0.1.0-cp38-abi3-win_amd64.whl
Collecting abi3audit
Downloading abi3audit-0.0.11-py3-none-any.whl.metadata (10 kB)
...
Installing collected packages: pyelftools, urllib3, typing-extensions, six, pygments, pefile, mdurl, kaitaistruct, idna, exceptiongroup, charset-normalizer, certifi, attrs, abi3info, url-normalize, requests, markdown-it-py, cattrs, rich, requests-cache, abi3audit
Successfully installed abi3audit-0.0.11 abi3info-2024.6.25 attrs-23.2.0 cattrs-23.2.3 certifi-2024.7.4 charset-normalizer-3.3.2 exceptiongroup-1.2.2 idna-3.7 kaitaistruct-0.10 markdown-it-py-3.0.0 mdurl-0.1.2 pefile-2023.2.7 pyelftools-0.31 pygments-2.18.0 requests-2.32.3 requests-cache-1.2.1 rich-13.7.1 six-1.16.0 typing-extensions-4.12.2 url-normalize-1.4.3 urllib3-2.2.2
[01:17:48] \U0001f481 myproject-0.1.0-cp38-abi3-win_amd64.whl: 1 extensions scanned; 0 ABI
version mismatches and 0 ABI violations found
{"specs": {"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-578cu8cj\\cp38-win_amd64\\built_wheel\\myproject-0.1.0-cp38-abi3-win_amd64.whl": {"kind": "wheel", "wheel": [{"name": "_myproject.pyd", "result": {"is_abi3": true, "is_abi3_baseline_compatible": true, "baseline": "3.8", "computed": "3.8", "non_abi3_symbols": [], "future_abi3_objects": {}}}]}}}
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "D:\a\_temp\cibw\Scripts\cibuildwheel.exe\__main__.py", line 7, in<module>
File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 49, in main
main_inner(global_options)
File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 184, in main_inner
build_in_directory(args)
File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 352, in build_in_directory
platform_module.build(options, tmp_path)
File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\windows.py", line 478, in build
repaired_wheel = next(repaired_wheel_dir.glob("*.whl"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
astro-stan
changed the title
abi3audit crashes when run by CIBW on windows-latest (Windows Server 2022) in Github Actions
CIBW crashes when after running abi3audit on windows-latest (Windows Server 2022) in Github Actions
Jul 14, 2024
Apologies. This is a mistake in the example config in the docs, and a poor error message. The issue is that repair commands will copy the wheel into {dest_dir} when finished. The docs example misses that step. Could you try:
Description
I am running this as part of a
cibuildwheel
workflow.As stated in the docs,
abi3audit
can be added as a step to the build workflow.Linux and macos builds pass but on windows it fails, when
abi3audit
is added as a step through theCIBW_REPAIR_WHEEL_COMMAND_WINDOWS
env.I originally raised this as an abi3audit issue (pypa/abi3audit#97) but was correctly pointed out that the issue is in the CIBW source, so I am rasing this here.
Build log
CI config
The text was updated successfully, but these errors were encountered: