-
Notifications
You must be signed in to change notification settings - Fork 388
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
Update Z2JH to 4.0.0 #1884
Update Z2JH to 4.0.0 #1884
Conversation
[C 2024-11-07 13:26:52.175 JupyterHub application:120] Bad config encountered during initialization: The 'authenticator_class' trait of <jupyterhub.app.JupyterHub object at 0x7fe39a37cfb0> instance must be a type, but 'nullauthenticator.NullAuthenticator' could not be imported I think its no longer part of z2jh hub image, because its now available in jupyterhub itself by specifying null. I figure this may be a change we should have had in the changelog if we didnt already as breaking Edit: https://github.com/jupyterhub/zero-to-jupyterhub-k8s/pull/3523/files |
`ERROR binderhub/tests/test_build.py - ValueError: mark.asyncio accepts only a keyword argument 'scope'.`
binderhub/tests/test_build.py
Outdated
@@ -21,7 +21,7 @@ | |||
|
|||
# We have optimized this slow test, for more information, see the README of | |||
# https://github.com/binderhub-ci-repos/minimal-dockerfile. | |||
@pytest.mark.asyncio(timeout=900) | |||
@pytest.mark.asyncio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to pytest-dev/pytest-asyncio#215 the timeout argument was only a proposal.
This means the argument would've been silently ignored until additional error checking was added in pytest-dev/pytest-asyncio#886
The test failure is due to #1886 |
Ckan resolved, next error is now in binderhub/tests/test_eventlog.py::test_emit_event |
ba490a7 I don't understand how the EventLog works though. It only removes the Lines 15 to 104 in 58bb7db
but https://docs.python.org/3.13/library/logging.html#logrecord-attributes lists many more attributes. |
About logging change: makes sense to me given what i get about the logging, which isnt much, but i dont see how kt would be breaking or similar to do this change now that python 3.12 is used and taskname taskname stuff got introduced (it was in 3.12, not 3.13) |
Thank you @manics!!! |
jupyterhub/binderhub#1884 Merge pull request #1884 from manics/update-z2jh
Z2JH changelog: https://z2jh.jupyter.org/en/4.0.0/changelog.html