mirror of https://github.com/peter4431/rq.git
Python 3.10 compatibility (#1563)
* use shutil.get_terminal_size instead of click.get_terminal_size() resolves warning: rq/cli/helpers.py:107: DeprecationWarning: 'click.get_terminal_size()' is deprecated and will be removed in Click 8.1. Use 'shutil.get_terminal_size()' instead. termwidth, _ = click.get_terminal_size() * remove StrictVersion from rq * asyncio.get_event_loop -> asyncio.new_event_loop() resolves warning: tests/test_job.py::TestJob::test_create_job_with_async rq/rq/job.py:839: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() * Add python 3.10 to matrix Co-authored-by: rpkak <rpkak@users.noreply.github.com>main
parent
e71fcb952e
commit
6692587f74
Loading…
Reference in New Issue