Eliminate the Task.all_tasks()
warning in the CI Tests
#8211
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:maintenance 🔧
Improvements to tooling, testing, deployments, infrastructure, code style.
Python version:
Python 3.6
Python 3.7
Python 3.8
Operating system (windows, osx, ...):
Ubuntu
Windows
Issue:
This Issue is part of the effort to close the Issue#7738 hence to reduce the amount of warnings that are raised when running all tests in the CI. From a first investigation, it seems that this warning (PendingDeprecationWarning: Task.all_tasks() is deprecated, use asyncio.all_tasks() instead...) for which the current Issue was opened, had 46 occurrences but in a latest CI run it appears in only ~27 tests.
Error (including full traceback):
Possible Solutions:
Task.all_tasks()
call withasyncio.all_tasks()
.which would need to be addressed.
Command or request that led to error:
Definition of Done:
PendingDeprecationWarning: Task.all_tasks()
does not appear anymore.The text was updated successfully, but these errors were encountered: