* [PATCH] CI: install python-cryptography for world build
@ 2026-07-20 13:13 Casey Connolly
2026-07-20 14:31 ` Tom Rini
2026-07-20 14:56 ` Quentin Schulz
0 siblings, 2 replies; 3+ messages in thread
From: Casey Connolly @ 2026-07-20 13:13 UTC (permalink / raw)
To: Heinrich Schuchardt, Michal Simek, Raymond Mao, Simon Glass,
Tom Rini
Cc: Casey Connolly, u-boot
The mkmbn Python tool used for some Qualcomm platforms needs the
cryptography module, make sure it's installed so the world build can
succeed.
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
---
.azure-pipelines.yml | 2 +-
.gitlab-ci.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 4417ef4e5a50..562c5747c9d3 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -733,9 +733,9 @@ stages:
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate
pip install -r tools/binman/requirements.txt \
-r tools/buildman/requirements.txt \
- setuptools
+ setuptools cryptography
if [[ "${BUILDMAN}" != "" ]]; then
ret=0;
tools/buildman/buildman -o /tmp -PEWM ${BUILDMAN} ${OVERRIDE} || ret=$?;
if [[ $ret -ne 0 ]]; then
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 245e422d72fa..eb13fde82b86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,9 +153,9 @@ build all platforms in a single job:
- python3 -m venv /tmp/venv;
. /tmp/venv/bin/activate;
pip install -r tools/binman/requirements.txt
-r tools/buildman/requirements.txt
- setuptools
+ setuptools cryptography
- ret=0;
git config --global --add safe.directory "${CI_PROJECT_DIR}";
./tools/buildman/buildman -o /tmp -PEWM -x xtensa || ret=$?;
if [[ $ret -ne 0 ]]; then
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] CI: install python-cryptography for world build
2026-07-20 13:13 [PATCH] CI: install python-cryptography for world build Casey Connolly
@ 2026-07-20 14:31 ` Tom Rini
2026-07-20 14:56 ` Quentin Schulz
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2026-07-20 14:31 UTC (permalink / raw)
To: Casey Connolly
Cc: Heinrich Schuchardt, Michal Simek, Raymond Mao, Simon Glass,
u-boot
[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]
On Mon, Jul 20, 2026 at 02:13:22PM +0100, Casey Connolly wrote:
> The mkmbn Python tool used for some Qualcomm platforms needs the
> cryptography module, make sure it's installed so the world build can
> succeed.
>
> Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
> ---
> .azure-pipelines.yml | 2 +-
> .gitlab-ci.yml | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
> index 4417ef4e5a50..562c5747c9d3 100644
> --- a/.azure-pipelines.yml
> +++ b/.azure-pipelines.yml
> @@ -733,9 +733,9 @@ stages:
> python3 -m venv /tmp/venv
> . /tmp/venv/bin/activate
> pip install -r tools/binman/requirements.txt \
> -r tools/buildman/requirements.txt \
> - setuptools
> + setuptools cryptography
> if [[ "${BUILDMAN}" != "" ]]; then
> ret=0;
> tools/buildman/buildman -o /tmp -PEWM ${BUILDMAN} ${OVERRIDE} || ret=$?;
> if [[ $ret -ne 0 ]]; then
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 245e422d72fa..eb13fde82b86 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -153,9 +153,9 @@ build all platforms in a single job:
> - python3 -m venv /tmp/venv;
> . /tmp/venv/bin/activate;
> pip install -r tools/binman/requirements.txt
> -r tools/buildman/requirements.txt
> - setuptools
> + setuptools cryptography
> - ret=0;
> git config --global --add safe.directory "${CI_PROJECT_DIR}";
> ./tools/buildman/buildman -o /tmp -PEWM -x xtensa || ret=$?;
> if [[ $ret -ne 0 ]]; then
Ugh. This shows (a) the CI pipelines had another place that should have
been installing scripts/dtc/pylibfdt/requirements.txt and (b) I don't
know if we should make either boards/qualcomm/requirements.txt or try
again with a top-level requirements.txt file. I believe before Heinrich
disliked that I was including other requirements.txt files in it. I
thought I had said something in reply, but it was a while ago.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] CI: install python-cryptography for world build
2026-07-20 13:13 [PATCH] CI: install python-cryptography for world build Casey Connolly
2026-07-20 14:31 ` Tom Rini
@ 2026-07-20 14:56 ` Quentin Schulz
1 sibling, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2026-07-20 14:56 UTC (permalink / raw)
To: Casey Connolly, Heinrich Schuchardt, Michal Simek, Raymond Mao,
Simon Glass, Tom Rini
Cc: u-boot
Hi Casey,
On 7/20/26 3:13 PM, Casey Connolly wrote:
> The mkmbn Python tool used for some Qualcomm platforms needs the
> cryptography module, make sure it's installed so the world build can
> succeed.
>
I would suggest to have a requirements.txt somewhere in
tools/qcom/mkmbn/ (or the parent) that reflects all external
dependencies of mkmbn. This will make it easier for integrators to know
which dependencies are required for building which part(s) of U-Boot.
Then we can add it to the list of requirements.txt we install in the CI.
Cheers,
Quentin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-20 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 13:13 [PATCH] CI: install python-cryptography for world build Casey Connolly
2026-07-20 14:31 ` Tom Rini
2026-07-20 14:56 ` Quentin Schulz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox