feat: Make Python version configurable#592
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #592 +/- ##
==========================================
+ Coverage 76.91% 77.23% +0.31%
==========================================
Files 32 32
Lines 4531 4537 +6
Branches 744 745 +1
==========================================
+ Hits 3485 3504 +19
+ Misses 740 728 -12
+ Partials 306 305 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Benchmark ResultsBenchmarks use a no-op Tesseract to measure pure framework overhead. 🚀 1 faster, Notable changes
Full results
|
apaleyes
approved these changes
Jun 15, 2026
apaleyes
left a comment
Contributor
There was a problem hiding this comment.
Tried building/running a tesseract with default and specified python version. Tests seem fine. Timely change, thanks!
P.S. What do we do with py3.10 example now? Worth updating with new way to specifying python version? Or keep as an example of custom base image use?
Contributor
Author
|
py310 example is updated already ;) |
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.
Relevant issue or PR
n/a
Description of changes
This makes the Python version a Tesseract uses configurable. Since we already use UV for dependency installation, bootstrapping an arbitrary Python version into the image is trivial.
Default is
python_version: nullwhich still resolves to whatever the base image provides, so this is fully backwards compatible.Testing done
CI, new e2e test