Revisions of python-treq

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1219181 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1133550 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1093691 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 11)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 951348 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 8)
- 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.
- Switch to pyproject* tool chain.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 788271 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
- 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)
  - urlparsing.patch (upstreamed)
Ludwig Nussel's avatar Ludwig Nussel (lnussel_factory) accepted request 730449 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 3)
- Add patch to fix build with new Twisted releases:
  * urlparsing.patch
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 682433 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- Add patch to fix testrun on python3.7:
  * python37.patch
- Fix macro expansion to run the tests under python3
Displaying all 13 revisions
openSUSE Build Service is sponsored by