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: we now need to await render_template method #129

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

djangoliv
Copy link
Contributor

Without 'await' tornado raise a type Error (TypeError: write() only accepts bytes, unicode, and dict objects)

Regards

@lambdaTotoro
Copy link
Collaborator

Do we know if this PR is compatible with older versions of the JupyterHub package?

@lambdaTotoro
Copy link
Collaborator

That does not seem the case. When I apply these changes it works with jupyterhub==1.3.0 but gives a 500 error on the signup page for version 1.1.0. That means to merge this PR we'd have to bump the version requirement as well. I'll speak to @leportella about that.

@heroxbd
Copy link

heroxbd commented Jan 9, 2021

I can confirm this patch works great with jupyterhub-1.3.0.

heroxbd added a commit to jiegec/gentoo-pypi-sci that referenced this pull request Jan 9, 2021
Reference: jupyterhub/nativeauthenticator#129
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Manifest-Sign-Key: 0xB9C8DC7BFA7F6667
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
@lambdaTotoro lambdaTotoro merged commit a1a4d58 into jupyterhub:master Jan 11, 2021
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.

None yet

3 participants