giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.38k forks source link

Windows build wheels failure #2369

Closed giampaolo closed 7 months ago

giampaolo commented 7 months ago

This started failing recently: https://github.com/giampaolo/psutil/actions/runs/7829258364/job/21360877703. It looks like a problem related to cibuildwheel:

2024-02-08T12:03:15.5361523Z ##[group]Run pipx run --python "C:\hostedtoolcache\windows\Python\3.11.7\x64\python.exe" --spec "D:\a\_actions\pypa\cibuildwheel\v2.16.2" cibuildwheel "." --output-dir '"wheelhouse"' --config-file '""' --only '""'
2024-02-08T12:03:15.5363314Z pipx run --python "C:\hostedtoolcache\windows\Python\3.11.7\x64\python.exe" --spec "D:\a\_actions\pypa\cibuildwheel\v2.16.2" cibuildwheel "." --output-dir '"wheelhouse"' --config-file '""' --only '""'
2024-02-08T12:03:15.5599769Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2024-02-08T12:03:15.5600226Z env:
2024-02-08T12:03:15.5600546Z   pythonLocation: C:\hostedtoolcache\windows\Python\3.11.7\x64
2024-02-08T12:03:15.5601128Z   PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.11.7\x64/lib/pkgconfig
2024-02-08T12:03:15.5601680Z   Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.7\x64
2024-02-08T12:03:15.5602192Z   Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.7\x64
2024-02-08T12:03:15.5602691Z   Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.7\x64
2024-02-08T12:03:15.5603089Z   CIBW_ARCHS: AMD64
2024-02-08T12:03:15.5603326Z   CIBW_PRERELEASE_PYTHONS: true
2024-02-08T12:03:15.5603602Z ##[endgroup]
2024-02-08T12:04:09.7717538Z Invalid --only='""', must be a build selector with a known platform

@mayeut Hello Matthieu, would you have some time to look at this?

mayeut commented 7 months ago

2370 should fix that.

Edit: It does.