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

Added support of Jupyterhub v5 #112

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Added support of Jupyterhub v5 #112

merged 5 commits into from
Jul 30, 2024

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Jul 26, 2024

This PR migrates the spawn options form to bootstrap 5 to support jupyterhub v5.
This makes is no longer compatible with older version of jupyterhub.

This still need some testing but it works fine with the demo config

attn @rclUPC

closes #111

@t20100 t20100 added this to the Next release milestone Jul 26, 2024
@t20100
Copy link
Member Author

t20100 commented Jul 26, 2024

This PR also fixes pydantic deprecation warnings causing mypy to fail and pins pytest-asyncio a jupyterhub does since jupyterhub fixtures that are used here are not compatible yet with newer versions of pytest-asyncio.

NonNegativeInt,
PositiveInt,
RootModel,
ValidationInfo,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FieldValidationInfo deprecated since pydantic 2.4 and makes mypy unhappy.

setup.cfg Show resolved Hide resolved
@t20100 t20100 requested a review from loichuder July 26, 2024 11:41
Copy link
Member

@loichuder loichuder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@t20100 t20100 merged commit 07c0188 into main Jul 30, 2024
1 check passed
@t20100 t20100 deleted the jupyterhub5 branch July 30, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

form rendering with Jupyterhub 5
2 participants