Accepting request 126137 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/126137 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=5
This commit is contained in:
commit
e8b9387685
@ -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
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-requests
|
||||
Version: 0.12.1
|
||||
Version: 0.13.1
|
||||
Release: 0
|
||||
Url: http://python-requests.org
|
||||
Summary: Awesome Python HTTP Library That's Actually Usable
|
||||
@ -34,6 +34,7 @@ BuildRequires: python-distribute
|
||||
BuildRequires: python-oauthlib
|
||||
Requires: python
|
||||
Requires: python-chardet
|
||||
Requires: python-grequests
|
||||
Requires: python-oauthlib
|
||||
%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()")}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ce56b87180c06728d96ca734055675abf8f5cc3136e0d7712a6260430685589
|
||||
size 78245
|
3
requests-0.13.1.tar.gz
Normal file
3
requests-0.13.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31f3ae96787fe74a78c7dd9626bf997fd4eabacc040b7b33fbd8632d2c2a97f6
|
||||
size 68474
|
@ -1,9 +1,9 @@
|
||||
diff -ru a/requests/utils.py b/requests/utils.py
|
||||
--- a/requests/utils.py 2012-05-08 06:56:28.000000000 +0200
|
||||
+++ b/requests/utils.py 2012-05-23 14:06:43.728477504 +0200
|
||||
@@ -14,6 +14,9 @@
|
||||
--- a/requests/utils.py 2012-05-30 01:54:25.000000000 +0200
|
||||
+++ b/requests/utils.py 2012-05-30 11:16:23.939251965 +0200
|
||||
@@ -13,6 +13,9 @@
|
||||
import codecs
|
||||
import os
|
||||
import random
|
||||
import re
|
||||
+import socket
|
||||
+import ssl
|
||||
@ -11,7 +11,7 @@ diff -ru a/requests/utils.py b/requests/utils.py
|
||||
import zlib
|
||||
from netrc import netrc, NetrcParseError
|
||||
|
||||
@@ -42,13 +45,26 @@
|
||||
@@ -40,13 +43,26 @@
|
||||
'/etc/ssl/certs/ca-certificates.crt',
|
||||
# FreeBSD (provided by the ca_root_nss package):
|
||||
'/usr/local/share/certs/ca-root-nss.crt',
|
||||
@ -39,10 +39,9 @@ diff -ru a/requests/utils.py b/requests/utils.py
|
||||
return None
|
||||
|
||||
# if certifi is installed, use its CA bundle;
|
||||
Only in b/requests: .utils.py.swp
|
||||
diff -ru a/setup.py b/setup.py
|
||||
--- a/setup.py 2012-05-08 06:56:28.000000000 +0200
|
||||
+++ b/setup.py 2012-05-23 14:07:30.303478614 +0200
|
||||
--- a/setup.py 2012-05-11 00:09:45.000000000 +0200
|
||||
+++ b/setup.py 2012-05-30 11:16:32.235252151 +0200
|
||||
@@ -34,7 +34,7 @@
|
||||
# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
|
||||
# use the system CA bundle instead; see `requests.utils` for details.
|
||||
|
Loading…
Reference in New Issue
Block a user