./devel/py-treq, HTTP library for Twisted

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 24.9.1, Package name: py312-treq-24.9.1, Maintainer: pkgsrc-users

treq is an HTTP library inspired by requests but written on top of
Twisted's Agents.

It provides a simple, higher level API for making HTTP requests when
using Twisted.


Required to run:
[net/py-twisted] [devel/py-setuptools] [lang/python27] [devel/py-requests] [lang/py-six] [devel/py-attrs] [devel/py-incremental]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 83.607 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 09:25:52 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-treq: updated to 24.9.1

24.9.1 (2024-09-19)

Bugfixes

- treq has vendored its dependency on the ``multipart`` library to avoid import
  conflicts with ``python-multipart``; it should now be installable alongside
  that library.

24.9.0 (2024-09-17)

Features

- 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.

Bugfixes

- :mod:`treq.content.text_content()` no longer generates deprecation warnings \ 
due to use of the ``cgi`` module.

Deprecations and Removals

- 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.
   2024-01-19 22:46:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-treq: updated to 23.11.0

23.11.0 (2023-11-03)

Features

- 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.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2022-02-14 11:15:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-treq: updated to 22.2.0

22.2.0 (2022-02-08)
===================

Features
--------
- Python 3.10 and PyPy 3.8 are now supported.

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).

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.
   2022-02-14 10:16:33 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-treq: mark as only for python 3
   2022-02-13 09:53:45 by Thomas Klausner | Files touched by this commit (21)
Log message:
*: use versioned_dependencies for py-twisted
   2022-02-05 15:26:37 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
py-treq: reset PKGREVISION after update