Revisions of python-Twisted

Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 119)
Correct bug placement
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 118)
- Add patch CVE-2022-24801-http-1.1-leniency.patch:
  * Be stricter about HTTP/1.1 headers.
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 117)
- Update to 22.2.0:
  * Bugfixes
    + twisted.internet.gireactor.PortableGIReactor.simulate and
      twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer
      raises TypeError when there are no delayed called. This was a
      regression introduced with the migration to Python 3 in which the
      builtin min function no longer accepts None as an argument. (#9660)
    + twisted.conch.ssh.transport.SSHTransportBase now disconnects the
      remote peer if the SSH version string is not sent in the first
      4096 bytes. (#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx)
      (bsc#1198086)
  * Improved Documentation
    + Add type annotations for twisted.web.http.Request.getHeader. (#10270)
  * Deprecations and Removals
    + Support for Python 3.6, which is EoL as of 2021-09-04, has been
      deprecated. (#10303)
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 116)
- Add patch skip-namespacewithwhitespace.patch:
  * Skip a failing test with Expat 2.4.5.
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 953066 from Marcus Rueckert's avatar Marcus Rueckert (darix) (revision 115)
- Update to 22.1.0: (boo#1195667)
  - CVE-2022-21712 / GHSA-92x2-jw7w-xvvx
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 114)
- Add patch currentThread-deprecated.patch:
  * Do not call a deprecated method which causes reactor startup to abort.
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 939405 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 113)
- Fix Source tags
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 938620 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 112)
- Drop true-binary.patch which is not compatible with python310
- Some rpmlint cleanup:
  * Deduplicate docs
  * Remove she-bangs in test files
  * Remove empty doc files
  * Filter test certificate warning
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 915405 from Fusion Future's avatar Fusion Future (fusionfuture) (revision 111)
- Remove h2 < 4.0 and priority < 2.0 version restriction. (boo#1190036)
  * remove-dependency-version-upper-bounds.patch
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 110)
Fix changelog
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 911968 from Michael Gumsley's avatar Michael Gumsley (xanders) (revision 109)
In support of boo#1183833
- Restore no-pygtkcompat.patch due to boo#1110669 

Re: 880374
I'm pretty certain that the rpmlint warnings are not caused by the reintroduction of the patch. In fact these warnings are present in the existing devel:languages:python/python-Twisted repository right now (Rev 108), after multiple subsequently accepted requests since this was rejected 5 months ago. Can this request please be reconsidered, or can a package maintainer reintroduce the no-pygtkcompat patch of their own accord as part of regular Twisted maintenance?
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 909678 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 108)
- typing_extensions is now required
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 107)
- Update to 21.7.0:
  - Python 3.10 beta is now a supported platform and should be ready for
    the final 3.10 release.
  - twisted.web.template.renderElement() now accepts any IRequest
    implementer instead of only twisted.web.server.Request. Add type
    hints to twisted.web.template. (#10184)
  - Type hinting was added to twisted.internet.defer, making this the
    first release  of Twisted where you might reasonably be able to use
    mypy without your own custom stub files. (#10017)
- Patch incremental-21.patch removed, because included in the
  upstream tarball.
    - 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. (#9583)
    - 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. (#9719, #9826)
    - 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. (#9825)
    - trial now allows the @unittest.skipIf decorator to specify that an
      entire test class should be skipped. (#9829)
    - The twisted.python.deprecate.deprecatedKeywordParameter decorator
      can be used to mark a keyword paramater of a function or method as
      deprecated. (#9844)
buildservice-autocommit accepted request 893684 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 106)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 105)
- add incremental-21.patch: support newer incremental versions
buildservice-autocommit accepted request 878146 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 104)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 103)
Correct changes and drop unused patch
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 102)
- Update to 21.2.0:
  * Features
    + 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. (#9583)
    + 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. (#9719, #9826)
    + 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. (#9825)
    + trial now allows the @unittest.skipIf decorator to specify that an entire test class should be skipped. (#9829)
    + The twisted.python.deprecate.deprecatedKeywordParameter decorator can be used to mark a keyword paramater of a function or method as deprecated. (#9844)
    + Projects using Twisted can now perform type checking against a Twisted
    + installation, for example using mypy. (#9908)
    + twisted.python.util.InsensitiveDict now fully implements MutableMapping. (#9919)
    + Python 3.8 is now tested and supported. (#9955)
    + Support a coroutine function in twisted.internet.task.react (#9974)
    + PyPy 3.7 is now tested and supported. (#10093)
  * Bugfixes
    + twisted.web.twcgi.CGIProcessProtocol.processEnded(...) now handles an already-finished request, for example when request.connectionLost(...) was called previously. (#9468)
    + 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. (#9509)
    + Fixed serialization of timedelta, date, and time objects in twisted.spread. (#9716)
    + 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. (#9766)
    + twisted.internet.process.registerReapProcessHandler and ._BaseProcess.reapProcess will no longer raise a TypeError when processing a None PID (#9775)
    + INotify will close its file descriptor if a directory is automatically removed by twisted from the watchlist because it's deleted, avoiding orphaned filedescriptors. (#9777)
    + DelayedCall.reset() is now working properly with asyncioreactor (#9780)
    + AsyncioSelectorReactor.seconds() now correctly returns an epoch time. (#9787)
    + 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(). (#9849)
    + The Gtk3 reactor now runs on Wayland-only sessions (#9904)
    + Descriptive error messages from twisted.internet.error are now present when running with 'python -OO'. (#9918)
    + Comparator methods such as eq() now always return NotImplemented for uncomparable types. (#9919)
    + 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. (#10098)
- Drop patches no-pygtkcompat.patch, python-38-hmac-digestmod.patch,
  python-38-no-cgi-parseqs.patch, twisted-pr1369-remove-pyopenssl-npn.patch &
  twisted-pr1487-increase-ffdh-keysize.patch, they have been merged.
- Refresh other patches.
- Add no-cython_test_exception_raiser.patch to avoid another dependency.
- Update URL and make use of sitelib, not sitearch macros
buildservice-autocommit accepted request 874682 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 101)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 874681 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 100)
- Add 1521_delegate_parseqs_stdlib_bpo42967.patch to overcome
  effects of bpo#42967, which forbade mixing amps and semicolons
  in query strings as separators
  (https://twistedmatrix.com/trac/ticket/10096).
Displaying revisions 41 - 60 of 159
openSUSE Build Service is sponsored by