Skip to content

Conversation

@dionhaefner
Copy link
Contributor

@dionhaefner dionhaefner commented Nov 24, 2025

Relevant issue or PR

#372, esp. discussion here: #372 (comment)

Description of changes

  • Tesseract runtime now adds the folder containing tesseract_api.py to PYTHONPATH. This makes it easier to import local modules in all scenarios (containerized vs. non-containerized usage).
  • Add a test for both cases.
  • Adapt docs for localdependency building block (now called localpackage), which was part mislabeled and part incorrect.

Testing done

CI

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.45%. Comparing base (a2d02b5) to head (bb94f4c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
+ Coverage   76.42%   76.45%   +0.03%     
==========================================
  Files          29       29              
  Lines        3359     3364       +5     
  Branches      526      526              
==========================================
+ Hits         2567     2572       +5     
  Misses        558      558              
  Partials      234      234              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dionhaefner dionhaefner marked this pull request as ready for review November 25, 2025 12:50
Copy link
Contributor

@apaleyes apaleyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terrific! just some tiny comments below

@dionhaefner dionhaefner enabled auto-merge (squash) November 25, 2025 13:54
@dionhaefner dionhaefner merged commit 6ceb18c into main Nov 25, 2025
42 checks passed
@dionhaefner dionhaefner deleted the dion/local-module-support branch November 25, 2025 16:14
@pasteurlabs pasteurlabs locked and limited conversation to collaborators Nov 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants