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
ea8e70d201
- urlparsing.patch (upstreamed)
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=16
2020-03-25 16:31:46 +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
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