Package Details: python2-responses 0.10.16-1

Git Clone URL: https://aur.archlinux.org/python2-responses.git (read-only, click to copy)
Package Base: python2-responses
Description: A utility library for mocking out the `requests` Python library.
Upstream URL: https://github.com/getsentry/responses
Licenses: Apache
Submitter: 0x9fff00
Maintainer: 0x9fff00
Last Packager: 0x9fff00
Votes: 0
Popularity: 0.000000
First Submitted: 2019-11-10 20:27
Last Updated: 2020-08-14 18:46

Pinned Comments

0x9fff00 commented on 2020-06-15 20:27

This package is currently incompatible with python2-future. See https://github.com/PythonCharmers/python-future/issues/564 and https://github.com/getsentry/responses/issues/330 for more information.

Latest Comments

0x9fff00 commented on 2020-06-15 20:27

This package is currently incompatible with python2-future. See https://github.com/PythonCharmers/python-future/issues/564 and https://github.com/getsentry/responses/issues/330 for more information.

Romio commented on 2020-06-14 11:30

@0x9fff00 "python2-future 0.18.2-2" Here is the eta library. But I don’t know what exactly I should tell her to the author.

0x9fff00 commented on 2020-06-13 18:20

@Romio, @simonmysun: You seem to be using some kind of library that provides an http.cookies package on Python 2, which makes responses use the Python 3 code path (see https://github.com/getsentry/responses/blob/13f83ba79d26cb6376740ebd5acb3b36e6cb838e/responses.py#L119), however the library doesn't seem to support Unicode strings. This should be reported to the author of the library.

If you don't know what library it is you can open the Python 2 shell ($ python2) and run these commands to find the module path, and then use $ pacman -Qo <path> to find the package (if it was installed with pacman):

>>> import http.cookies
>>> print(http.cookies.__file__)

simonmysun commented on 2020-06-11 12:33

Hi, I have the same error here, and here's my log: https://pastebin.com/myhtpDQs

0x9fff00 commented on 2020-05-31 19:58

@Romio: I can't reproduce that error in a clean chroot. Please post the commands you are using to build, and the full log using something like https://pastebin.com/.

Romio commented on 2020-05-29 22:28

_______________ test_cookies_from_headers _______________ test_responses.py:1119: in test_cookies_from_headers cookiejar = responses._cookies_from_headers(headers) responses.py:122: in _cookies_from_headers resp_cookie.load(headers["set-cookie"]) /usr/lib/python2.7/Cookie.py:643: in load for k, v in rawdata.items(): E AttributeError: 'unicode' object has no attribute 'items' ============================================================================================================== warnings summary =============================================================================================================== /usr/lib/python2.7/site-packages/_pytest/config/init.py:886 /usr/lib/python2.7/site-packages/_pytest/config/init.py:886 /usr/lib/python2.7/site-packages/_pytest/config/init.py:886: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: backports

-- Docs: https://docs.pytest.org/en/latest/warnings.html