pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-requests-toolbelt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Dec  4 21:48:21 UTC 2015

Modified Files:
        pkgsrc/devel/py-requests-toolbelt: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-requests-toolbelt/patches:
            patch-requests__toolbelt_auth___digest__auth__compat.py
            patch-requests__toolbelt_auth_guess.py
            patch-requests__toolbelt_auth_http__proxy__digest.py

Log Message:
Update py-requests-toolbelt to 0.5.0.

Add test dependencies. All tests pass.

0.5.0 -- 2015-11-24
-------------------

More information about this release can be found on the `milestone
<https://github.com/sigmavirus24/requests-toolbelt/issues?utf8=%E2%9C%93&q=is%3Aall+milestone%3A0.5+>`_
for 0.5.0.

New Features
~~~~~~~~~~~~

- The ``tee`` submodule was added to ``requests_toolbelt.downloadutils``. It
  allows you to iterate over the bytes of a response while also writing them
  to a file. The ``tee.tee`` function, expects you to pass an open file
  object, while ``tee.tee_to_file`` will use the provided file name to open
  the file for you.

- Added a new parameter to ``requests_toolbelt.utils.user_agent`` that allows
  the user to specify additional items.

- Added nested form-data helper,
  ``requests_toolbelt.utils.formdata.urlencode``.

- Added the ``ForgetfulCookieJar`` to ``requests_toolbelt.cookies``.

- Added utilities for dumping the information about a request-response cycle
  in ``requests_toolbelt.utils.dump``.

- Implemented the API described in the ``requests_toolbelt.threaded`` module
  docstring, i.e., added ``requests_toolbelt.threaded.map`` as an available
  function.

Fixed Bugs
~~~~~~~~~~

- Now papers over the API differences in versions of requests installed from
  system packages versus versions of requests installed from PyPI.

- Allow string types for ``SourceAddressAdapter``.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-requests-toolbelt/Makefile \
    pkgsrc/devel/py-requests-toolbelt/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-requests-toolbelt/PLIST
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth___digest__auth__compat.py \
    pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth_guess.py \
    pkgsrc/devel/py-requests-toolbelt/patches/patch-requests__toolbelt_auth_http__proxy__digest.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index