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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=35
2023-12-15 22:24:06 +00:00
46c0bc2bf2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=33
2023-06-11 20:07:56 +00:00
6fec7a8067
Accepting request 1092321 from home:ecsos:python
...
- Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/request/show/1092321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=32
2023-06-11 20:07:41 +00:00
d831ec03f0
Clean up the SPEC file
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=31
2023-05-10 11:48:45 +00:00
c97576e359
Accepting request 984944 from home:bnavigator:Twisted
...
- Actually requires twisted[tls]: python-Twisted-tls on Tumbleweed
OBS-URL: https://build.opensuse.org/request/show/984944
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=29
2022-06-28 22:17:45 +00:00
0abacc7982
Accepting request 981184 from home:darix:apps
...
- Update to 22.2.0
- Features
- Python 3.10 and PyPy 3.8 are now supported. (`#338
<https://github.com/twisted/treq/issues/338 >`__)
- Bugfixes
- Address a regression introduced in Treq 22.1.0 that prevented
transmission of cookies with requests to ports other than 80,
including HTTPS (443). (`#343
<https://github.com/twisted/treq/issues/343 >`__)
- Deprecations and Removals
- Support for Python 3.6, which has reached end of support, is
deprecated. This is the last release with support for Python
3.6. (`#338 <https://github.com/twisted/treq/issues/338 >`__)
OBS-URL: https://build.opensuse.org/request/show/981184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=27
2022-06-07 16:41:31 +00:00
0f4edcab9b
Remove superfluous python-six Requires
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=26
2022-02-03 11:37:33 +00:00
8acdb10013
- Switch to pyproject* tool chain.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=25
2022-02-03 11:35:00 +00:00
2d567613e6
Don't build on Python 2
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=24
2022-02-03 10:22:35 +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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=23
2022-02-03 10:20:41 +00:00
b6921569e3
Accepting request 879767 from home:cyphar:matrix
...
- 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
2021-03-18 08:11:07 +00:00
Tomáš Chvátal
025d4088c4
Accepting request 822410 from home:mcalabkova:branches:devel:languages:python
...
- 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 ``#``.
OBS-URL: https://build.opensuse.org/request/show/822410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=19
2020-07-23 13:17:03 +00:00
Tomáš Chvátal
eaf423ff28
Accepting request 788244 from home:pgajdos:python
...
- version update to 20.3.0
- Python 3.7 support. (`#228 <https://github.com/twisted/treq/issues/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 <https://github.com/twisted/treq/issues/225 >`__)
- `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 <https://github.com/twisted/treq/issues/253 >`__)
- The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 <https://github.com/twisted/treq/issues/233 >`__)
- The *agent* parameter to `treq.request()` has been documented. (`#235 <https://github.com/twisted/treq/issues/235 >`__)
- The type of the *headers* element of a response tuple passed to `treq.testing.RequestSequence` is now correctly documented as `str`. (`#237 <https://github.com/twisted/treq/issues/237 >`__)
- Drop support for Python 3.4. (`#240 <https://github.com/twisted/treq/issues/240 >`__)
- `#247 <https://github.com/twisted/treq/issues/247 >`__, `#248 <https://github.com/twisted/treq/issues/248 >`__, `#249 <https://github.com/twisted/treq/issues/249 >`__
- deleted patches
- python37.patch (upstreamed)
OBS-URL: https://build.opensuse.org/request/show/788244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=15
2020-03-25 16:17:05 +00:00
Tomáš Chvátal
75bd1d4fac
Accepting request 735337 from home:cyphar:matrix
...
- Add service_identity BuildRequires so the integration tests don't fail on
Leap (required for boo#1153017).
OBS-URL: https://build.opensuse.org/request/show/735337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=13
2019-10-05 07:18:23 +00:00
Tomáš Chvátal
8eb3f39962
- Add patch to fix build with new Twisted releases:
...
* urlparsing.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=11
2019-09-12 17:22:14 +00:00
Tomáš Chvátal
53dbed7863
- Add patch to fix testrun on python3.7:
...
* python37.patch
- Fix macro expansion to run the tests under python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=9
2019-03-07 11:34:48 +00:00
Tomáš Chvátal
6374f57a2d
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=5
2018-10-22 07:51:41 +00:00
Tomáš Chvátal
41cec70356
- Make the tests actually execute
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=4
2018-10-22 07:25:38 +00:00
Tomáš Chvátal
0f1fd64b25
Accepting request 641921 from home:jengelh:branches:devel:languages:python
...
- Avoid name repetition in summary (rpmlint).
OBS-URL: https://build.opensuse.org/request/show/641921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=3
2018-10-14 11:22:12 +00:00
Tomáš Chvátal
a677390211
- State all dependnecies properly and execute tests
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=2
2018-10-11 08:47:03 +00:00
Tomáš Chvátal
a2925c164d
Accepting request 640573 from home:ecsos:messenger:matrix
...
- initial version 18.6.0
OBS-URL: https://build.opensuse.org/request/show/640573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=1
2018-10-11 08:15:16 +00:00