You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running thx test I noticed had a test failure. When I fixed the test failure in my project source, thx test still shows the failure.
This is because the project itself is installed into the virtualenv with pip install -U . and pip only replaces it when the version number increases. I'm using flit_scm so version numbers will increase with commits, but uncommitted staged/unstaged changes are not causing a reinstall.
This could be fixed by passing --force-reinstall or --editable to pip install.
Details
OS: Linux
Python version: 3.10 to 3.12
thx version: 0.6.0
Can you repro on main? Haven't tried but analysis says yes
Can you repro in a clean virtualenv? Haven't tried but analysis says yes
The text was updated successfully, but these errors were encountered:
Description
When running
thx test
I noticed had a test failure. When I fixed the test failure in my project source,thx test
still shows the failure.This is because the project itself is installed into the virtualenv with
pip install -U .
and pip only replaces it when the version number increases. I'm usingflit_scm
so version numbers will increase with commits, but uncommitted staged/unstaged changes are not causing a reinstall.This could be fixed by passing
--force-reinstall
or--editable
topip install
.Details
The text was updated successfully, but these errors were encountered: