Open Ph0tonic opened 6 months ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct.
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! :wave:
Welcome to the Jupyter community! :tada:
Hi, just willing to bump this up @mbmilligan :+1:
Hello, any feedback on this issue ? This issue is really blocking any use with KubeSpawner. \cc @minrk
Sorry for the slow response. Changing this key is a breaking change, since launch API calls may use this. Perhaps the right fix is to not pass consumed user_options
field(s) to the child spawner? Or namespace them upon passing?
No problem, thank you very much for your feedback. I understand the need to avoid breaking changes but I am wondering whether the cost to avoid this situation is higher thank just releasing a 2.x version. Namespacing and filtering options could add some code not required making it more complicating to maintain. I am also not sure whether not passing consumed fields or namespacing them could also be considered a breaking change in itself as we change the list of arguments provided to spawners ?
https://github.com/jupyterhub/kubespawner 6.x is conflicting with this project. Version 6 now includes a way of configuring profiles a bit like
wrapspawner
but limited to kubernetes. When they introduced this feature, they used the same key to get the right profile from the form. When trying to spawn a process with kubespawner from wrapspawner, it crashes with the following error:This PR fixes this conflict by using a different key name,
wrap_profile
. I am currently using this fix in production and it's now working fine.\cc @mbmilligan