-
Notifications
You must be signed in to change notification settings - Fork 576
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
pytest is failing in two tests/test_nbconvertapp.py
units (7.11.0 - 7.16.0)
#2066
Comments
Thanks for the report, confirming that I see the same on 7.16.0, running it on Debian and FreeBSD
===================================================================================================================== test session starts =====================================================================================================================
platform freebsd14 -- Python 3.9.18, pytest-7.4.3, pluggy-1.3.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
rootdir: /home/pi/code/plgrnd/freebsd/ports/devel/py-nbconvert/work-py39/nbconvert-7.16.0
configfile: pyproject.toml
testpaths: tests/
plugins: flaky-3.7.0, anyio-4.2.0
collected 321 items
tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name FAILED [ 2%] ========================================================================================================================== FAILURES =========================================================================================================================== self = <tests.test_nbconvertapp.TestNbConvertApp testMethod=test_convert_full_qualified_name>
tests/test_nbconvertapp.py:80: self = <tests.test_nbconvertapp.TestNbConvertApp testMethod=test_convert_full_qualified_name>, parameters = ['--to', 'tests.fake_exporters.MyExporter', '--log-level', '0', 'subdir/*.ipynb'], ignore_return_code = False, stdin = None
E OSError: [NbConvertApp] Searching ['/home/pi/code/plgrnd/freebsd/ports/devel/py-nbconvert/work-py39/.jupyter', '/home/pi/code/plgrnd/freebsd/ports/devel/py-nbconvert/work-py39/.local/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files tests/base.py:168: OSError self = <tests.test_nbconvertapp.TestNbConvertApp testMethod=test_post_processor>
tests/test_nbconvertapp.py:180: self = <tests.test_nbconvertapp.TestNbConvertApp testMethod=test_post_processor>, parameters = ['--log-level', '0', '--to', 'python', 'notebook1', '--post', ...], ignore_return_code = False, stdin = None
E OSError: Traceback (most recent call last): tests/base.py:168: OSError Stop. |
tests/test_nbconvertapp.py
unitstests/test_nbconvertapp.py
units (7.11.0 - 7.16.0)
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulescut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
Here is list of installed modules in build env
The text was updated successfully, but these errors were encountered: