a4eef7fa85
- update to 24.9.1: * treq has vendored its dependency on the multipart library to avoid import conflicts with python-multipart; it should now be installable alongside that library. * treq now ships type annotations. * The new :mod:treq.cookies module provides helper functions for working with http.cookiejar.Cookie and CookieJar objects. * Python 3.13 is now supported. * :mod:treq.content.text_content() no longer generates deprecation warnings due to use of the cgi module. * Mixing the json argument with files or data now raises TypeError. * Passing non-string (str or bytes) values as part of a dict to the headers argument now results in a TypeError, as does passing any collection other than a dict or Headers instance. * Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped.
Dirk Mueller2024-10-29 20:41:59 +00:00
7981a98185
Accepting request 1133550 from devel:languages:python
Ana Guerrero2023-12-17 20:31:44 +00:00
13bab5aa86
- update to 23.11.0: * 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.
Dirk Mueller2023-12-15 22:24:06 +00:00
72214b432e
- 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.
Matej Cepl2022-02-03 10:20:41 +00:00
75bd1d4fac
Accepting request 735337 from home:cyphar:matrix
Tomáš Chvátal
2019-10-05 07:18:23 +00:00
8fbe09d93a
Accepting request 730449 from devel:languages:python
Ludwig Nussel
2019-09-13 13:02:02 +00:00
8eb3f39962
- Add patch to fix build with new Twisted releases: * urlparsing.patch
Tomáš Chvátal
2019-09-12 17:22:14 +00:00
256f58e0f1
Accepting request 682433 from devel:languages:python
Stephan Kulow
2019-03-10 08:34:28 +00:00
53dbed7863
- Add patch to fix testrun on python3.7: * python37.patch - Fix macro expansion to run the tests under python3
Tomáš Chvátal
2019-03-07 11:34:48 +00:00