GitHub Action for building Python package fails with the following error.
Run python -m pip install git+https://github.com/joerick/cibuildwheel.git@master
python -m pip install git+https://github.com/joerick/cibuildwheel.git@master
shell: /bin/bash -e {0}
env:
pythonLocation: /Users/runner/hostedtoolcache/Python/3.7.10/x64
Collecting git+https://github.com/joerick/cibuildwheel.git@master
Cloning https://github.com/joerick/cibuildwheel.git (to revision master) to /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-req-build-9i6k3ki1
Running command git clone -q https://github.com/joerick/cibuildwheel.git /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-req-build-9i6k3ki1
WARNING: Did not find branch or tag 'master', assuming revision or ref.
Running command git checkout -q master
error: pathspec 'master' did not match any file(s) known to git
WARNING: Discarding git+https://github.com/joerick/cibuildwheel.git@master. Command errored out with exit status 1: git checkout -q master Check the logs for full command output.
ERROR: Command errored out with exit status 1: git checkout -q master Check the logs for full command output.
Error: Process completed with exit code 1.
The reason seems to be that the repository at https://github.com/joerick/cibuildwheel.git has changed its default branch from master to main.
GitHub Action for building Python package fails with the following error.
The reason seems to be that the repository at
https://github.com/joerick/cibuildwheel.git
has changed its default branch frommaster
tomain
.