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

Fix incomplete kernel search path #246

Merged
merged 11 commits into from
Nov 17, 2022
Merged

Conversation

Wh1isper
Copy link
Contributor

No description provided.

@welcome
Copy link

welcome bot commented Nov 11, 2022

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@Wh1isper
Copy link
Contributor Author

cc @davidbrochart

@Wh1isper Wh1isper marked this pull request as draft November 14, 2022 03:57
@Wh1isper
Copy link
Contributor Author

Wh1isper commented Nov 14, 2022

I missed the change to the kernel driver, will check the jupyter kernelspec search path

@Wh1isper Wh1isper marked this pull request as ready for review November 14, 2022 04:52
@Wh1isper Wh1isper changed the title add default kernel config and ~/.local search path Fix incomplete kernelspec search path Nov 14, 2022
@davidbrochart
Copy link
Collaborator

Thanks for the PR @Wh1isper, any idea why tests fail?

@Wh1isper
Copy link
Contributor Author

Thanks for the PR @Wh1isper, any idea why tests fail?

It seems like starlette switch requests to httpx and not support get with body

https://github.com/encode/starlette/blob/master/starlette/testclient.py#L470

@Wh1isper
Copy link
Contributor Author

Wh1isper commented Nov 15, 2022

@Wh1isper Wh1isper changed the title Fix incomplete kernelspec search path Fix incomplete kernel search path Nov 15, 2022
plugins/kernels/fps_kernels/routes.py Outdated Show resolved Hide resolved
plugins/kernels/fps_kernels/routes.py Outdated Show resolved Hide resolved
plugins/kernels/fps_kernels/routes.py Outdated Show resolved Hide resolved
plugins/kernels/fps_kernels/routes.py Outdated Show resolved Hide resolved
Co-authored-by: David Brochart <david.brochart@gmail.com>
@davidbrochart
Copy link
Collaborator

It seems like starlette switch requests to httpx and not support get with body

Should we require starlette >=0.21.0?

@Wh1isper
Copy link
Contributor Author

It seems like starlette switch requests to httpx and not support get with body

Should we require starlette >=0.21.0?

fastapi ==0.87.0 will get starlette==0.21.0, require fastapi >=0.87.0 should be ok?

I'm new to fastapi, it looks like fastapi will follow up with starlette for updates

@davidbrochart
Copy link
Collaborator

fastapi ==0.87.0 will get starlette==0.21.0, require fastapi >=0.87.0 should be ok?

Yes, let's require fastapi >=0.87.0 then 👍

Copy link
Collaborator

@davidbrochart davidbrochart left a comment

Choose a reason for hiding this comment

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

Awesome, thanks a lot @Wh1isper !

@davidbrochart davidbrochart merged commit 465551a into jupyter-server:main Nov 17, 2022
@welcome
Copy link

welcome bot commented Nov 17, 2022

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@davidbrochart
Copy link
Collaborator

Just as a side note, you should create a branch on your fork before making a PR, instead of committing on main.

@Wh1isper
Copy link
Contributor Author

Just as a side note, you should create a branch on your fork before making a PR, instead of committing on main.

Thanks for the reminder, I realized that each PR will be squeezed into a new commit rather than just merged

@davidbrochart
Copy link
Collaborator

In this particular case, I squashed your PR.

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.

2 participants