* When the collector passed to ``treq.collect(response,
collector)`` throws an exception, that error will now be
returned to the caller of ``collect()`` via the result
``Deferred``, and the underlying HTTP transport will be
closed.
* Python 3.11 is now supported.
* Python 3.12 is now supported.
* PyPy 3.9 is now supported.
* PyPy 3.10 is now supported.
* Deprecations and Removals
* The minimum supported Twisted version has increased to
22.10.0. Older versions are no longer tested in CI.
* Support for Python 3.6, which has reached end of support, has
been dropped.
* Support for PyPy 3.7, which has reached end of support, has
been removed.
* Support for PyPy 3.8, which has reached end of support, is
deprecated.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=35
- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=23
- 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.
OBS-URL: https://build.opensuse.org/request/show/879767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=21