Skip to content

Commit cd3894e

Browse files
committed
wheel-build: Work around pip 19.0 errors
As pointed out by ajaeger; the wheel build jobs are failing with Error installing 'pip from git+https://github.com/ianw/pip.git@path-and-hash#egg=pip': editable mode is not supported for pyproject.toml-style projects. This appears to be an issue with pip 19.0 which would be installed on the build hosts, interacting with projects that have a pyproject.toml file. The problem only seems to be related to installing in editable mode, which we don't really need here on this ephemeral host. So just switch to a regular install, with upgrade/reinstall to be sure. [1] pypa/pip#6449 Change-Id: I006500a2c98f512176fbac4ab426a8719243fc70
1 parent 945a586 commit cd3894e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/build-wheels/files/wheel-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ for BRANCH in master $BRANCHES; do
2828
# info into the logs to debug corrupt wheels. We should see pip
2929
# stamping sha256 hashes into the logs for each wheel, so we can
3030
# see if the bad output is coming from pip, or somewhere else.
31-
build_env/bin/pip install -e 'git+https://github.com/ianw/pip.git@path-and-hash#egg=pip'
31+
build_env/bin/pip install --upgrade --force-reinstall \
32+
'git+https://github.com/ianw/pip.git@path-and-hash#egg=pip'
3233

3334
# SHORT_BRANCH is just "master","newton","kilo" etc. because this
3435
# keeps the output log hierarchy much simpler.

0 commit comments

Comments
 (0)