Commit Graph

1 Commits

Author SHA1 Message Date
Wang Mingyu
b7f663bc60 python3-twisted: upgrade 21.7.0 -> 22.1.0
License-Update: year updated to 2022

Changelog:
=========
Features
--------
-Python 3.10 is now a supported platform (#10224)
-Type annotations have been added to the twisted.python.fakepwd module. (#10287)

Bugfixes
--------
-twisted.internet.defer.inlineCallbacks has an improved type annotation, to
 avoid typing errors when it is used on a function which returns a non-None
 result. (#10231)
-twisted.internet.base.DelayedCall.__repr__ and
 twisted.internet.task.LoopingCall.__repr__ had the changes from #10155
 reverted to accept non-function callables. (#10235)
-Revert the removal of .whl building that was done as part of #10177. (#10236)
-The type annotation of the host parameter to
 twisted.internet.interfaces.IReactorTCP.connectTCP has been corrected from
 bytes to str. (#10251)
-Deprecated twisted.python.threading.ThreadPool.currentThread() in favor of
 threading.current_thread().
-Switched twisted.python.threading.ThreadPool.currentThread() and
 twisted.python.threadable.getThreadID() to use 'threading.current_thread() to
 avoid the deprecation warnings introduced forthreading.currentThread()'
 in Python 3.10. (#10273)

Improved Documentation
----------------------
-twisted.internet.utils.runWithWarningsSupressed behavior of waiting on
 deferreds has been documented. (#10238)
-Sync API docs templates with pydoctor 21.9.0 release, using new theming
 capabilities. (#10267)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-16 08:13:29 -08:00