- version 3.3.0 introduces Rust code, which requires rustc versions newer than available in Debian 11
- For some reason, pip does not even try to install setuptools-rust on the CI, even though it's a build dependency of Breezy https://jenkins.softwareheritage.org/blue/organizations/jenkins/DDOC%2Fdev/detail/dev/2497/pipeline
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Commits
- rDLDBZR3c25542212ff: Require Rust-free versions of Breezy
Diff Detail
Diff Detail
- Repository
- rDLDBZR BZR loader
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D8647 (id=31225)
Rebasing onto 58aeb543ba...
Current branch diff-target is up to date.
Changes applied before test
commit aaca5b31c844214e349f6177d494277c6df95ea7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Mon Oct 10 14:24:38 2022 +0200 Require Rust-free versions of Breeze 1. version 3.3.0 introduces Rust code, which requires rustc versions newer than available in Debian 11 2. For some reason, pip does not even try to install setuptools-rust on the CI, even though it's a build dependency of Breezy
See https://jenkins.softwareheritage.org/job/DLDBZR/job/tests-on-diff/57/ for more details.
Comment Actions
For the record, we can install rust this way on buster but I agree it is better pinning breezy.
14:23 $ git diff diff --git a/docker/Dockerfile b/docker/Dockerfile index 7fa297a..08cda1c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -62,6 +63,10 @@ RUN sh /tmp/nix_install --daemon --no-channel-add --daemon-user-count 1 RUN useradd -md /srv/softwareheritage -s /bin/bash swh USER swh +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rust_install +RUN sh /tmp/rust_install -y +ENV PATH="/srv/softwareheritage/.cargo/bin:${PATH}" + RUN python3 -m venv /srv/softwareheritage/venv ENV PATH="/srv/softwareheritage/venv/bin:${PATH}"
Comment Actions
Build is green
Patch application report for D8647 (id=31227)
Rebasing onto 3c25542212...
First, rewinding head to replay your work on top of it... Fast-forwarded diff-target to base-revision-58-D8647.
Changes applied before test
See https://jenkins.softwareheritage.org/job/DLDBZR/job/tests-on-diff/58/ for more details.