-
Notifications
You must be signed in to change notification settings - Fork 290
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
7.3.2: documentation build output with call traces when is used sphinx 5.0.1 #798
Comments
Looks like that affects as well pytest + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-client-7.3.2-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-client-7.3.2-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/jupyter_client-7.3.2, configfile: pyproject.toml, testpaths: jupyter_client/tests/
plugins: timeout-2.1.0, asyncio-0.18.2
timeout: 300.0s
timeout method: signal
timeout func_only: False
asyncio: mode=auto
collected 0 items / 1 error
================================================================================== ERRORS ==================================================================================
______________________________________________________________________ ERROR collecting test session _______________________________________________________________________
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:961: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:961: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
<frozen importlib._bootstrap_external>:843: in exec_module
???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
???
jupyter_client/__init__.py:8: in <module>
from .asynchronous import AsyncKernelClient # noqa
jupyter_client/asynchronous/__init__.py:1: in <module>
from .client import AsyncKernelClient # noqa
jupyter_client/asynchronous/client.py:4: in <module>
from traitlets import Type
/usr/lib/python3.8/site-packages/traitlets/__init__.py:5: in <module>
from ._version import __version__, version_info
/usr/lib/python3.8/site-packages/traitlets/_version.py:7: in <module>
assert __version__ == (
E AssertionError
========================================================================= short test summary info ==========================================================================
ERROR - AssertionError
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================= 1 error in 0.15s ============================================================================= |
I think it should be fixed in ipython/traitlets#739, but it has not been released yet. |
Actually it has been release in traitlets |
I don't see 5.2.2.post1 tag in https://github.com/ipython/traitlets/tags |
I'm using 5.2.2. |
Me neither, that's why I was confused, but it's on PyPI: https://pypi.org/project/traitlets.
Please update to |
Will do when it will be available in git repo. [tkloczko@devel-g2v SPECS]$ grep ^Source.*VCS python-* | wc -l; ls -1 python-* | wc -l
900
966 As you see +95% of my all +960 rpm spec files used to build python modules already is using autogenerated tar balls from git tags. Just please push that tag to the git repo 😋 (and why not 5.2.3? 😃 ) |
I don't have rights on the traitlets package, I think @blink1073 does. |
New |
Build with new Thank you very much 👍 😃 client-7.3.2-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/jupyter_client-7.3.2, configfile: pyproject.toml, testpaths: jupyter_client/tests/
plugins: asyncio-0.18.2, timeout-2.1.0
asyncio: mode=auto
timeout: 300.0s
timeout method: signal
timeout func_only: False
collected 180 items
jupyter_client/tests/test_adapter.py ........................... [ 15%]
jupyter_client/tests/test_client.py ........ [ 19%]
jupyter_client/tests/test_connect.py ........... [ 25%]
jupyter_client/tests/test_jsonutil.py ..... [ 28%]
jupyter_client/tests/test_kernelapp.py . [ 28%]
jupyter_client/tests/test_kernelmanager.py .....................s.s.s............ [ 50%]
jupyter_client/tests/test_kernelspec.py ............. [ 57%]
jupyter_client/tests/test_localinterfaces.py . [ 57%]
jupyter_client/tests/test_manager.py . [ 58%]
jupyter_client/tests/test_multikernelmanager.py .............................. [ 75%]
jupyter_client/tests/test_provisioning.py ........... [ 81%]
jupyter_client/tests/test_public_api.py .... [ 83%]
jupyter_client/tests/test_restarter.py ........ [ 87%]
jupyter_client/tests/test_session.py .........s........... [ 99%]
jupyter_client/tests/test_ssh.py . [100%]
=========================================================================== slowest 10 durations ===========================================================================
19.27s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp]
19.12s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc]
18.10s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp]
18.10s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc]
12.30s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp]
12.29s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp]
12.20s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp]
9.11s call jupyter_client/tests/test_restarter.py::test_async_restart_check[ipc]
9.10s call jupyter_client/tests/test_restarter.py::test_restart_check[ipc]
8.19s call jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses[signaltest-no-terminate-install_kernel_dont_terminate-_ShutdownStatus.SigkillRequest]
========================================================================= short test summary info ==========================================================================
SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:369: IPC transport is currently not working for this test!
SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:385: IPC transport is currently not working for this test!
SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:401: IPC transport is currently not working for this test!
SKIPPED [1] jupyter_client/tests/test_session.py:309: could not import 'msgpack': No module named 'msgpack'
================================================================ 176 passed, 4 skipped in 234.22s (0:03:54) ================================================================ |
Looks like latest
jupyter-client
documentation is not fully ready to be used with latest sphinx 5.0.1After there are already reported warnings in //github.com//issues/777
The text was updated successfully, but these errors were encountered: