Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninformative error message - Issue with Windows Build #1748

Open
adam2392 opened this issue Jan 31, 2024 · 3 comments
Open

Uninformative error message - Issue with Windows Build #1748

adam2392 opened this issue Jan 31, 2024 · 3 comments

Comments

@adam2392
Copy link

Description

Hi,

Thank you for this great package. I'm having a bit of trouble building wheels all of a sudden (neurodata/scikit-tree#207), but it previously works: https://github.com/neurodata/scikit-tree/actions/runs/7721644419/job/21048502802.

I was wondering if anyone had any idea on how to debug this even, or if there was a recent bug introduced?

Run pipx 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 '""' --only '""'
  pipx 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 '""' --only '""'
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    IS_32_BIT: false
    pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
    PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
    Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
    Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
    Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
    CIBW_BUILD: cp311-win*
    CIBW_ARCHS: AMD64
    CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS
    CIBW_ENVIRONMENT_WINDOWS: PKG_CONFIG_PATH=c:/opt/64/lib/pkgconfig PIP_PRE=1 PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple PIP_NO_BUILD_ISOLATION=false
  
Invalid --only='""', must be a build selector with a known platform

Build log

https://github.com/neurodata/scikit-tree/actions/runs/7730700062/job/21076674827?pr=207

CI config

https://github.com/neurodata/scikit-tree/blob/main/.github/workflows/build_wheels.yml

@bhazelton
Copy link

I believe this was fixed in v2.16.5. I'm still having some new build issues in Windows on that version, but it's a different failure mode so may not affect you.

@henryiii
Copy link
Contributor

Yes, that was due to a GitHub rollout of new builder images that contained Powershell 7.3+, which changed the way quoting works. It's way better, but the weird quoting required for 7.2 and earlier causes quotes to be injected to both --only as well as the paths. We've fixed it in 2.16.5.

@henryiii
Copy link
Contributor

I've updated the title of #1740 and pinned it, maybe that will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants