Skip to content
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

TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry' #1807

Open
KumoLiu opened this issue Sep 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@KumoLiu
Copy link
Contributor

KumoLiu commented Sep 2, 2024

[2024-09-01T16:26:05.898Z] Running ./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb
[2024-09-01T16:26:05.898Z] Checking PEP8 compliance...
[2024-09-01T16:26:06.154Z] Traceback (most recent call last):
[2024-09-01T16:26:06.154Z]   File "/usr/local/bin/jupytext", line 5, in <module>
[2024-09-01T16:26:06.154Z]     from jupytext.cli import jupytext
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupytext/__init__.py", line 9, in <module>
[2024-09-01T16:26:06.154Z]     from .contentsmanager import build_jupytext_contents_manager_class
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupytext/contentsmanager.py", line 616, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_server.services.contents.largefilemanager import LargeFileManager
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/largefilemanager.py", line 7, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_server.services.contents.filemanager import (
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/filemanager.py", line 36, in <module>
[2024-09-01T16:26:06.154Z]     from .manager import AsyncContentsManager, ContentsManager, copy_pat
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/manager.py", line 16, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_events import EventLogger
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/__init__.py", line 3, in <module>
[2024-09-01T16:26:06.154Z]     from .logger import EVENTS_METADATA_VERSION, EventLogger
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/logger.py", line 19, in <module>
[2024-09-01T16:26:06.154Z]     from .schema import SchemaType
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/schema.py", line 18, in <module>
[2024-09-01T16:26:06.154Z]     from .validators import draft7_format_checker, validate_schema
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/validators.py", line 44, in <module>
[2024-09-01T16:26:06.154Z]     JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator(
[2024-09-01T16:26:06.154Z] TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry'
@KumoLiu
Copy link
Contributor Author

KumoLiu commented Sep 2, 2024

The issue occurs after updated the base image to version 24.08, the jupytext version upgraded from 1.16.1 to 1.16.4.

KumoLiu added a commit to KumoLiu/tutorials that referenced this issue Sep 2, 2024
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@KumoLiu KumoLiu mentioned this issue Sep 2, 2024
5 tasks
KumoLiu added a commit that referenced this issue Sep 2, 2024
Workaround of #1807

### Description

- set a version constraint on jupytext

- remove xformer in maisi 

### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [ ] Avoid including large-size files in the PR.
- [ ] Clean up long text outputs from code cells in the notebook.
- [ ] For security purposes, please check the contents and remove any
sensitive info such as user names and private key.
- [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use
relative paths for tutorial repo files (3) put figure and graphs in the
`./figure` folder
- [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>`

---------

Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@KumoLiu KumoLiu added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant