------------------------------------------------------------------- Thu Feb 3 10:05:46 UTC 2022 - Matej Cepl - Update to 22.1.0 - Cookies specified as a dict were sent to every domain, not just the domain of the request, potentially exposing them on redirect. See GHSA-fhpf-pp6p-55qc, CVE-2022-23607, bsc#1195432 - PEP 517/518 build-system metadata is now provided in pyproject.toml. - treq.testing.StubTreq now persists twisted.web.server.Session instances between requests. - The dependency on Sphinx required to build the documentation has been moved from the dev extra to the new docs extra. - Support for Python 2.7 and 3.5 has been dropped. treq no longer depends on six or mock. ------------------------------------------------------------------- Thu Mar 18 03:47:49 UTC 2021 - Aleksa Sarai - Update to 21.1.0. bsc#1183679 * Support for Python 3.9. * Support for Twisted >= 20.9.0. * Support for Python 2.7 and 3.5 (which are both EOL) is deprecated. * The auth parameter now accepts arbitrary text and bytes for usernames and passwords. Text is encoded as UTF-8, per RFC 7617. Previously only ASCII was allowed. * treq produces a more helpful exception when passed a tuple of the wrong size in the files parameter. * The url parameter of HTTPClient.request() (and shortcuts like get()) now accept hyperlink.DecodedURL and hyperlink.URL in addition to str and bytes. ------------------------------------------------------------------- Thu Jul 23 13:10:39 UTC 2020 - Marketa Calabkova - update to 20.4.1 * Support for Python 3.8 and PyPy3: treq is now tested with these interpreters. * `treq.client.HTTPClient.request()` and its aliases no longer raise `UnicodeEncodeError` when passed a Unicode *url* and non-empty *params*. * In treq 20.3.0 the *params* argument didn't accept parameter names or values that contain the characters ``&`` or ``#``. ------------------------------------------------------------------- Wed Mar 25 15:05:08 UTC 2020 - pgajdos@suse.com - version update to 20.3.0 - Python 3.7 support. (`#228 `__) - `treq.testing.RequestTraversalAgent` now passes its memory reactor to the `twisted.web.server.Site` it creates, preventing the ``Site`` from polluting the global reactor. (`#225 `__) - `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 `__) - The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 `__) - The *agent* parameter to `treq.request()` has been documented. (`#235 `__) - The type of the *headers* element of a response tuple passed to `treq.testing.RequestSequence` is now correctly documented as `str`. (`#237 `__) - Drop support for Python 3.4. (`#240 `__) - `#247 `__, `#248 `__, `#249 `__ - deleted patches - python37.patch (upstreamed) - urlparsing.patch (upstreamed) ------------------------------------------------------------------- Fri Oct 4 17:40:59 UTC 2019 - Aleksa Sarai - Add service_identity BuildRequires so the integration tests don't fail on Leap (required for boo#1153017). ------------------------------------------------------------------- Thu Sep 12 17:21:23 UTC 2019 - Tomáš Chvátal - Add patch to fix build with new Twisted releases: * urlparsing.patch ------------------------------------------------------------------- Thu Mar 7 11:33:03 UTC 2019 - Tomáš Chvátal - Add patch to fix testrun on python3.7: * python37.patch - Fix macro expansion to run the tests under python3 ------------------------------------------------------------------- Mon Oct 22 07:25:25 UTC 2018 - Tomáš Chvátal - Make the tests actually execute ------------------------------------------------------------------- Sun Oct 14 11:12:57 UTC 2018 - Jan Engelhardt - Avoid name repetition in summary (rpmlint). ------------------------------------------------------------------- Thu Oct 11 08:46:49 UTC 2018 - Tomáš Chvátal - State all dependnecies properly and execute tests ------------------------------------------------------------------- Sat Oct 6 09:06:54 UTC 2018 - ecsos@opensuse.org - initial version 18.6.0