- Update to 0.13.1:
+ Removal of Requests.async in favor of grequests + Allow disabling of cookie persistiance. + New implimentation of safe_mode + cookies.get now supports default argument + Session cookies not saved when Session.request is called with return_response=False + Env: no_proxy support. + RequestsCookieJar improvements. + Various bug fixes. - Rebased patches OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=21
This commit is contained in:
parent
46275a5a11
commit
a77547e14d
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 30 09:11:50 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to 0.13.1:
|
||||||
|
+ Removal of Requests.async in favor of grequests
|
||||||
|
+ Allow disabling of cookie persistiance.
|
||||||
|
+ New implimentation of safe_mode
|
||||||
|
+ cookies.get now supports default argument
|
||||||
|
+ Session cookies not saved when Session.request is called with return_response=False
|
||||||
|
+ Env: no_proxy support.
|
||||||
|
+ RequestsCookieJar improvements.
|
||||||
|
+ Various bug fixes.
|
||||||
|
- Rebased patches
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 23 12:09:35 UTC 2012 - saschpe@suse.de
|
Wed May 23 12:09:35 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 0.12.1
|
Version: 0.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://python-requests.org
|
Url: http://python-requests.org
|
||||||
Summary: Awesome Python HTTP Library That's Actually Usable
|
Summary: Awesome Python HTTP Library That's Actually Usable
|
||||||
@ -34,6 +34,7 @@ BuildRequires: python-distribute
|
|||||||
BuildRequires: python-oauthlib
|
BuildRequires: python-oauthlib
|
||||||
Requires: python
|
Requires: python
|
||||||
Requires: python-chardet
|
Requires: python-chardet
|
||||||
|
Requires: python-grequests
|
||||||
Requires: python-oauthlib
|
Requires: python-oauthlib
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9ce56b87180c06728d96ca734055675abf8f5cc3136e0d7712a6260430685589
|
|
||||||
size 78245
|
|
3
requests-0.13.0.tar.gz
Normal file
3
requests-0.13.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:03a2001843546147ddb6972d0661e2002b9be4ccbbbd2177ee10f05bd1910109
|
||||||
|
size 68172
|
@ -1,9 +1,9 @@
|
|||||||
diff -ru a/requests/utils.py b/requests/utils.py
|
diff -ru a/requests/utils.py b/requests/utils.py
|
||||||
--- a/requests/utils.py 2012-05-08 06:56:28.000000000 +0200
|
--- a/requests/utils.py 2012-05-30 01:54:25.000000000 +0200
|
||||||
+++ b/requests/utils.py 2012-05-23 14:06:43.728477504 +0200
|
+++ b/requests/utils.py 2012-05-30 11:16:23.939251965 +0200
|
||||||
@@ -14,6 +14,9 @@
|
@@ -13,6 +13,9 @@
|
||||||
|
import codecs
|
||||||
import os
|
import os
|
||||||
import random
|
|
||||||
import re
|
import re
|
||||||
+import socket
|
+import socket
|
||||||
+import ssl
|
+import ssl
|
||||||
@ -11,7 +11,7 @@ diff -ru a/requests/utils.py b/requests/utils.py
|
|||||||
import zlib
|
import zlib
|
||||||
from netrc import netrc, NetrcParseError
|
from netrc import netrc, NetrcParseError
|
||||||
|
|
||||||
@@ -42,13 +45,26 @@
|
@@ -40,13 +43,26 @@
|
||||||
'/etc/ssl/certs/ca-certificates.crt',
|
'/etc/ssl/certs/ca-certificates.crt',
|
||||||
# FreeBSD (provided by the ca_root_nss package):
|
# FreeBSD (provided by the ca_root_nss package):
|
||||||
'/usr/local/share/certs/ca-root-nss.crt',
|
'/usr/local/share/certs/ca-root-nss.crt',
|
||||||
@ -39,10 +39,9 @@ diff -ru a/requests/utils.py b/requests/utils.py
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
# if certifi is installed, use its CA bundle;
|
# if certifi is installed, use its CA bundle;
|
||||||
Only in b/requests: .utils.py.swp
|
|
||||||
diff -ru a/setup.py b/setup.py
|
diff -ru a/setup.py b/setup.py
|
||||||
--- a/setup.py 2012-05-08 06:56:28.000000000 +0200
|
--- a/setup.py 2012-05-11 00:09:45.000000000 +0200
|
||||||
+++ b/setup.py 2012-05-23 14:07:30.303478614 +0200
|
+++ b/setup.py 2012-05-30 11:16:32.235252151 +0200
|
||||||
@@ -34,7 +34,7 @@
|
@@ -34,7 +34,7 @@
|
||||||
# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
|
# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
|
||||||
# use the system CA bundle instead; see `requests.utils` for details.
|
# use the system CA bundle instead; see `requests.utils` for details.
|
||||||
|
Loading…
Reference in New Issue
Block a user