Skip to content

Fix nox venv reuse issue#811

Merged
BrianMichell merged 1 commit into
TGSAI:mainfrom
BrianMichell:fix_nox_venv_reuse
Apr 22, 2026
Merged

Fix nox venv reuse issue#811
BrianMichell merged 1 commit into
TGSAI:mainfrom
BrianMichell:fix_nox_venv_reuse

Conversation

@BrianMichell
Copy link
Copy Markdown
Collaborator

Command nox -s tests-3.13 would generate the below error if the nox environment already existed.

nox > Running session tests-3.13
nox > Creating virtual environment (uv) using python3.13 in .nox/tests-3-13
nox > Command uv venv -p python3.13 /home/source/mdio-python/.nox/tests-3-13 failed with exit code 2:
nox > Using CPython 3.13.9
Creating virtual environment at: .nox/tests-3-13
error: Failed to create virtual environment
  Caused by: A virtual environment already exists at `/home/source/mdio-python/.nox/tests-3-13`. Use `--clear` to replace it

nox > Session tests-3.13 failed.

@BrianMichell BrianMichell added the ci Continuous Integration label Apr 22, 2026
@BrianMichell BrianMichell merged commit 2e3abe1 into TGSAI:main Apr 22, 2026
8 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.55%. Comparing base (c3ba558) to head (d044428).
⚠️ Report is 230 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #811      +/-   ##
==========================================
+ Coverage   85.30%   89.55%   +4.24%     
==========================================
  Files          46      104      +58     
  Lines        2219     6135    +3916     
  Branches      306      408     +102     
==========================================
+ Hits         1893     5494    +3601     
- Misses        281      543     +262     
- Partials       45       98      +53     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant