This was added in 7fc5e865b93af59364e9c8bf75ec68b4decc7e5d but I can’t see a reason why this should be forbidden.
This is also needed for other changes (bumping the minimum python version).
This was added in 7fc5e865b93af59364e9c8bf75ec68b4decc7e5d but I can’t see a reason why this should be forbidden.
This is also needed for other changes (bumping the minimum python version).
8@@ -9,7 +9,8 @@ export LC_ALL=C.UTF-8
9 export HOST=i686-pc-linux-gnu
10 export CONTAINER_NAME=ci_i686_centos
11 export DOCKER_NAME_TAG=quay.io/centos/centos:stream8
12-export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-zmq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
13+export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip zeromq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
14+export PIP_PACKAGES="pyzmq"
From https://github.com/bitcoin/bitcoin/tree/master/test:
The ZMQ functional test requires a python ZMQ library. To install it:
- on Unix, run sudo apt-get install python3-zmq
- on mac OS, run pip3 install pyzmq
How does this PR change the “32-bit + dash [gui] [CentOS 8]” CI task?
It shouldn’t. All it does is replace the python3-zmq
system package, which has wrapped the pyzmq
from pip and zeromq
. It is replaced by an explicit installation of both “sub”-packages.
All it does is replace the
python3-zmq
system package…
Other tasks still use python3-zmq
.
apt-get install python3-zmq
centos is not using apt-get
, so any doc update seems unrelated. If your system provides python3-zmq
you can use it, however, you can also use pip3 install pyzmq
, which should work everywhere.
centos is not using
apt-get
, so any doc update seems unrelated
That is why docs need to be updated like that or similar:
0The ZMQ functional test requires a python ZMQ library. To install it:
1- on Debian/Ubuntu, run `sudo apt-get install python3-zmq`
2- on other systems, run `pip3 install pyzmq`
But it is unrelated to this PR CI changes themselves.
All it does is replace the
python3-zmq
system package, which has wrapped thepyzmq
from pip andzeromq
. It is replaced by an explicit installation of both “sub”-packages.
And what are benefits of that?
And what are benefits of that?
It demonstrates that the goal of this pull request is achieved. Also, it is needed for other changes (bumping the minimum python version).
Also, it is needed for other changes (bumping the minimum python version).
Perhaps, mention this in the PR description?
Perhaps, mention this in the PR description?
Thx, done
81+ # shellcheck disable=SC2086
82+ IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
83+ else
84 # shellcheck disable=SC2086
85- ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
86+ ${CI_RETRY_EXE} CI_EXEC pip3 install --user $PIP_PACKAGES
Review note: Adding CI_EXEC is required, otherwise it would result in a failure.
To reproduce the failure:
0$ RESTART_CI_DOCKER_BEFORE_RUN=1 FILE_ENV="./ci/test/00_setup_env_i686_centos.sh" ./ci/test_run_all.sh
1...
2bash: line 1: pip3: command not found
This also fixes a bug on historic commits. To reproduce the bug on the historic commits:
0$ git checkout 3c3bd9022026a75e15492ba9cf8bf3b72866b9a9~ && RESTART_CI_DOCKER_BEFORE_RUN=1 FILE_ENV="./ci/test/00_setup_env_i686_multiprocess.sh" ./ci/test_run_all.sh
1...
2bash: line 1: pip3: command not found
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Address feedback from https://github.com/bitcoin/bitcoin/pull/24561/files#r985719812
This was added in 7fc5e865b93af59364e9c8bf75ec68b4decc7e5d but I can't
see a reason why this should be forbidden.
8@@ -9,7 +9,8 @@ export LC_ALL=C.UTF-8
9 export HOST=i686-pc-linux-gnu
10 export CONTAINER_NAME=ci_i686_centos
11 export DOCKER_NAME_TAG=quay.io/centos/centos:stream8
12-export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-zmq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
13+export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip zeromq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
zermomq
shouldn’t be needed at all. depends should be statically linking the 32-bit lib into the binary already
For reference, interface_zmq.py:
MarcoFalke
hebasto
fanquake
DrahtBot
Labels
Tests