Skip to content

Instructions to upgrade to Python 3.8

Dustin Kut edited this page Feb 19, 2021 · 2 revisions
  1. Run
find . -type f -name "*.py" -exec sed -i'' -e 's/asyncio.Task.current_task/asyncio.current_task/g' {} +

This is related to the deprecation in Python 3.7: https://docs.python.org/3/whatsnew/3.7.html (on asyncio.current_task())

  1. Update pyproject.toml to bump the minimum Python version to 3.8
Clone this wiki locally