-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Description
Description
I am getting transient failures on Windows AMD64 builds. It only seems to affect Windows builds, but the exact version of Python seems to change, the error is related to not finding the pyproject.toml
file:
ipx run --python "C:\hostedtoolcache\windows\Python\3.12.1\x64\python.exe" --spec "D:\a\_actions\pypa\cibuildwheel\v2.16.4" cibuildwheel "." --output-dir '"wheelhouse"' --config-file '"{package}/pyproject.toml"' --only '"cp310-win_amd64"'
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
CIBW_TEST_COMMAND: pytest -v {package}/tests
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Scripts\cibuildwheel.exe\__main__.py", line 7, in <module>
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\__main__.py", line 144, in main
build_in_directory(args)
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\__main__.py", line 269, in build_in_directory
options = compute_options(platform=platform, command_line_arguments=args, env=os.environ)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\options.py", line 749, in compute_options
options = Options(platform=platform, command_line_arguments=command_line_arguments, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\options.py", line 401, in __init__
self.reader = OptionsReader(
^^^^^^^^^^^^^^
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\options.py", line 215, in __init__
config_options, config_platform_options = self._load_file(config_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\pipx\.cache\f7cd3d446587c0e\Lib\site-packages\cibuildwheel\options.py", line 286, in _load_file
with filename.open("rb") as f:
^^^^^^^^^^^^^^^^^^^
File "C:\hostedtoolcache\windows\Python\3.12.1\x64\Lib\pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: '"D:\\a\\pypop\\pypop\\pyproject.toml"'
creating virtual environment...
creating virtual environment...
determining package name from 'D:\\a\\_actions\\pypa\\cibuildwheel\\v2.16.4'...
installing cibuildwheel from spec 'D:\\a\\_actions\\pypa\\cibuildwheel\\v2.16.4'...
Once the first set of wheels fails, i can normally get them to regenerate on a second attempt. The exact versions of Python change from time to time, but it's always on Windows.
Build log
CI config
Metadata
Metadata
Assignees
Labels
No labels