Revisions of python-Twisted

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1190585 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 70)
- Add a couple of upstream patches to fix http process information
  disclosure (CVE-2024-41671, bsc#1228549) and XSS via html injection
  (CVE-2024-41810, bsc#1228552):
  * CVE-2024-41671.patch gh#twisted/twisted@4a930de12fb6
  * CVE-2024-41810.patch gh#twisted/twisted@046a164f89a0
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1184937 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 69)
- update to 24.3.0:
  * twisted.logger.formatEvent now honors dotted method names,
    not just flat function names, in format strings, as it has
    long been explicitly documented to do.  So, you will now get
    the expected result from formatEvent("here's the result of
    calling a method at log-format time: {obj.method()}",
    obj=...)
  * twisted.web.http.HTTPChannel now ignores the trailer headers
    provided in the last chunk of a chunked encoded response,
    rather than raising an exception.
  * twisted.protocols.tls.BufferingTLSTransport, used by default
    by twisted.protocols.tls.TLSMemoryBIOFactory, was refactored
    for improved performance when doing a high number of small
    writes.
  * twisted.python.failure.Failure now throws exception for
    generators without triggering a deprecation warnings on
    Python 3.12.
  * twisted.internet.process.Process, used by
    reactor.spawnProcess, now copies the parent environment when
    the env=None argument is passed on Posix systems and
    os.posix_spawnp is used internally.
  * twisted.internet.defer.inlineCallbacks.returnValue's stack
    introspection was adjusted for the latest PyPy 7.3.14
    release, allowing legacy @inlineCallbacks to run on new PyPY
    versions.
  * twisted.trial.reporter.TestRun.startTest() is no longer
    called for tests with skip annotation or skip attribute for
    Python 3.12.1 or newer. This is the result of upstream Python
    gh-106584 change. The behavior is not change in 3.12.0 or
    older.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1143215 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 68)
- Add stop-using-3-arg-throw.patch:
  * Avoid 3-arg throw to fix a DeprecationWarning in Python 3.12.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1126660 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 65)
- Add CVE-2023-46137-HTTP-pipeline-response.patch (bsc#1216588,
  CVE-2023-46137) serializing pipelined HTTP requests.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1109330 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 64)
    + drops CVE-2022-39348-do-not-echo-host-header.patch in older dists
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1095481 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 63)
- add regenerate-cert-to-work-with-latest-service-identity.patch
  remove-pynacl-optional-dependency.patch: backports from main
  git to fix tests with newer dependency versions
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1089049 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 62)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1063746 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 60)
- Add patch support-new-glibc.patch:
  * Support new glibc changes.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1057659 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 59)
- Add py311-tests-compat.patch to fix tests with python 3.11
  gh#twisted/twisted#11734
  gh#twisted/twisted#11733
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1037121 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 58)
- Skip rpmlint error python-tests-in-package.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1032605 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 57)
- Update to 22.10.0:
  * Features
    + twisted.internet.defer.maybeDeferred will now schedule a coroutine
      result as asynchronous operation and return a Deferred that fires with
      the result of the coroutine.
    + Twisted now works with Cryptography versions 37 and above, and as a
      result, its minimum TLS protocol version has been upgraded to TLSv1.2.
    + The systemd: endpoint parser now supports "named" file descriptors. This
      is a more reliable mechanism for choosing among several inherited
      descriptors.
  * Bugfixes
    + twisted.internet.base.DelayedCall.__repr__ will no longer raise
      AttributeError if the DelayedCall was created before debug mode was
      enabled. As a side-effect, twisted.internet.base.DelayedCall.creator is
      now defined as None in cases where previously it was undefined.
    + twisted.internet.iocpreactor.udp now properly re-queues its listener
      when there is a failure condition on the read from the socket.
    + twisted.internet.defer.inlineCallbacks no longer causes confusing
      StopIteration tracebacks to be added to the top of tracebacks
      originating in triggered callbacks.
    + The typing of twisted.internet.task.react no longer constrains the
      type of argv.
    + ContextVar.reset() now works correctly inside inlineCallbacks functions
      and coroutines.
    + Implement twisted.python.failure._Code.co_positions for compatibility
      with Python 3.11.
    + twisted.pair.tuntap._TUNSETIFF and ._TUNGETIFF values are now correct
      parisc, powerpc and sparc architectures. 
    + twisted.web.vhost.NameVirtualHost will no longerreturn a NoResource
      error. (bsc#1204781, CVE-2022-39348)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 981084 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 55)
Synchronize changelog with the SLE package.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 967387 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 54)
- 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)
  * 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)
- Add patch CVE-2022-24801-http-1.1-leniency.patch:
  * Be stricter about HTTP/1.1 headers. (bsc#1198086)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 956891 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 53)
- Add patch skip-namespacewithwhitespace.patch:
  * Skip a failing test with Expat 2.4.5.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 944143 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 51)
- Add patch currentThread-deprecated.patch:
  * Do not call a deprecated method which causes reactor startup to abort.
Displaying revisions 1 - 20 of 70
openSUSE Build Service is sponsored by