Skip to content

Conversation

@skoudoro
Copy link
Collaborator

Small PR to fix #104

This PR Introduced a --debug flag to the trx CLI, which prints detailed diagnostics about the Python interpreter, installed package location, and dependency status, then exits.

it should help user (and us) to troubleshoot and avoid the issue encountered in #86

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 12.50000% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.95%. Comparing base (f436d76) to head (a70da17).

Files with missing lines Patch % Lines
trx/cli.py 12.50% 35 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   61.75%   60.95%   -0.80%     
==========================================
  Files          13       13              
  Lines        2536     2574      +38     
==========================================
+ Hits         1566     1569       +3     
- Misses        970     1005      +35     
Flag Coverage Δ
unittests 60.95% <12.50%> (-0.80%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@arokem
Copy link
Collaborator

arokem commented Feb 10, 2026

I like the --debug flag, but the documentation of pyenv issues seems like overkill to me, because it's really not specific to trx, but pertains much more to pyenv itself.

@skoudoro
Copy link
Collaborator Author

skoudoro commented Feb 11, 2026

make sense, I hesitated to add this information about pyenv.

I updated this to make it more generic. see a70da17

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.

Alert for environment mismatch

2 participants