-
Notifications
You must be signed in to change notification settings - Fork 4
test_result_json failing with tox 3.8.3 #38
Comments
That latter error is with tox itself, not with this project. |
Or maybe not. tox-dev/tox#1221 is closed in favor of #29. |
Okay, confirmed after upgrading to tox-venv 0.4, I'm able to run tests again. |
And the originally-reported failure remains, even with the latest tox and tox-venv installed. |
tox moved on https://github.com/tox-dev/tox/blob/master/tests/unit/test_z_cmdline.py#L461-L503 (probably one of the reasons why vendoring tox tests is a bad idea) - fixing/modifying the tests now means you need to do so too
|
hmm. I wonder why the tests fail in master but not on Travis-CI. |
Even replacing that test with the version from tox, the tests continue to fail during the 'setup' command_type, because
|
Downgrading tox to 3.8.1 in the virtual environment works around the issue, which explains why the tests aren't failing in Travis (because they ran with tox 3.8.1). |
Which goes to my point, tox-venv should not vendor toxs test suite but have it's own. A lot more tests would fail if tox-venv would use action.popen (#37 - which it absolutely should) instead of subprocess as it does now. venv really does not behave like virtualenv 👍 their code base have little in common, their goals also just mostly align, 1 to 1 behaviour mapping cannot be expected. |
@jaraco Are you sure that you pulled the latest tox-venv master? I released tox-venv v0.4.0 a few days ago, which fixes the Also, it's not ideal, but the test suite is just a slightly modified copy of the venv and command line tests from tox. The idea is that I want tox-venv to largely maintain parity with tox, and the simplest way to ensure that is to copy tox's tests. Unfortunately, this is an incredibly brittle solution and basically means that any version of tox-venv is technically pinned against a specific version of tox (in this case to 3.8.1). However in practice, tox-venv is generally compatible - not specific to just one version of tox. |
I just tested against e740a96 and the issue still exists. There's now an additional failure as well. |
Will be fixed by #44. |
Using the latest master, one test fails for me on my macOS 10.14.3 workstation:
That was with tox 3.7.0. For good measure, I upgraded the tox in my local environment to 3.8.3 and now tests fail to run at all:
The text was updated successfully, but these errors were encountered: