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

DeprecationWarning #1255

Open
samukweku opened this issue Apr 7, 2023 · 1 comment
Open

DeprecationWarning #1255

samukweku opened this issue Apr 7, 2023 · 1 comment

Comments

@samukweku
Copy link
Collaborator

samukweku commented Apr 7, 2023

Brief Description

Not sure how to diagnose this; it currently happens in the dev branch when janitor is imported. On python 3.9 this warning does not appear

System Information

  • Operating system: Linux
  • Python version (required): 3.10

Minimally Reproducible Code

import janitor as jn

Error Messages

/home/sam/miniforge3/envs/playground/lib/python3.10/site-packages/prompt_toolkit/application/application.py:955: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
@samukweku
Copy link
Collaborator Author

The issue is related to the prompt-toolkit application, with suggestions on a workaround here.

Thinking out aloud here, should we drop this dependency?

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

No branches or pull requests

1 participant