Skip to content

CI: force-reinstall cryptography from source for the linux binaries - #10440

Merged
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-cryptography-reinstall
Sep 27, 2026
Merged

ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-cryptography-reinstall

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

The linux binary jobs failed in the "Build cryptography against the system OpenSSL" step (e.g. the 2.0.0b25 tag run): the moto S3 test server install already pulled in the cryptography manylinux wheel, so pip install --no-binary cryptography cryptography was a no-op and the check for a dynamically linked libcrypto failed.

Adding --force-reinstall makes pip rebuild it from source against the system OpenSSL.

🤖 Generated with Claude Code

The moto S3 test server install already pulls in the cryptography
manylinux wheel, so a plain "pip install --no-binary cryptography"
kept that wheel (statically linked OpenSSL) and the dynamic libcrypto
check failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.67%. Comparing base (f694ba3) to head (001b59c).
⚠️ Report is 3 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10440      +/-   ##
==========================================
- Coverage   88.70%   88.67%   -0.03%     
==========================================
  Files         103      103              
  Lines       19284    19284              
  Branches     3004     3004              
==========================================
- Hits        17105    17101       -4     
- Misses       1507     1513       +6     
+ Partials      672      670       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@ThomasWaldmann
ThomasWaldmann merged commit 57c0a6f into borgbackup:master Sep 27, 2026
19 of 21 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the ci-cryptography-reinstall branch September 27, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant