Closed Khagesh16 closed 8 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
This is a dupe of https://github.com/jupyterhub/kubespawner/issues/815
Bug description
This change is causing an issue when the environment accepts the callable function. https://github.com/jupyterhub/kubespawner/pull/759
This same piece of logic used to be working on version 5.0.0 but failing on the latest version.
How to reproduce
This is a sample dictionary which we are passing to
c.KubeSpawner.environment
with other environment variables.Expected behaviour
It should replace the username with actual username
Actual behaviour
Your personal set up
Full environment
``` # paste output of `pip freeze` or `conda list` here ```Configuration
```python # jupyterhub_config.py ```Logs
``` # paste relevant logs here, if any ```