Upgrade to release 21.2.0:

- The enableSessions argument to twisted.internet.ssl.CertificateOptions
  now actually enables/disables OpenSSL's session cache. Also, due
  to session-related bugs, it defaults to False.
- twisted.internet.defer.inlineCallbacks and ensureDeferred will
  now associate a contextvars.Context with the coroutines they run,
  meaning that ContextVar objects will maintain their value within
  the same coroutine, similarly to asyncio Tasks. This functionality
  requires Python 3.7+, or the contextvars PyPI backport to be
  installed for Python 3.5-3.6.
- twisted.internet.defer.Deferred.fromCoroutine has been added.
  This is similar to the existing ensureDeferred function, but is
  named more consistently inside Twisted and does not pass through
  Deferreds.
- trial now allows the @unittest.skipIf decorator to specify that
  an entire test class should be skipped.
- The twisted.python.deprecate.deprecatedKeywordParameter decorator
  can be used to mark a keyword paramater of a function or method
  as deprecated.
- Projects using Twisted can now perform type checking against a
  Twisted installation, for example using mypy.
- twisted.python.util.InsensitiveDict now fully implements
  MutableMapping.
- Python 3.8 is now tested and supported.
- Support a coroutine function in twisted.internet.task.react.
- PyPy 3.7 is now tested and supported.
- twisted.web.twcgi.CGIProcessProtocol.processEnded(...) now
  handles an already-finished request, for example when
  request.connectionLost(...) was called previously.
- Twisted's dependency on PyHamcrest has been moved from the base
  package to the new "test" extra. Consequently the test extra
  must be installed for Twisted's test suite to pass.
- Fixed serialization of timedelta, date, and time objects in
  twisted.spread.
- twisted.internet.asyncioreactor.AsyncioSelectorReactor now raises
  an exception if instantiated with an event loop which is not
  compatible with asyncio.SelectorEventLoop. This fixes the
  AsyncioSelectorReactor in Python 3.8+ on Windows, where in bp-34687
  the default Windows asyncio event loop was changed to
  ProactorEventLoop. Applications that use AsyncioSelectorReactor
  on Windows with Python 3.8+ must call
  asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
  before instantiating and running AsyncioSelectorReactor.
- twisted.internet.process.registerReapProcessHandler and
  ._BaseProcess.reapProcess will no longer raise a TypeError when
  processing a None PID
- INotify will close its file descriptor if a directory is
  automatically removed by twisted from the watchlist because it's
  deleted, avoiding orphaned filedescriptors.
- DelayedCall.reset() is now working properly with asyncioreactor.
- AsyncioSelectorReactor.seconds() now correctly returns an epoch
  time.
- The _connDone parameter has been removed from
  twisted.internet.abstract.FileDescriptor.loseConnection()'s
  signature in order to match the signature in the base class
  twisted.internet._newtls.ConnectionMixin loseConnection().
- The Gtk3 reactor now runs on Wayland-only sessions
- Descriptive error messages from twisted.internet.error are now
  present when running with 'python -OO'.
- Comparator methods such as eq() now always return NotImplemented
  for uncomparable types.
- When installing Twisted it now requires a minimum Python 3.5.4
  version to match the version used with automated testing. This
  is the minimum Python version that we know that Twisted works
  with.

License-Update: Add contributors and update year.

Signed-off-by: Leon Anavi <leon.an...@konsulko.com>
---
 ...python3-twisted_20.3.0.bb => python3-twisted_21.2.0.bb} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-twisted_20.3.0.bb => 
python3-twisted_21.2.0.bb} (98%)

diff --git a/meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb 
b/meta-python/recipes-devtools/python/python3-twisted_21.2.0.bb
similarity index 98%
rename from meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb
rename to meta-python/recipes-devtools/python/python3-twisted_21.2.0.bb
index 697725fd71..e0f1a8ca6e 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_21.2.0.bb
@@ -5,13 +5,11 @@ HOMEPAGE = "http://www.twistedmatrix.com";
 
 #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather 
than LGPL.
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=27ac6d9597237e7e76282edd7a40cd68"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e33c411c0b86b1f3ca299091ed51ca31"
 
-SRC_URI[sha256sum] = 
"d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10"
-SRC_URI[md5sum] = "fc16d575730db7d0cddd09fc35af3eea"
+SRC_URI[sha256sum] = 
"77544a8945cf69b98d2946689bbe0c75de7d145cdf11f391dd487eae8fc95a12"
 
 PYPI_PACKAGE = "Twisted"
-PYPI_PACKAGE_EXT = "tar.bz2"
 
 inherit pypi setuptools3
 
@@ -201,6 +199,7 @@ ${libdir}/${PYTHON_DIR}/site-packages/Twisted*egg-info \
 ${libdir}/${PYTHON_DIR}/site-packages/twisted/logger/ \
 ${libdir}/${PYTHON_DIR}/site-packages/twisted/_threads/ \
 ${libdir}/${PYTHON_DIR}/site-packages/twisted/positioning/ \
+${libdir}/${PYTHON_DIR}/site-packages/twisted/py.typed \
 "
 
 FILES_${PN}-mail = " \
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89795): 
https://lists.openembedded.org/g/openembedded-devel/message/89795
Mute This Topic: https://lists.openembedded.org/mt/81022612/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to