-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
22 tests fail #926
Comments
Here's the failing tests:
The tox_to_nox tests are failing because you don't have tox installed. We have several new tests that expect certain Python versions to be installed. Not sure what best to do about those.
Here are a few others I'll try to look into soon:
|
FYI, on OpenIndiana I do see these results:
Both |
The ones based on the interpreter are expected, we should come up with some better way to handle or skip these - as a quick fix, we could just skip if
|
With the two added skips (two tests needing 3.9 and 3.10, and the tox_to_nox skip fix) I've mentioned, I don't see any failures on a minimal ubuntu image: $ docker run -v $PWD:/nox -w /nox --rm -it ubuntu:24.04
# apt update && apt install python3-venv
# python3 -m venv /venv
# . /venv/bin/activate
# pip install -e.
# pip-install-dependency-groups test
# pytest
...
SKIPPED [1] tests/test_tox_to_nox.py:27: could not import 'nox.tox_to_nox': No module named 'jinja2'
SKIPPED [1] tests/test_command.py:63: Needs git
SKIPPED [1] tests/test_command.py:396: Only run this test on Windows.
SKIPPED [1] tests/test_command.py:418: Only run this test on Windows.
SKIPPED [2] tests/test_main.py:533: Python 3.9 and 3.10 required
SKIPPED [1] tests/test_sessions.py:1135: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:174: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:203: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:217: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:233: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:265: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:271: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:294: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:308: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:517: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:556: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:571: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:587: Missing conda command.
SKIPPED [4] tests/test_virtualenv.py:608: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:636: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:636: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:673: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:702: Missing uv command.
SKIPPED [6] tests/test_virtualenv.py:809: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:896: Python 2.7 unsupported for virtualenv>=20.22.0
XPASS tests/test_logger.py::test_no_color_timestamp[color]
=== 590 passed, 34 skipped, 1 xpassed in 104.22s (0:01:44) === |
I tried the same thing on a FreeBSD 14.2 VM, and got basically the same result. # pkg install python databases/py-sqlite3 git
# python -m venv /venv
# git clone https://github.com/wntrblm/nox
# cd nox
# git checkout henryiii/tests/skips
# pip install -e .
# pip-install-dependency-groups test
# pytest
...
=== 593 passed, 31 skipped, 1 xpassed in 42.56s === Most importantly, |
I'm running tests with many additional Python packages installed. Please find the The full command used to run tests is this:
pip freeze
|
Current Behavior
log
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: