Use OpenSSL 3 for t-encrypt Python wheel builds#303
Merged
Conversation
oleksandrSydorenkoJ
requested review from
kladkogex and
olehnikolaiev
as code owners
July 16, 2026 12:30
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the t-encrypt Python wheel build and CI/publish pipelines to build the bundled native library against OpenSSL 3, keep the wheel platform-specific (non-py3-none-any), and add basic validation checks before using/publishing the artifact.
Changes:
- Mark t-encrypt as a binary distribution (and bump version to 0.0.2) to avoid producing a
py3-none-anywheel while bundling a.so. - Add
OPENSSL_GIT_REFoverride support indeps/build.shand use it in CI/publish to build against OpenSSL 3.0.15. - Add CI jobs to build, validate (auditwheel/show, contents, and OpenSSL 1.1 dependency absence), and smoke-test import of the same wheel on Ubuntu 22.04 and 24.04; add similar validation in publish workflow.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| python/setup_t_encrypt.py | Marks wheel as non-pure via distclass and bumps package version. |
| deps/build.sh | Adds an OpenSSL git ref override used to select OpenSSL 3 for wheel builds. |
| .github/workflows/test.yml | Builds one t-encrypt wheel artifact, validates it, and tests install/import on multiple Ubuntu versions. |
| .github/workflows/publish.yml | Builds t-encrypt native library with OpenSSL 3 and validates wheel characteristics before publishing. |
PropzSaladaz
approved these changes
Jul 16, 2026
badrogger
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What:
Update the t-encrypt Python wheel build so the packaged native library is built with OpenSSL 3 and validated before publish/use.
Why:
Wheels built against OpenSSL 1.1 can fail on environments without libcrypto.so.1.1. The published Python wheel should depend on OpenSSL 3 and must not be tagged as py3-none-any while bundling a native .so.
How:
Checklist:
Local validation: