8f313b2445
- Add patch currentThread-deprecated.patch: * Do not call a deprecated method which causes reactor startup to abort.
Steve Kowalik2022-01-06 04:50:09 +00:00
be0ae2e9e1
- Add patch currentThread-deprecated.patch: * Do not call a deprecated method which causes reactor startup to abort.
Steve Kowalik2022-01-06 04:50:09 +00:00
c7cf3cbca2
Accepting request 911968 from home:xanders:branches:devel:languages:python
Matej Cepl2021-08-13 12:50:12 +00:00
ea8decffda
Accepting request 911968 from home:xanders:branches:devel:languages:python
Matej Cepl2021-08-13 12:50:12 +00:00
babc7ebf3e
Accepting request 910780 from devel:languages:python
Richard Brown
2021-08-12 07:01:01 +00:00
4c43f5e8d8
Accepting request 910780 from devel:languages:python
Richard Brown
2021-08-12 07:01:01 +00:00
9d31ec5469
Accepting request 909678 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2021-08-02 07:03:49 +00:00
ca2d0dac3b
Accepting request 909678 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2021-08-02 07:03:49 +00:00
5f273cc925
- 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)
Matej Cepl2021-07-31 06:18:53 +00:00
4f1c5c33f2
- 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)
Matej Cepl2021-07-31 06:18:53 +00:00
a3830f326e
- 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
Steve Kowalik2021-03-10 10:15:47 +00:00
ebafac773a
- 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
Steve Kowalik2021-03-10 10:15:47 +00:00
1dc7dbd3b8
Accepting request 874682 from devel:languages:python
Richard Brown
2021-03-02 13:43:08 +00:00
e683585d65
Accepting request 874682 from devel:languages:python
Richard Brown
2021-03-02 13:43:08 +00:00
564d501398
Accepting request 874681 from home:mcepl:branches:python36
Matej Cepl2021-02-23 18:47:30 +00:00
9eceb04a05
Accepting request 874681 from home:mcepl:branches:python36
Matej Cepl2021-02-23 18:47:30 +00:00
43518d2944
- Add no-test_successResultOfWithFailureHasTraceback.patch to skip sted.conch.test.test_keys.KeyTests.test_fromOpenSSH, which fails. Upstream suggests https://twistedmatrix.com/trac/ticket/9665, but it has never been confirmed, even less fixed.
Matej Cepl2020-10-12 21:16:08 +00:00
916d937aac
- Add no-test_successResultOfWithFailureHasTraceback.patch to skip sted.conch.test.test_keys.KeyTests.test_fromOpenSSH, which fails. Upstream suggests https://twistedmatrix.com/trac/ticket/9665, but it has never been confirmed, even less fixed.
Matej Cepl2020-10-12 21:16:08 +00:00
96159d8722
- Update to 19.10.0: * twisted.trial.successResultOf, twisted.trial.failureResultOf, and twisted.trial.assertNoResult accept coroutines as well as Deferreds. (#9006) * Fixed circular import in twisted.trial.reporter, introduced in Twisted 16.0.0. (#8267) * The POP3 server implemented by twisted.mail.pop3 now accepts passwords that contain spaces. (#9100) * Incoming HTTP/2 connections will now not time out if they persist for longer than one minute. (#9653) * twisted.conch.ssh.keys now correctly writes the "iqmp" parameter in serialized RSA private keys as q^-1 mod p rather than p^-1 mod q. (#9681) * twisted.web.server.Request will now use twisted.web.server.Site.getContentFile, if it exists, to get a file into which to write request content. If getContentFile is not provided by the site, it will fall back to the previous behavior of using io.BytesIO for small requests and tempfile.TemporaryFile for large ones. (#9655) * twisted.web.client.FileBodyProducer will now stop producing when the Deferred returned by FileBodyProducer.startProducing is cancelled. (#9547) * The HTTP/2 server implementation now enforces TCP flow control on control frame messages and times out clients that send invalid data without reading responses. This closes CVE-2019-9512 (Ping Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood). Thanks to Jonathan Looney and Piotr Sikora. (#9694) - Add python-38-xml-namespace.patch to fix dictionary mutation under Python 3.8 - Add python-38-hmac-digestmod.patch to add digestmod parameter where required - Add python-38-no-cgi-parseqs.patch to no longer import parse_qs from cgi
Steve Kowalik2019-12-04 05:06:51 +00:00
49466c146a
- Update to 19.10.0: * twisted.trial.successResultOf, twisted.trial.failureResultOf, and twisted.trial.assertNoResult accept coroutines as well as Deferreds. (#9006) * Fixed circular import in twisted.trial.reporter, introduced in Twisted 16.0.0. (#8267) * The POP3 server implemented by twisted.mail.pop3 now accepts passwords that contain spaces. (#9100) * Incoming HTTP/2 connections will now not time out if they persist for longer than one minute. (#9653) * twisted.conch.ssh.keys now correctly writes the "iqmp" parameter in serialized RSA private keys as q^-1 mod p rather than p^-1 mod q. (#9681) * twisted.web.server.Request will now use twisted.web.server.Site.getContentFile, if it exists, to get a file into which to write request content. If getContentFile is not provided by the site, it will fall back to the previous behavior of using io.BytesIO for small requests and tempfile.TemporaryFile for large ones. (#9655) * twisted.web.client.FileBodyProducer will now stop producing when the Deferred returned by FileBodyProducer.startProducing is cancelled. (#9547) * The HTTP/2 server implementation now enforces TCP flow control on control frame messages and times out clients that send invalid data without reading responses. This closes CVE-2019-9512 (Ping Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood). Thanks to Jonathan Looney and Piotr Sikora. (#9694) - Add python-38-xml-namespace.patch to fix dictionary mutation under Python 3.8 - Add python-38-hmac-digestmod.patch to add digestmod parameter where required - Add python-38-no-cgi-parseqs.patch to no longer import parse_qs from cgi
Steve Kowalik2019-12-04 05:06:51 +00:00
4b4c81e79c
Accepting request 730984 from home:jayvdb:py3only
Tomáš Chvátal
2019-09-16 07:36:25 +00:00
f52bcba9b6
Accepting request 730984 from home:jayvdb:py3only
Tomáš Chvátal
2019-09-16 07:36:25 +00:00
2001e758bb
- Update to 19.7.0: * The callable argument to twisted.internet.task.deferLater() is no longer required. (#9577) * twisted.internet.utils.getProcessOutputAndValue now accepts stdinBytes to write to the child process's standard input. (#9607) * Add new twisted.logger.capturedLogs context manager for capturing observed log events in tests. (#9617) * twisted.internet.base.PluggableResolverMixin, which implements the pluggable resolver interfaces for easier re-use in other reactors, has been factored out of ReactorBase. (#9632) * The PyPI page for Twisted has been enhanced to include more information and useful links. (#9648) - Refresh patch: * skip_MultiCast.patch - Remove merged patch hyperlink.patch
Tomáš Chvátal
2019-09-13 14:37:19 +00:00
b412251869
- Update to 19.7.0: * The callable argument to twisted.internet.task.deferLater() is no longer required. (#9577) * twisted.internet.utils.getProcessOutputAndValue now accepts stdinBytes to write to the child process's standard input. (#9607) * Add new twisted.logger.capturedLogs context manager for capturing observed log events in tests. (#9617) * twisted.internet.base.PluggableResolverMixin, which implements the pluggable resolver interfaces for easier re-use in other reactors, has been factored out of ReactorBase. (#9632) * The PyPI page for Twisted has been enhanced to include more information and useful links. (#9648) - Refresh patch: * skip_MultiCast.patch - Remove merged patch hyperlink.patch
Tomáš Chvátal
2019-09-13 14:37:19 +00:00
19851b99d6
- update to 19.2.1 (bsc#1137825, CVE-2019-12387): * Prevent CRLF injections described in CVE-2019-12387
Thomas Bechtold2019-06-12 06:10:22 +00:00
3d08d6a10a
- update to 19.2.1 (bsc#1137825, CVE-2019-12387): * Prevent CRLF injections described in CVE-2019-12387
Thomas Bechtold2019-06-12 06:10:22 +00:00
ecc1a16a2c
- Update to 19.2.0: * twisted.internet.ssl.CertificateOptions now uses 32 random bytes instead of an MD5 hash for the ssl session identifier context. (#9463) * DeferredLock and DeferredSemaphore can be used as asynchronous context managers on Python 3.5+. (#9546) * t.i.b.BaseConnector has custom __repr__ (#9548) * twisted.internet.ssl.optionsForClientTLS now supports validating IP addresses from the certificate subjectAltName (#9585) * Twisted's minimum Cryptography requirement is now 2.5. (#9592) * twisted.conch.ssh.keys can now read private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8. (#9515) * twisted.web.client.HostnameCachingHTTPSPolicy was added as a new contextFactory option. The policy caches a specified number of twisted.internet.interfaces.IOpenSSLClientConnectionCreator instances to to avoid the cost of instantiating a connection creator for multiple requests to the same host. (#9138) - Remove merged patches: * openssl-errormsg.aptch * openssl111.patch - Add patch to tests for new hyperlink: * hyperlink.patch
Tomáš Chvátal
2019-05-22 10:39:29 +00:00
c8b2bce206
- Update to 19.2.0: * twisted.internet.ssl.CertificateOptions now uses 32 random bytes instead of an MD5 hash for the ssl session identifier context. (#9463) * DeferredLock and DeferredSemaphore can be used as asynchronous context managers on Python 3.5+. (#9546) * t.i.b.BaseConnector has custom __repr__ (#9548) * twisted.internet.ssl.optionsForClientTLS now supports validating IP addresses from the certificate subjectAltName (#9585) * Twisted's minimum Cryptography requirement is now 2.5. (#9592) * twisted.conch.ssh.keys can now read private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8. (#9515) * twisted.web.client.HostnameCachingHTTPSPolicy was added as a new contextFactory option. The policy caches a specified number of twisted.internet.interfaces.IOpenSSLClientConnectionCreator instances to to avoid the cost of instantiating a connection creator for multiple requests to the same host. (#9138) - Remove merged patches: * openssl-errormsg.aptch * openssl111.patch - Add patch to tests for new hyperlink: * hyperlink.patch
Tomáš Chvátal
2019-05-22 10:39:29 +00:00
e141d6ae22
Accepting request 677095 from devel:languages:python
Stephan Kulow
2019-02-28 20:37:25 +00:00
6b9febb5ab
Accepting request 677095 from devel:languages:python
Stephan Kulow
2019-02-28 20:37:25 +00:00
9823a3eb00
- Add another patch for openssl 1.1.1 (from upstream git): * openssl-errormsg.aptch
Tomáš Chvátal
2019-02-18 11:34:52 +00:00
1e6bf4ddbd
- Add another patch for openssl 1.1.1 (from upstream git): * openssl-errormsg.aptch
Tomáš Chvátal
2019-02-18 11:34:52 +00:00
a154c9f860
Accepting request 668541 from devel:languages:python
Stephan Kulow
2019-02-02 20:42:56 +00:00
d283511244
Accepting request 668541 from devel:languages:python
Stephan Kulow
2019-02-02 20:42:56 +00:00
5fd5c11faa
Accepting request 668397 from home:Andreas_Schwab:glibc:rebuild
Tomáš Chvátal
2019-01-25 08:46:04 +00:00
a776d6c1c1
Accepting request 668397 from home:Andreas_Schwab:glibc:rebuild
Tomáš Chvátal
2019-01-25 08:46:04 +00:00