commit python-requests for openSUSE:Factory

2020-08-01 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2020-08-01 12:30:36

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.3592 (New)


Package is "python-requests"

Sat Aug  1 12:30:36 2020 rev:65 rq:822516 version:2.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2020-04-22 20:45:12.822478520 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.3592/python-requests.changes
2020-08-01 12:30:44.450432252 +0200
@@ -1,0 +2,15 @@
+Thu Jul 23 18:47:44 UTC 2020 - Sebastian Wagner 
+
+- remove patch pr_5251-pytest5.patch, not needed anymore.
+- update to version 2.24.0:
+ - pyOpenSSL TLS implementation is now only used if Python
+   either doesn't have an `ssl` module or doesn't support
+   SNI. Previously pyOpenSSL was unconditionally used if available.
+   This applies even if pyOpenSSL is installed via the
+   `requests[security]` extra (#5443)
+ - Redirect resolution should now only occur when
+   `allow_redirects` is True. (#5492)
+ - No longer perform unnecessary Content-Length calculation for
+   requests that won't use it. (#5496)
+
+---

Old:

  pr_5251-pytest5.patch
  requests-2.23.0.tar.gz

New:

  requests-2.24.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.jlttog/_old  2020-08-01 12:30:45.778433496 +0200
+++ /var/tmp/diff_new_pack.jlttog/_new  2020-08-01 12:30:45.782433499 +0200
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.23.0
+Version:2.24.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
@@ -35,7 +35,6 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
-Patch1: pr_5251-pytest5.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ requests-2.23.0.tar.gz -> requests-2.24.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.23.0/HISTORY.md 
new/requests-2.24.0/HISTORY.md
--- old/requests-2.23.0/HISTORY.md  2020-02-19 19:27:13.0 +0100
+++ new/requests-2.24.0/HISTORY.md  2020-06-17 17:52:43.0 +0200
@@ -4,10 +4,25 @@
 dev
 ---
 
-**Bugfixes**
-
 -   \[Short description of non-trivial change.\]
 
+2.24.0 (2020-06-17)
+---
+
+**Improvements**
+
+- pyOpenSSL TLS implementation is now only used if Python
+  either doesn't have an `ssl` module or doesn't support
+  SNI. Previously pyOpenSSL was unconditionally used if available.
+  This applies even if pyOpenSSL is installed via the
+  `requests[security]` extra (#5443)
+
+- Redirect resolution should now only occur when
+  `allow_redirects` is True. (#5492)
+
+- No longer perform unnecessary Content-Length calculation for
+  requests that won't use it. (#5496)
+
 2.23.0 (2020-02-19)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.23.0/PKG-INFO new/requests-2.24.0/PKG-INFO
--- old/requests-2.23.0/PKG-INFO2020-02-19 19:48:35.0 +0100
+++ new/requests-2.24.0/PKG-INFO2020-06-17 18:29:52.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.23.0
+Version: 2.24.0
 Summary: Python HTTP for Humans.
 Home-page: https://requests.readthedocs.io
 Author: Kenneth Reitz
@@ -24,10 +24,13 @@
  'A simple, yet elegant HTTP library.'
 
 
-
-This software has been designed for you, with much joy,
-by https://kennethreitz.org/;>Kenneth Reitz & is 
protected by The https://www.python.org/psf/;>Python Software 
Foundation.
-   
+
+This software has been designed for you, with much joy,
+by https://kennethreitz.org/;>Kenneth Reitz &
+is protected by The https://www.python.org/psf/;>Python Software Foundation.
+
+
+
 
 
 
@@ -38,7 +41,7 @@
 
 
 
-```pycon
+```python
 >>> import requests
 >>> r = requests.get('https://api.github.com/user', auth=('user', 
'pass'))
 >>> r.status_code
@@ -48,9 +51,9 @@
 >>> r.encoding
 'utf-8'
 >>> r.text
-

commit python-requests for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2020-04-22 20:44:33

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.2738 (New)


Package is "python-requests"

Wed Apr 22 20:44:33 2020 rev:64 rq:796260 version:2.23.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2020-02-29 21:18:13.970055423 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.2738/python-requests.changes
2020-04-22 20:45:12.822478520 +0200
@@ -94 +94 @@
-- update to version 2.20.0:
+- update to version 2.20.0 bsc#622:



Other differences:
--



commit python-requests for openSUSE:Factory

2020-02-29 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2020-02-29 21:18:12

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.26092 (New)


Package is "python-requests"

Sat Feb 29 21:18:12 2020 rev:63 rq:778804 version:2.23.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-12-24 14:28:47.178541578 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.26092/python-requests.changes   
2020-02-29 21:18:13.970055423 +0100
@@ -1,0 +2,9 @@
+Mon Feb 24 15:19:16 UTC 2020 - Ondřej Súkup 
+
+- update to 2.23.0
+- dropped merged_pr_5049.patch
+- refreshed requests-no-hardcoded-version.patch 
+ * Remove defunct reference to prefetch in Session __attrs__
+ * Requests no longer outputs password in basic auth usage warning
+
+---

Old:

  merged_pr_5049.patch
  requests-2.22.0.tar.gz

New:

  requests-2.23.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.nYxxoL/_old  2020-02-29 21:18:14.726055062 +0100
+++ /var/tmp/diff_new_pack.nYxxoL/_new  2020-02-29 21:18:14.726055062 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.22.0
+Version:2.23.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
@@ -36,7 +36,6 @@
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
 Patch1: pr_5251-pytest5.patch
-Patch2: merged_pr_5049.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ requests-2.22.0.tar.gz -> requests-2.23.0.tar.gz ++
 1717 lines of diff (skipped)

++ requests-no-hardcoded-version.patch ++
--- /var/tmp/diff_new_pack.nYxxoL/_old  2020-02-29 21:18:14.870054993 +0100
+++ /var/tmp/diff_new_pack.nYxxoL/_new  2020-02-29 21:18:14.870054993 +0100
@@ -1,17 +1,16 @@
-Index: requests-2.22.0/setup.py
+Index: requests-2.23.0/setup.py
 ===
 requests-2.22.0.orig/setup.py
-+++ requests-2.22.0/setup.py
+--- requests-2.23.0.orig/setup.py
 requests-2.23.0/setup.py
 @@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
  packages = ['requests']
  
  requires = [
--'chardet>=3.0.2,<3.1.0',
--'idna>=2.5,<2.9',
--'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
+-'chardet>=3.0.2,<4',
+-'idna>=2.5,<3',
 +'chardet>=3.0.2',
 +'idna>=2.5',
-+'urllib3>=1.21.1',
+ 'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
  'certifi>=2017.4.17'
  
  ]




commit python-requests for openSUSE:Factory

2019-12-24 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-12-24 14:28:46

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.6675 (New)


Package is "python-requests"

Tue Dec 24 14:28:46 2019 rev:62 rq:757448 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-11-04 17:13:42.472729150 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.6675/python-requests.changes
2019-12-24 14:28:47.178541578 +0100
@@ -1,0 +2,7 @@
+Sat Dec 14 22:48:50 UTC 2019 - Stefan Brüns 
+
+- Remove python-urllib3, python-certifi and ca-certificates from
+  main package BuildRequires, not required for building.
+- Do not require full python, (implicit) python-base is sufficient. 
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.WkoQis/_old  2019-12-24 14:28:48.298542120 +0100
+++ /var/tmp/diff_new_pack.WkoQis/_new  2019-12-24 14:28:48.298542120 +0100
@@ -37,12 +37,8 @@
 Patch0: requests-no-hardcoded-version.patch
 Patch1: pr_5251-pytest5.patch
 Patch2: merged_pr_5049.patch
-BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module urllib3 >= 1.21.1}
-BuildRequires:  ca-certificates
 BuildRequires:  fdupes
-BuildRequires:  python
 BuildRequires:  python-rpm-macros
 Requires:   ca-certificates
 Requires:   python




commit python-requests for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-11-04 17:13:39

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.2990 (New)


Package is "python-requests"

Mon Nov  4 17:13:39 2019 rev:61 rq:744659 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-07-30 13:03:58.166407424 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.2990/python-requests.changes
2019-11-04 17:13:42.472729150 +0100
@@ -1,0 +2,7 @@
+Fri Nov  1 07:57:29 UTC 2019 - John Vandenberg 
+
+- Add two patches only updating test logic to remove pytest 3 pin
+  - merged_pr_5049.patch
+  - pr_5251-pytest5.patch
+
+---

New:

  merged_pr_5049.patch
  pr_5251-pytest5.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.vHWlEX/_old  2019-11-04 17:13:43.232729962 +0100
+++ /var/tmp/diff_new_pack.vHWlEX/_new  2019-11-04 17:13:43.252729983 +0100
@@ -35,6 +35,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
 Patch0: requests-no-hardcoded-version.patch
+Patch1: pr_5251-pytest5.patch
+Patch2: merged_pr_5049.patch
 BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
@@ -66,9 +68,9 @@
 BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna >= 2.5}
-BuildRequires:  %{python_module pytest < 4.0}
 BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}
 BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= %{version}}
 %endif
 %python_subpackages
@@ -93,7 +95,7 @@
 
 %prep
 %setup -q -n requests-%{version}
-%patch0 -p1
+%autopatch -p1
 
 # drop shebang from certs.py
 sed -i '1s/^#!.*$//' requests/certs.py

++ merged_pr_5049.patch ++
>From dc75b3ca0b4c95648eb07b92cb414394d99c13a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
Date: Mon, 8 Apr 2019 18:04:22 +0200
Subject: [PATCH] Support pytest 4

Fixes https://github.com/kennethreitz/requests/issues/5048

See 
https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize
---
 setup.py| 2 +-
 tests/test_utils.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/test_utils.py b/tests/test_utils.py
index 59b0b0efa..62c51494d 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -33,7 +33,8 @@ class TestSuperLen:
 'stream, value', (
 (StringIO.StringIO, 'Test'),
 (BytesIO, b'Test'),
-pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')),
+pytest.param(cStringIO, 'Test',
+ marks=pytest.mark.skipif('cStringIO is None')),
 ))
 def test_io_streams(self, stream, value):
 """Ensures that we properly deal with different kinds of IO streams."""
++ pr_5251-pytest5.patch ++
>From 9da8a963868c1019fb02691c54c493ca1549e6bb Mon Sep 17 00:00:00 2001
From: John Vandenberg 
Date: Fri, 1 Nov 2019 14:04:43 +0700
Subject: [PATCH 1/2] test_requests: Support pytest assert rewriting

The real exception has moved to e.value, when pytest
wraps the exception, however it wasnt wrapped in one
case for pytest 3, so add backwards compatibility.
---
 tests/test_requests.py | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/tests/test_requests.py b/tests/test_requests.py
index 7d4a4eb51..75366d10b 100644
--- a/tests/test_requests.py
+++ b/tests/test_requests.py
@@ -1692,7 +1692,7 @@ def __iter__(self):
 with pytest.raises(UnrewindableBodyError) as e:
 requests.utils.rewind_body(prep)
 
-assert 'Unable to rewind request body' in str(e)
+assert 'Unable to rewind request body' in str(e.value)
 
 def test_rewind_body_failed_seek(self):
 class BadFileObj:
@@ -1715,7 +1715,7 @@ def __iter__(self):
 with pytest.raises(UnrewindableBodyError) as e:
 requests.utils.rewind_body(prep)
 
-assert 'error occurred when rewinding request body' in str(e)
+assert 'error occurred when rewinding request body' in str(e.value)
 
 def test_rewind_body_failed_tell(self):
 class BadFileObj:
@@ -1735,7 +1735,7 @@ def __iter__(self):
 with pytest.raises(UnrewindableBodyError) as e:
 

commit python-requests for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-07-30 13:03:56

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.4126 (New)


Package is "python-requests"

Tue Jul 30 13:03:56 2019 rev:60 rq:717463 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-05-27 08:37:18.691096092 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.4126/python-requests.changes
2019-07-30 13:03:58.166407424 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 07:57:59 UTC 2019 - Tomáš Chvátal 
+
+- Hardcode pytest 3.x series as upstream even in git does not work
+  with newer versions (they pinned the release)
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.LDIfUc/_old  2019-07-30 13:03:58.878407272 +0200
+++ /var/tmp/diff_new_pack.LDIfUc/_new  2019-07-30 13:03:58.882407271 +0200
@@ -66,9 +66,9 @@
 BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna >= 2.5}
+BuildRequires:  %{python_module pytest < 4.0}
 BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}
 BuildRequires:  %{python_module pytest-mock}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= %{version}}
 %endif
 %python_subpackages




commit python-requests for openSUSE:Factory

2019-05-27 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-05-27 08:37:17

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.5148 (New)


Package is "python-requests"

Mon May 27 08:37:17 2019 rev:59 rq:705386 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-04-26 22:41:58.553719347 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.5148/python-requests.changes
2019-05-27 08:37:18.691096092 +0200
@@ -1,0 +2,7 @@
+Sat May 25 08:41:20 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.22.0:
+  * Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are 
incompatible)
+- Rebase requests-no-hardcoded-version.patch
+
+---

Old:

  requests-2.21.0.tar.gz

New:

  requests-2.22.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.eyg5q7/_old  2019-05-27 08:37:20.103095541 +0200
+++ /var/tmp/diff_new_pack.eyg5q7/_new  2019-05-27 08:37:20.103095541 +0200
@@ -26,7 +26,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests%{psuffix}
-Version:2.21.0
+Version:2.22.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0

++ requests-2.21.0.tar.gz -> requests-2.22.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.21.0/HISTORY.md 
new/requests-2.22.0/HISTORY.md
--- old/requests-2.21.0/HISTORY.md  2018-12-10 07:07:09.0 +0100
+++ new/requests-2.22.0/HISTORY.md  2019-05-16 16:22:45.0 +0200
@@ -8,6 +8,18 @@
 
 -   \[Short description of non-trivial change.\]
 
+2.22.0 (2019-05-15)
+---
+
+**Dependencies**
+
+- Requests now supports urllib3 v1.25.2.
+  (note: 1.25.0 and 1.25.1 are incompatible)
+
+**Deprecations**
+
+- Requests has officially stopped support for Python 3.4.
+
 2.21.0 (2018-12-10)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.21.0/PKG-INFO new/requests-2.22.0/PKG-INFO
--- old/requests-2.21.0/PKG-INFO2018-12-10 16:39:30.0 +0100
+++ new/requests-2.22.0/PKG-INFO2019-05-16 16:36:36.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.21.0
+Version: 2.22.0
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
@@ -16,8 +16,6 @@
 
[![image](https://img.shields.io/github/contributors/requests/requests.svg)](https://github.com/requests/requests/graphs/contributors)
 
[![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/kennethreitz)
 
-**If you're interested in financially supporting Kenneth Reitz open 
source, consider [visiting this link](https://cash.me/$KennethReitz). Your 
support helps tremendously with sustainability of motivation, as Open Source is 
no longer part of my day job.**
-
 Requests is the only *Non-GMO* HTTP library for Python, safe for human
 consumption.
 
@@ -26,6 +24,7 @@
 Behold, the power of Requests:
 
 ``` {.sourceCode .python}
+>>> import requests
 >>> r = requests.get('https://api.github.com/user', auth=('user', 
'pass'))
 >>> r.status_code
 200
@@ -99,17 +98,18 @@
 How to Contribute
 -
 
-1.  Check for open issues or open a fresh issue to start a discussion
+1.  Become more familiar with the project by reading our 
[Contributor's 
Guide](http://docs.python-requests.org/en/latest/dev/contributing/) and our 
[development 
philosophy](http://docs.python-requests.org/en/latest/dev/philosophy/).
+2.  Check for open issues or open a fresh issue to start a discussion
 around a feature idea or a bug. There is a [Contributor
 
Friendly](https://github.com/requests/requests/issues?direction=desc=Contributor+Friendly=1=updated=open)
 tag for issues that should be ideal for people who are not very
 familiar with the codebase yet.
-2.  Fork [the repository](https://github.com/requests/requests) on
+3.  Fork [the repository](https://github.com/requests/requests) on
 GitHub to start making your changes to the **master** branch (or
 branch off of it).
-3.  Write a test which shows that the bug was fixed or that the feature
+4.  Write a test which 

commit python-requests for openSUSE:Factory

2019-04-26 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-04-26 22:41:57

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.5536 (New)


Package is "python-requests"

Fri Apr 26 22:41:57 2019 rev:58 rq:697101 version:2.21.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-02-26 22:15:47.582203315 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.5536/python-requests.changes
2019-04-26 22:41:58.553719347 +0200
@@ -1,0 +2,7 @@
+Tue Apr 23 10:45:08 UTC 2019 - Tomáš Chvátal 
+
+- Do not hardcode version requirements in setup.py allowing us to
+  update and verify functionality on our own:
+  * requests-no-hardcoded-version.patch
+
+---

New:

  requests-no-hardcoded-version.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.8RBRfq/_old  2019-04-26 22:42:01.225717984 +0200
+++ /var/tmp/diff_new_pack.8RBRfq/_new  2019-04-26 22:42:01.225717984 +0200
@@ -33,6 +33,8 @@
 Group:  Development/Languages/Python
 URL:http://python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
+# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
+Patch0: requests-no-hardcoded-version.patch
 BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
@@ -61,6 +63,7 @@
 %endif
 %if %{with test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
+BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}
@@ -90,6 +93,7 @@
 
 %prep
 %setup -q -n requests-%{version}
+%patch0 -p1
 
 # drop shebang from certs.py
 sed -i '1s/^#!.*$//' requests/certs.py
@@ -116,7 +120,7 @@
 touch Pipfile
 # exclude tests connecting to TARPIT
 # exclude test_https_warnings as is flaky
-%python_exec -m pytest tests -k "not (TestTimeout or connect or 
test_https_warnings)"
+%python_exec -m pytest -v tests -k "not (TestTimeout or connect or 
test_https_warnings)"
 %endif
 
 %if !%{with test}

++ requests-no-hardcoded-version.patch ++
Index: requests-2.21.0/setup.py
===
--- requests-2.21.0.orig/setup.py
+++ requests-2.21.0/setup.py
@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
 packages = ['requests']
 
 requires = [
-'chardet>=3.0.2,<3.1.0',
-'idna>=2.5,<2.9',
-'urllib3>=1.21.1,<1.25',
+'chardet>=3.0.2',
+'idna>=2.5',
+'urllib3>=1.21.1',
 'certifi>=2017.4.17'
 
 ]
 test_requirements = [
-'pytest-httpbin==0.0.7',
+'pytest-httpbin>=0.0.7',
 'pytest-cov',
 'pytest-mock',
 'pytest-xdist',



commit python-requests for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-02-26 22:15:45

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28833 (New)


Package is "python-requests"

Tue Feb 26 22:15:45 2019 rev:57 rq:678959 version:2.21.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-02-08 13:46:35.310813107 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28833/python-requests.changes   
2019-02-26 22:15:47.582203315 +0100
@@ -1,0 +2,11 @@
+Mon Feb 25 15:45:08 UTC 2019 - Tomáš Chvátal 
+
+- Skip one more test that is flaky 
+
+---
+Fri Feb 15 11:41:05 UTC 2019 - Tomáš Chvátal 
+
+- Do not depend on python-py
+- Update few of the requirements
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.It9pCT/_old  2019-02-26 22:15:48.570202980 +0100
+++ /var/tmp/diff_new_pack.It9pCT/_new  2019-02-26 22:15:48.574202978 +0100
@@ -18,16 +18,14 @@
 
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%if %{with test}
-Name:   python-requests-%{flavor}
-%else
-Name:   python-requests
-%endif
+Name:   python-requests%{psuffix}
 Version:2.21.0
 Release:0
 Summary:Python HTTP Library
@@ -36,7 +34,6 @@
 URL:http://python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 BuildRequires:  %{python_module certifi}
-BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
 BuildRequires:  ca-certificates
@@ -47,10 +44,10 @@
 Requires:   python
 Requires:   python-certifi >= 2017.4.17
 Requires:   python-chardet >= 3.0.2
-Requires:   python-idna < 2.8
 Requires:   python-idna >= 2.5
 Requires:   python-py
 Requires:   python-urllib3 >= 1.21.1
+BuildArch:  noarch
 %if 0%{?_no_weakdeps}
 Requires:   ca-certificates-mozilla
 Requires:   python-PySocks >= 1.5.6
@@ -62,16 +59,14 @@
 Recommends: python-cryptography >= 1.3.4
 Recommends: python-pyOpenSSL >= 0.14
 %endif
-BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
 BuildRequires:  %{python_module chardet >= 3.0.2}
-BuildRequires:  %{python_module idna < 2.8}
 BuildRequires:  %{python_module idna >= 2.5}
-BuildRequires:  %{python_module pytest-httpbin}
+BuildRequires:  %{python_module pytest-httpbin >= 0.0.7}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
-Requires:   this-is-only-for-build-envs
+BuildRequires:  %{python_module requests >= %{version}}
 %endif
 %python_subpackages
 
@@ -107,12 +102,11 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/
-%if %{with test}
-%python_expand rm -Rf %{buildroot}%{$python_sitelib}/requests*
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
 # NOTE(aplanas) If we do not have the certificates, we some of the
@@ -121,13 +115,11 @@
 %check
 touch Pipfile
 # exclude tests connecting to TARPIT
-%python_exec -m pytest tests -k "not (TestTimeout and connect)"
+# exclude test_https_warnings as is flaky
+%python_exec -m pytest tests -k "not (TestTimeout or connect or 
test_https_warnings)"
 %endif
 
-%if %{with test}
-%files %{python_files}
-%license LICENSE
-%else
+%if !%{with test}
 %files %{python_files}
 %license LICENSE
 %doc HISTORY.md README.md




commit python-requests for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-02-08 13:46:32

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28833 (New)


Package is "python-requests"

Fri Feb  8 13:46:32 2019 rev:56 rq:671885 version:2.21.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-01-28 20:45:46.578073655 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28833/python-requests.changes   
2019-02-08 13:46:35.310813107 +0100
@@ -1,0 +2,6 @@
+Tue Feb  5 13:17:10 UTC 2019 - John Paul Adrian Glaubitz 

+
+- update to version 2.21.0:
+  * Requests now supports idna v2.8.
+
+---

Old:

  requests-2.20.1.tar.gz

New:

  requests-2.21.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.Vy4YLj/_old  2019-02-08 13:46:35.926812915 +0100
+++ /var/tmp/diff_new_pack.Vy4YLj/_new  2019-02-08 13:46:35.926812915 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
 %else
 Name:   python-requests
 %endif
-Version:2.20.1
+Version:2.21.0
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0

++ requests-2.20.1.tar.gz -> requests-2.21.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.1/HISTORY.md 
new/requests-2.21.0/HISTORY.md
--- old/requests-2.20.1/HISTORY.md  2018-11-08 18:13:19.0 +0100
+++ new/requests-2.21.0/HISTORY.md  2018-12-10 07:07:09.0 +0100
@@ -8,6 +8,13 @@
 
 -   \[Short description of non-trivial change.\]
 
+2.21.0 (2018-12-10)
+---
+
+**Dependencies**
+
+- Requests now supports idna v2.8.
+
 2.20.1 (2018-11-08)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.1/PKG-INFO new/requests-2.21.0/PKG-INFO
--- old/requests-2.20.1/PKG-INFO2018-11-08 18:19:45.0 +0100
+++ new/requests-2.21.0/PKG-INFO2018-12-10 16:39:30.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.20.1
+Version: 2.21.0
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.1/requests/__version__.py 
new/requests-2.21.0/requests/__version__.py
--- old/requests-2.20.1/requests/__version__.py 2018-11-08 18:13:37.0 
+0100
+++ new/requests-2.21.0/requests/__version__.py 2018-12-10 07:00:19.0 
+0100
@@ -5,8 +5,8 @@
 __title__ = 'requests'
 __description__ = 'Python HTTP for Humans.'
 __url__ = 'http://python-requests.org'
-__version__ = '2.20.1'
-__build__ = 0x022001
+__version__ = '2.21.0'
+__build__ = 0x022100
 __author__ = 'Kenneth Reitz'
 __author_email__ = 'm...@kennethreitz.org'
 __license__ = 'Apache 2.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.1/requests/models.py 
new/requests-2.21.0/requests/models.py
--- old/requests-2.20.1/requests/models.py  2018-10-18 17:46:52.0 
+0200
+++ new/requests-2.21.0/requests/models.py  2018-12-10 05:14:36.0 
+0100
@@ -781,7 +781,7 @@
 
 return chunks
 
-def iter_lines(self, chunk_size=ITER_CHUNK_SIZE, decode_unicode=None, 
delimiter=None):
+def iter_lines(self, chunk_size=ITER_CHUNK_SIZE, decode_unicode=False, 
delimiter=None):
 """Iterates over the response data, one line at a time.  When
 stream=True is set on the request, this avoids reading the
 content at once into memory for large responses.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.1/requests.egg-info/PKG-INFO 
new/requests-2.21.0/requests.egg-info/PKG-INFO
--- old/requests-2.20.1/requests.egg-info/PKG-INFO  2018-11-08 
18:19:45.0 +0100
+++ new/requests-2.21.0/requests.egg-info/PKG-INFO  2018-12-10 
16:39:29.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: requests
-Version: 2.20.1
+Version: 2.21.0
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit python-requests for openSUSE:Factory

2019-01-28 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-01-28 20:45:44

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28833 (New)


Package is "python-requests"

Mon Jan 28 20:45:44 2019 rev:55 rq:664989 version:2.20.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2019-01-03 18:05:29.824200676 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28833/python-requests.changes   
2019-01-28 20:45:46.578073655 +0100
@@ -1,0 +2,5 @@
+Wed Jan  9 22:42:33 UTC 2019 - Jonathan Brownell 
+
+- Support older Red Hat platforms that don't offer "Recommends:"
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.77tVRB/_old  2019-01-28 20:45:47.042073167 +0100
+++ /var/tmp/diff_new_pack.77tVRB/_new  2019-01-28 20:45:47.042073167 +0100
@@ -51,10 +51,17 @@
 Requires:   python-idna >= 2.5
 Requires:   python-py
 Requires:   python-urllib3 >= 1.21.1
+%if 0%{?_no_weakdeps}
+Requires:   ca-certificates-mozilla
+Requires:   python-PySocks >= 1.5.6
+Requires:   python-cryptography >= 1.3.4
+Requires:   python-pyOpenSSL >= 0.14
+%else
 Recommends: ca-certificates-mozilla
 Recommends: python-PySocks >= 1.5.6
 Recommends: python-cryptography >= 1.3.4
 Recommends: python-pyOpenSSL >= 0.14
+%endif
 BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}




commit python-requests for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2019-01-03 18:05:28

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.28833 (New)


Package is "python-requests"

Thu Jan  3 18:05:28 2019 rev:54 rq:662199 version:2.20.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-11-28 11:09:44.935204209 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.28833/python-requests.changes   
2019-01-03 18:05:29.824200676 +0100
@@ -1,0 +2,7 @@
+Mon Dec 31 12:24:10 CET 2018 - mc...@suse.com
+
+- Move name ahead of version in spec file to resolve build issues
+  on older distributions
+- fdupe more thoroughly.
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.LJZEDJ/_old  2019-01-03 18:05:30.320200236 +0100
+++ /var/tmp/diff_new_pack.LJZEDJ/_new  2019-01-03 18:05:30.324200232 +0100
@@ -17,11 +17,17 @@
 
 
 %global flavor @BUILD_FLAVOR@%{nil}
-%define test 0
 %if "%{flavor}" == "test"
-%define test 1
+%bcond_without test
+%else
+%bcond_with test
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%if %{with test}
+Name:   python-requests-%{flavor}
+%else
+Name:   python-requests
+%endif
 Version:2.20.1
 Release:0
 Summary:Python HTTP Library
@@ -50,12 +56,7 @@
 Recommends: python-cryptography >= 1.3.4
 Recommends: python-pyOpenSSL >= 0.14
 BuildArch:  noarch
-%if %{test}
-Name:   python-requests-%{flavor}
-%else
-Name:   python-requests
-%endif
-%if %{test}
+%if %{with test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna < 2.8}
@@ -102,22 +103,21 @@
 %python_install
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/requests
-%if %{test}
-%python_expand rm -Rf %{buildroot}%{$python_sitelib}/requests
-%python_expand rm -Rf %{buildroot}%{$python_sitelib}/requests-*
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/
+%if %{with test}
+%python_expand rm -Rf %{buildroot}%{$python_sitelib}/requests*
 %endif
 
 # NOTE(aplanas) If we do not have the certificates, we some of the
 # tests will fail, so for now we only run the tests in openSUSE
-%if 0%{?suse_version} && %{test}
+%if 0%{?suse_version} && %{with test}
 %check
 touch Pipfile
 # exclude tests connecting to TARPIT
 %python_exec -m pytest tests -k "not (TestTimeout and connect)"
 %endif
 
-%if %{test}
+%if %{with test}
 %files %{python_files}
 %license LICENSE
 %else




commit python-requests for openSUSE:Factory

2018-11-28 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-11-28 11:09:39

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new.19453 (New)


Package is "python-requests"

Wed Nov 28 11:09:39 2018 rev:53 rq:651559 version:2.20.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-11-12 09:50:40.324352168 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new.19453/python-requests.changes   
2018-11-28 11:09:44.935204209 +0100
@@ -1,0 +2,8 @@
+Fri Nov 23 21:34:10 UTC 2018 - Arun Persaud 
+
+- update to version 2.20.1:
+  * Bugfixes
++ Fixed bug with unintended Authorization header stripping for
+  redirects using default ports (http/80, https/443).
+
+---

Old:

  requests-2.20.0.tar.gz

New:

  requests-2.20.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.CyWk0w/_old  2018-11-28 11:09:48.699199091 +0100
+++ /var/tmp/diff_new_pack.CyWk0w/_new  2018-11-28 11:09:48.703199085 +0100
@@ -22,12 +22,7 @@
 %define test 1
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%if %{test}
-Name:   python-requests-%{flavor}
-%else
-Name:   python-requests
-%endif
-Version:2.20.0
+Version:2.20.1
 Release:0
 Summary:Python HTTP Library
 License:Apache-2.0
@@ -56,6 +51,11 @@
 Recommends: python-pyOpenSSL >= 0.14
 BuildArch:  noarch
 %if %{test}
+Name:   python-requests-%{flavor}
+%else
+Name:   python-requests
+%endif
+%if %{test}
 BuildRequires:  %{python_module PySocks >= 1.5.6}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna < 2.8}

++ requests-2.20.0.tar.gz -> requests-2.20.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.0/HISTORY.md 
new/requests-2.20.1/HISTORY.md
--- old/requests-2.20.0/HISTORY.md  2018-10-18 17:41:45.0 +0200
+++ new/requests-2.20.1/HISTORY.md  2018-11-08 18:13:19.0 +0100
@@ -8,6 +8,14 @@
 
 -   \[Short description of non-trivial change.\]
 
+2.20.1 (2018-11-08)
+---
+
+**Bugfixes**
+
+- Fixed bug with unintended Authorization header stripping for
+  redirects using default ports (http/80, https/443).
+
 2.20.0 (2018-10-18)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.0/PKG-INFO new/requests-2.20.1/PKG-INFO
--- old/requests-2.20.0/PKG-INFO2018-10-18 17:45:26.0 +0200
+++ new/requests-2.20.1/PKG-INFO2018-11-08 18:19:45.0 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: requests
-Version: 2.20.0
+Version: 2.20.1
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
 Author-email: m...@kennethreitz.org
 License: Apache 2.0
-Description-Content-Type: text/markdown
 Description: Requests: HTTP for Humans™
 ==
 
@@ -131,3 +130,6 @@
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Description-Content-Type: text/markdown
+Provides-Extra: security
+Provides-Extra: socks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.0/requests/__version__.py 
new/requests-2.20.1/requests/__version__.py
--- old/requests-2.20.0/requests/__version__.py 2018-10-18 17:41:45.0 
+0200
+++ new/requests-2.20.1/requests/__version__.py 2018-11-08 18:13:37.0 
+0100
@@ -5,8 +5,8 @@
 __title__ = 'requests'
 __description__ = 'Python HTTP for Humans.'
 __url__ = 'http://python-requests.org'
-__version__ = '2.20.0'
-__build__ = 0x022000
+__version__ = '2.20.1'
+__build__ = 0x022001
 __author__ = 'Kenneth Reitz'
 __author_email__ = 'm...@kennethreitz.org'
 __license__ = 'Apache 2.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.20.0/requests/sessions.py 
new/requests-2.20.1/requests/sessions.py
--- old/requests-2.20.0/requests/sessions.py2018-10-18 17:41:46.0 
+0200
+++ new/requests-2.20.1/requests/sessions.py2018-11-08 18:09:42.0 
+0100
@@ -19,7 +19,7 @@
 from .models import Request, PreparedRequest, DEFAULT_REDIRECT_LIMIT
 from .hooks import default_hooks, dispatch_hook
 from ._internal_utils import to_native_string

commit python-requests for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-11-12 09:50:37

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Mon Nov 12 09:50:37 2018 rev:52 rq:646695 version:2.20.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-11-06 15:20:49.864921573 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2018-11-12 09:50:40.324352168 +0100
@@ -1,0 +2,5 @@
+Tue Oct 30 09:20:26 UTC 2018 - Jan Engelhardt 
+
+- Ensure neutrality of descriptions.
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.X4xTMd/_old  2018-11-12 09:50:41.760350013 +0100
+++ /var/tmp/diff_new_pack.X4xTMd/_new  2018-11-12 09:50:41.760350013 +0100
@@ -29,7 +29,7 @@
 %endif
 Version:2.20.0
 Release:0
-Summary:Awesome Python HTTP Library That's Actually Usable
+Summary:Python HTTP Library
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:http://python-requests.org/
@@ -69,7 +69,7 @@
 
 %description
 Requests is an HTTP library, written in Python, as an alternative
-to Python's builtin urllib2 which requires a work (even
+to Python's builtin urllib2 which requires work (even
 method overrides) to perform basic tasks.
 
 Features of Requests:




commit python-requests for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-11-06 15:19:42

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Tue Nov  6 15:19:42 2018 rev:51 rq:645472 version:2.20.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-07-21 10:09:16.171183789 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2018-11-06 15:20:49.864921573 +0100
@@ -1,0 +2,23 @@
+Sat Oct 20 15:39:32 UTC 2018 - Arun Persaud 
+
+- specfile:
+  * remove devel for noarch
+  * remove restriction for urllib3 < 1.24
+  * HISTORY and README changed from .rst to .md
+
+- update to version 2.20.0:
+  * Bugfixes
++ Content-Type header parsing is now case-insensitive
+  (e.g. charset=utf8 v Charset=utf8).
++ Fixed exception leak where certain redirect urls would raise
+  uncaught urllib3 exceptions.
++ Requests removes Authorization header from requests redirected
+  from https to http on the same hostname. (CVE-2018-18074)
++ should_bypass_proxies now handles URIs without hostnames
+  (e.g. files).
+  * Dependencies
++ Requests now supports urllib3 v1.24.
+  * Deprecations
++ Requests has officially stopped support for Python 2.6.
+
+---

Old:

  requests-2.19.1.tar.gz

New:

  requests-2.20.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.brNDzf/_old  2018-11-06 15:21:12.672888612 +0100
+++ /var/tmp/diff_new_pack.brNDzf/_new  2018-11-06 15:21:12.676888607 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,7 +27,7 @@
 %else
 Name:   python-requests
 %endif
-Version:2.19.1
+Version:2.20.0
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
@@ -35,10 +35,8 @@
 URL:http://python-requests.org/
 Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
 BuildRequires:  %{python_module certifi}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module urllib3 < 1.24}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
 BuildRequires:  ca-certificates
 BuildRequires:  fdupes
@@ -51,7 +49,6 @@
 Requires:   python-idna < 2.8
 Requires:   python-idna >= 2.5
 Requires:   python-py
-Requires:   python-urllib3 < 1.24
 Requires:   python-urllib3 >= 1.21.1
 Recommends: ca-certificates-mozilla
 Recommends: python-PySocks >= 1.5.6
@@ -126,7 +123,7 @@
 %else
 %files %{python_files}
 %license LICENSE
-%doc HISTORY.rst README.rst
+%doc HISTORY.md README.md
 %{python_sitelib}/requests/
 %{python_sitelib}/requests-*
 %endif

++ requests-2.19.1.tar.gz -> requests-2.20.0.tar.gz ++
 8836 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2018-08-07 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-08-07 09:42:53

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Tue Aug  7 09:42:53 2018 rev:50 rq:627626 version:2.19.1

Changes:


Old:

  python-requests-test.changes



Other differences:
--



commit python-requests for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-07-21 10:09:13

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Sat Jul 21 10:09:13 2018 rev:49 rq:624090 version:2.19.1

Changes:

New Changes file:

--- /dev/null   2018-07-14 11:19:38.193360615 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests.new/python-requests-test.changes
2018-07-21 10:09:16.043183818 +0200
@@ -0,0 +1,1305 @@
+---
+Thu Jul 19 10:27:24 UTC 2018 - mimi...@gmail.com
+
+- -test subpackage must be empty 
+
+---
+Mon Jul 16 00:09:54 UTC 2018 - mimi...@gmail.com
+
+- make multibuild package to resolve circular deps on tests
+
+---
+Mon Jul  2 00:43:03 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- update to version 2.19.1:
+  * Fixed issue where status_codes.py’s init function failed trying
+to append to a __doc__ value of None.
+- update to version 2.19.0:
+  * Improvements
++ Warn about possible slowdown with cryptography version < 1.3.4
++ Check host in proxy URL, before forwarding request to adapter.
++ Maintain fragments properly across redirects. (RFC7231 7.1.2)
++ Removed use of cgi module to expedite library load time.
++ Added support for SHA-256 and SHA-512 digest auth algorithms.
++ Minor performance improvement to Request.content.
++ Migrate to using collections.abc for 3.7 compatibility.
+  * Bugfixes
++ Parsing empty Link headers with parse_header_links() no longer
+  return one bogus entry.
++ Fixed issue where loading the default certificate bundle from
+  a zip archive would raise an IOError.
++ Fixed issue with unexpected ImportError on windows system
+  which do not support winreg module.
++ DNS resolution in proxy bypass no longer includes the username
+  and password in the request. This also fixes the issue of DNS
+  queries failing on macOS.
++ Properly normalize adapter prefixes for url comparison.
++ Passing None as a file pointer to the files param no longer
+  raises an exception.
++ Calling copy on a RequestsCookieJar will now preserve the
+  cookie policy correctly.
+  * We now support idna v2.7 and urllib3 v1.23.
+- Properly set idna/urllib3 dependency versions, runtime and buildtime
+- Spec cleanup, remove conditionals for ancient distro versions
+- Remove duplicates with fdupes
+
+---
+Wed Mar  7 14:37:27 UTC 2018 - apla...@suse.com
+
+- Allows Recommends and Suggest in Fedora
+
+---
+Tue Feb 27 18:08:32 UTC 2018 - apla...@suse.com
+
+- Recommends only for SUSE
+- In no SUSE evironments some tests related with certificates can
+  fail. Skip the tests if this case.
+
+---
+Sun Sep 24 21:48:31 UTC 2017 - a...@gmx.de
+
+- update to version 2.18.4:
+  * Improvements
++ Error messages for invalid headers now include the header name
+  for easier debugging
+  * Dependencies
++ We now support idna v2.6.
+
+- changes from version 2.18.3:
+  * Improvements
++ Running $ python -m requests.help now includes the installed
+  version of idna.
+  * Bugfixes
++ Fixed issue where Requests would raise ConnectionError instead
+  of SSLError when encountering SSL problems when using urllib3
+  v1.22.
+
+---
+Tue Aug  8 06:51:52 UTC 2017 - tbecht...@suse.com
+
+- update to version v2.18.2
+  * Add requirements.txt to MANIFEST.in
+  * test ssl version check functions as expected in python 2.6
+  * no more stickers
+  * fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module
+  * Setup HISTORY for next release
+  * Use 'prefix' instead of 'key' in session docstring
+  * Allow urllib3 1.22
+  * v2.18.2
+  * stickers
+  * redundant comma
+
+---
+Mon Jul  3 11:36:40 UTC 2017 - tbecht...@suse.com
+
+update to version v2.18.1
+  * 2.17.1
+  * Fix a typo: verison -> version
+  * fix
+  * Prepare v2.18.0
+  * Update requirements.txt
+  * cleanup models.py
+  * Preserve identity of unbundled deps
+  * ignore undefined names in flake8
+  * flake8 ignore lambda expressions
+  * Add the pytest .cache/ directory to .gitignore
+  * docutils
+  * try junit
+  * new installation location
+  * cleanup utils.py
+  * flake8report.txt
+  * empty commit
+  * no more pipenv
+  * Begin dev section 

commit python-requests for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-07-04 23:53:59

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Wed Jul  4 23:53:59 2018 rev:48 rq:620399 version:2.19.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-03-12 12:05:26.456960885 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2018-07-04 23:54:43.991918454 +0200
@@ -1,0 +2,35 @@
+Mon Jul  2 00:43:03 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- update to version 2.19.1:
+  * Fixed issue where status_codes.py’s init function failed trying
+to append to a __doc__ value of None.
+- update to version 2.19.0:
+  * Improvements
++ Warn about possible slowdown with cryptography version < 1.3.4
++ Check host in proxy URL, before forwarding request to adapter.
++ Maintain fragments properly across redirects. (RFC7231 7.1.2)
++ Removed use of cgi module to expedite library load time.
++ Added support for SHA-256 and SHA-512 digest auth algorithms.
++ Minor performance improvement to Request.content.
++ Migrate to using collections.abc for 3.7 compatibility.
+  * Bugfixes
++ Parsing empty Link headers with parse_header_links() no longer
+  return one bogus entry.
++ Fixed issue where loading the default certificate bundle from
+  a zip archive would raise an IOError.
++ Fixed issue with unexpected ImportError on windows system
+  which do not support winreg module.
++ DNS resolution in proxy bypass no longer includes the username
+  and password in the request. This also fixes the issue of DNS
+  queries failing on macOS.
++ Properly normalize adapter prefixes for url comparison.
++ Passing None as a file pointer to the files param no longer
+  raises an exception.
++ Calling copy on a RequestsCookieJar will now preserve the
+  cookie policy correctly.
+  * We now support idna v2.7 and urllib3 v1.23.
+- Properly set idna/urllib3 dependency versions, runtime and buildtime
+- Spec cleanup, remove conditionals for ancient distro versions
+- Remove duplicates with fdupes
+
+---

Old:

  requests-2.18.4.tar.gz

New:

  requests-2.19.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.z1Eksh/_old  2018-07-04 23:54:44.595917787 +0200
+++ /var/tmp/diff_new_pack.z1Eksh/_new  2018-07-04 23:54:44.619917761 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests
-Version:2.18.4
+Version:2.19.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
@@ -30,31 +30,33 @@
 BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
+BuildRequires:  %{python_module urllib3 < 1.24}
 BuildRequires:  ca-certificates
+BuildRequires:  fdupes
 BuildRequires:  python
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module PySocks >= 1.5.6}
 BuildRequires:  %{python_module chardet >= 3.0.2}
 BuildRequires:  %{python_module idna >= 2.5}
+BuildRequires:  %{python_module idna < 2.8}
 BuildRequires:  %{python_module pytest-httpbin}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 Requires:   ca-certificates
 Requires:   python
-# for good measure, at least recommend an actual set of certificates
-%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Recommends: ca-certificates-mozilla
 Recommends: python-pyOpenSSL >= 0.14
 Recommends: python-cryptography >= 1.3.4
 Recommends: python-PySocks >= 1.5.6
-%endif
 Requires:   python-certifi >= 2017.4.17
 Requires:   python-chardet >= 3.0.2
 Requires:   python-idna >= 2.5
+Requires:   python-idna < 2.8
 Requires:   python-py
 Requires:   python-urllib3 >= 1.21.1
+Requires:   python-urllib3 < 1.24
 BuildArch:  noarch
 
 %python_subpackages
@@ -83,6 +85,10 @@
 # drop shebang from certs.py
 sed -i '1s/^#!.*$//' requests/certs.py
 
+# remove 'never' default parameter from digest-auth check
+# requires httpbin 0.6.0
+sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py
+
 %build
 %python_build
 
@@ -90,19 +96,21 @@
 %python_install
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
+%python_expand %fdupes 

commit python-requests for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-03-12 12:05:23

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Mon Mar 12 12:05:23 2018 rev:47 rq:583919 version:2.18.4

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2018-03-05 13:34:38.410929424 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2018-03-12 12:05:26.456960885 +0100
@@ -1,0 +2,5 @@
+Wed Mar  7 14:37:27 UTC 2018 - apla...@suse.com
+
+- Allows Recommends and Suggest in Fedora
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.X28TMI/_old  2018-03-12 12:05:28.100901965 +0100
+++ /var/tmp/diff_new_pack.X28TMI/_new  2018-03-12 12:05:28.104901821 +0100
@@ -44,7 +44,7 @@
 Requires:   ca-certificates
 Requires:   python
 # for good measure, at least recommend an actual set of certificates
-%if 0%{?suse_version} >= 1000
+%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Recommends: ca-certificates-mozilla
 Recommends: python-pyOpenSSL >= 0.14
 Recommends: python-cryptography >= 1.3.4




commit python-requests for openSUSE:Factory

2018-03-05 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2018-03-05 13:34:32

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Mon Mar  5 13:34:32 2018 rev:46 rq:580800 version:2.18.4

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-10-02 16:48:20.403770220 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2018-03-05 13:34:38.410929424 +0100
@@ -1,0 +2,7 @@
+Tue Feb 27 18:08:32 UTC 2018 - apla...@suse.com
+
+- Recommends only for SUSE
+- In no SUSE evironments some tests related with certificates can
+  fail. Skip the tests if this case.
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.3qRYER/_old  2018-03-05 13:34:39.502889907 +0100
+++ /var/tmp/diff_new_pack.3qRYER/_new  2018-03-05 13:34:39.506889762 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,10 +44,12 @@
 Requires:   ca-certificates
 Requires:   python
 # for good measure, at least recommend an actual set of certificates
+%if 0%{?suse_version} >= 1000
 Recommends: ca-certificates-mozilla
 Recommends: python-pyOpenSSL >= 0.14
 Recommends: python-cryptography >= 1.3.4
 Recommends: python-PySocks >= 1.5.6
+%endif
 Requires:   python-certifi >= 2017.4.17
 Requires:   python-chardet >= 3.0.2
 Requires:   python-idna >= 2.5
@@ -89,10 +91,14 @@
 # check that urllib3 is not installed
 test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
 
+# NOTE(aplanas) If we do not have the certificates, we some of the
+# tests will fail, so for now we only run the tests in openSUSE
+%if 0%{?suse_version}
 %check
 touch requirements.txt
 # exclude tests connecting to TARPIT
 %python_exec -m pytest tests -k "not (TestTimeout and connect)"
+%endif
 
 %files %{python_files}
 %defattr(-,root,root)




commit python-requests for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-10-02 16:48:19

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Mon Oct  2 16:48:19 2017 rev:45 rq:529890 version:2.18.4

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-08-14 12:36:55.578067388 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-10-02 16:48:20.403770220 +0200
@@ -1,0 +2,19 @@
+Sun Sep 24 21:48:31 UTC 2017 - a...@gmx.de
+
+- update to version 2.18.4:
+  * Improvements
++ Error messages for invalid headers now include the header name
+  for easier debugging
+  * Dependencies
++ We now support idna v2.6.
+
+- changes from version 2.18.3:
+  * Improvements
++ Running $ python -m requests.help now includes the installed
+  version of idna.
+  * Bugfixes
++ Fixed issue where Requests would raise ConnectionError instead
+  of SSLError when encountering SSL problems when using urllib3
+  v1.22.
+
+---

Old:

  requests-2.18.2.tar.gz

New:

  requests-2.18.4.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.8y2ETG/_old  2017-10-02 16:48:21.479619232 +0200
+++ /var/tmp/diff_new_pack.8y2ETG/_new  2017-10-02 16:48:21.479619232 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests
-Version:2.18.2
+Version:2.18.4
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0

++ requests-2.18.2.tar.gz -> requests-2.18.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.2/HISTORY.rst 
new/requests-2.18.4/HISTORY.rst
--- old/requests-2.18.2/HISTORY.rst 2017-07-25 17:21:44.0 +0200
+++ new/requests-2.18.4/HISTORY.rst 2017-08-15 15:22:10.0 +0200
@@ -3,6 +3,29 @@
 Release History
 ---
 
+2.18.4 (2017-08-15)

+
+**Improvements**
+
+- Error messages for invalid headers now include the header name for easier 
debugging
+
+**Dependencies**
+
+- We now support idna v2.6.
+
+2.18.3 (2017-08-02)

+
+**Improvements**
+
+- Running ``$ python -m requests.help`` now includes the installed version of 
idna.
+
+**Bugfixes**
+
+- Fixed issue where Requests would raise ``ConnectionError`` instead of
+  ``SSLError`` when encountering SSL problems when using urllib3 v1.22.
+
 2.18.2 (2017-07-25)
 +++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.2/PKG-INFO new/requests-2.18.4/PKG-INFO
--- old/requests-2.18.2/PKG-INFO2017-07-25 17:22:25.0 +0200
+++ new/requests-2.18.4/PKG-INFO2017-08-15 15:23:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: requests
-Version: 2.18.2
+Version: 2.18.4
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
@@ -127,6 +127,29 @@
 Release History
 ---
 
+2.18.4 (2017-08-15)
++++
+
+**Improvements**
+
+- Error messages for invalid headers now include the header name for 
easier debugging
+
+**Dependencies**
+
+- We now support idna v2.6.
+
+2.18.3 (2017-08-02)
++++
+
+**Improvements**
+
+- Running ``$ python -m requests.help`` now includes the installed 
version of idna.
+
+**Bugfixes**
+
+- Fixed issue where Requests would raise ``ConnectionError`` instead of
+  ``SSLError`` when encountering SSL problems when using urllib3 v1.22.
+
 2.18.2 (2017-07-25)
 +++
 
@@ -1636,7 +1659,6 @@
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.2/requests/__init__.py 
new/requests-2.18.4/requests/__init__.py
--- old/requests-2.18.2/requests/__init__.py2017-06-14 19:44:15.0 
+0200

commit python-requests for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-08-14 12:36:54

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Mon Aug 14 12:36:54 2017 rev:44 rq:515216 version:2.18.2

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-07-04 11:57:51.813850611 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-08-14 12:36:55.578067388 +0200
@@ -1,0 +2,15 @@
+Tue Aug  8 06:51:52 UTC 2017 - tbecht...@suse.com
+
+- update to version v2.18.2
+  * Add requirements.txt to MANIFEST.in
+  * test ssl version check functions as expected in python 2.6
+  * no more stickers
+  * fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module
+  * Setup HISTORY for next release
+  * Use 'prefix' instead of 'key' in session docstring
+  * Allow urllib3 1.22
+  * v2.18.2
+  * stickers
+  * redundant comma
+
+---

Old:

  requests-2.18.1.tar.gz

New:

  requests-2.18.2.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.ovJ9zA/_old  2017-08-14 12:36:57.781757939 +0200
+++ /var/tmp/diff_new_pack.ovJ9zA/_new  2017-08-14 12:36:57.789756815 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests
-Version:2.18.1
+Version:2.18.2
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0

++ requests-2.18.1.tar.gz -> requests-2.18.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.1/HISTORY.rst 
new/requests-2.18.2/HISTORY.rst
--- old/requests-2.18.1/HISTORY.rst 2017-06-14 19:50:41.0 +0200
+++ new/requests-2.18.2/HISTORY.rst 2017-07-25 17:21:44.0 +0200
@@ -3,6 +3,18 @@
 Release History
 ---
 
+2.18.2 (2017-07-25)

+
+**Bugfixes**
+
+- ``requests.help`` no longer fails on Python 2.6 due to the absence of
+  ``ssl.OPENSSL_VERSION_NUMBER``.
+
+**Dependencies**
+
+- We now support urllib3 v1.22.
+
 2.18.1 (2017-06-14)
 +++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.1/MANIFEST.in 
new/requests-2.18.2/MANIFEST.in
--- old/requests-2.18.1/MANIFEST.in 2017-05-31 11:19:09.0 +0200
+++ new/requests-2.18.2/MANIFEST.in 2017-07-20 11:07:20.0 +0200
@@ -1,2 +1,2 @@
-include README.rst LICENSE NOTICE HISTORY.rst pytest.ini
+include README.rst LICENSE NOTICE HISTORY.rst pytest.ini requirements.txt
 recursive-include tests *.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.1/PKG-INFO new/requests-2.18.2/PKG-INFO
--- old/requests-2.18.1/PKG-INFO2017-06-14 19:51:08.0 +0200
+++ new/requests-2.18.2/PKG-INFO2017-07-25 17:22:25.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: requests
-Version: 2.18.1
+Version: 2.18.2
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
@@ -101,7 +101,7 @@
 $ pip install requests
 ✨✨
 
-Satisfaction, guaranteed.
+Satisfaction guaranteed.
 
 Documentation
 -
@@ -127,6 +127,18 @@
 Release History
 ---
 
+2.18.2 (2017-07-25)
++++
+
+**Bugfixes**
+
+- ``requests.help`` no longer fails on Python 2.6 due to the absence of
+  ``ssl.OPENSSL_VERSION_NUMBER``.
+
+**Dependencies**
+
+- We now support urllib3 v1.22.
+
 2.18.1 (2017-06-14)
 +++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.1/README.rst 
new/requests-2.18.2/README.rst
--- old/requests-2.18.1/README.rst  2017-05-31 11:19:09.0 +0200
+++ new/requests-2.18.2/README.rst  2017-07-25 17:15:36.0 +0200
@@ -93,7 +93,7 @@
 $ pip install requests
 ✨✨
 
-Satisfaction, guaranteed.
+Satisfaction guaranteed.
 
 Documentation
 -
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.18.1/requests/__version__.py 
new/requests-2.18.2/requests/__version__.py
--- old/requests-2.18.1/requests/__version__.py 2017-06-14 19:50:48.0 
+0200
+++ 

commit python-requests for openSUSE:Factory

2017-07-04 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-07-04 11:57:50

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Tue Jul  4 11:57:50 2017 rev:43 rq:507839 version:2.18.1

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-06-13 16:06:37.339217148 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-07-04 11:57:51.813850611 +0200
@@ -1,0 +2,89 @@
+Mon Jul  3 11:36:40 UTC 2017 - tbecht...@suse.com
+
+update to version v2.18.1
+  * 2.17.1
+  * Fix a typo: verison -> version
+  * fix
+  * Prepare v2.18.0
+  * Update requirements.txt
+  * cleanup models.py
+  * Preserve identity of unbundled deps
+  * ignore undefined names in flake8
+  * flake8 ignore lambda expressions
+  * Add the pytest .cache/ directory to .gitignore
+  * docutils
+  * try junit
+  * new installation location
+  * cleanup utils.py
+  * flake8report.txt
+  * empty commit
+  * no more pipenv
+  * Begin dev section of README
+  * Remove exec permission from files that shouldn't have it
+  * change development philosophy docs to reflect reality
+  * fix manifest file
+  * only flake8 the right directory
+  * update development documentation
+  * Remove session redirect cache
+  * no piping to a file
+  * Catch error if multiprocessing is not available or is unable to determine 
the number of CPUs
+  * todo
+  * cleanup sessions.py
+  * typo
+  * number of cores for travis
+  * ignore import statements for flake8
+  * Update README.rst
+  * better ci file
+  * bunk change
+  * that doesn't work on windows
+  * improve development instructions
+  * Fix a typo: paramters -> parameters
+  * Adds changelog entry for #4134
+  * ignore line continuations for flake8
+  * Allow Requests.Response to be used as a context manager
+  * Fix requests.packages not having package attributes
+  * remove note about cacerts.pem
+  * v2.17.3
+  * improve install documentation syntax
+  * improve installation instructions
+  * flake8: import statement improvements
+  * fix spaces in api.py
+  * v2.18.1
+  * skip for now
+  * v2.17.2
+  * fix flake8 for EOF in __init__.py
+  * improve flake8 help.py
+  * Prepare for next release cycle
+  * try this travis file
+  * remove "are you crazy?" section
+  * fix sidebars
+  * Update index.rst
+  * fix empty lines for flake8
+  * convert version compatibility checks to warning
+  * fix github stars
+  * v2.17.1
+  * improve line continuations for flake8
+  * attempt new ads
+  * speed up appveyor
+  * v2.17.0
+  * improve installation docs
+  * fix flake8 indent error
+  * Adds to AUTHORS
+  * Clearer makefile for building README
+  * flake8
+  * Fixes error swallowing in set_environ
+  * cleanup help.py (flake8)
+  * improve install docs
+  * new requests namespace
+
+---
+Sat Jun 10 08:40:50 UTC 2017 - dmuel...@suse.com
+
+- update to 2.16.5:
+  * unvendored bundled libraries
+  * for more changes, see https://pypi.python.org/pypi/requests
+
+- drop no-default-cacert.patch: this is now in python-certifi
+- drop requests-do-not-use-bundle.patch: obsolete
+
+---

Old:

  PACKAGING_NOTES
  no-default-cacert.patch
  requests-do-not-use-bundle.patch
  set_urllib3_version.sh
  v2.13.0.tar.gz

New:

  requests-2.18.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.YOqEim/_old  2017-07-04 11:57:52.493754930 +0200
+++ /var/tmp/diff_new_pack.YOqEim/_new  2017-07-04 11:57:52.501753804 +0200
@@ -16,34 +16,27 @@
 #
 
 
-%define urllib3_version 1.20
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests
-Version:2.13.0
+Version:2.18.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-#Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
-Source: 
https://github.com/kennethreitz/requests/archive/v%{version}.tar.gz
-Source100:  PACKAGING_NOTES
-Source101:  set_urllib3_version.sh
-# PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
-Patch0: no-default-cacert.patch
-# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries 
instead of bundled ones.
-Patch1: requests-do-not-use-bundle.patch
+Source: 

commit python-requests for openSUSE:Factory

2017-06-13 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-06-13 16:06:34

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Tue Jun 13 16:06:34 2017 rev:42 rq:501303 version:2.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-05-16 14:30:07.217870746 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-06-13 16:06:37.339217148 +0200
@@ -1,0 +2,5 @@
+Fri May  5 22:43:27 UTC 2017 - jeng...@inai.de
+
+- Ensure neutrality of description.
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.W7bG6Y/_old  2017-06-13 16:06:38.067114566 +0200
+++ /var/tmp/diff_new_pack.W7bG6Y/_new  2017-06-13 16:06:38.071114002 +0200
@@ -64,27 +64,22 @@
 %python_subpackages
 
 %description
-Requests is an ISC Licensed HTTP library, written in Python, for
-human beings.
+Requests is an HTTP library, written in Python, as an alternative
+to Python's builtin urllib2 which requires a work (even
+method overrides) to perform basic tasks.
 
-Most existing Python modules for sending HTTP requests are
-extremely verbose and cumbersome. Python's builtin urllib2 module
-provides most of the HTTP capabilities you should need, but the api
-is thoroughly broken. It requires an enormous amount of work (even
-method overrides) to perform the simplest of tasks.
-
-Features:
- - Extremely simple GET, HEAD, POST, PUT, DELETE Requests:
-   + Simple HTTP Header Request Attachment.
-   + Simple Data/Params Request Attachment.
-   + Simple Multipart File Uploads.
+Features of Requests:
+ - GET, HEAD, POST, PUT, DELETE Requests:
+   + HTTP Header Request Attachment.
+   + Data/Params Request Attachment.
+   + Multipart File Uploads.
+ CookieJar Support.
+ Redirection History.
+ Redirection Recursion Urllib Fix.
-   + Auto Decompression of GZipped Content.
+   + Automatic Decompression of GZipped Content.
+ Unicode URL Support.
- - Simple Authentication:
-   + Simple URL + HTTP Auth Registry.
+ - Authentication:
+   + URL + HTTP Auth Registry.
 
 %prep
 %setup -q -n requests-%{version}




commit python-requests for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-05-16 14:30:05

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Tue May 16 14:30:05 2017 rev:41 rq:494948 version:2.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-03-24 01:53:04.574757569 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-05-16 14:30:07.217870746 +0200
@@ -1,0 +2,18 @@
+Tue May  2 07:03:13 UTC 2017 - alarr...@suse.com
+
+- The following two entries should have been added to the previous
+  changelog entry.
+- Drop urllib3-ssl-default-context.patch
+- Add requests-do-not-use-bundle.patch
+
+---
+Tue Mar 14 14:37:56 UTC 2017 - jmate...@suse.com
+
+- update for multipython build
+- synchronize with python 3 version
+  * drop urllib3-ssl-default-context.patch
+  * add requests-do-not-use-bundle.patch
+- debundle urllib3 and chardet
+- enable test suite
+
+---
@@ -139,0 +158,2 @@
+- update urllib3 requirement to 1.19.1
+- add idna requirement, refresh unbundling patch

Old:

  requests-2.13.0.tar.gz
  urllib3-ssl-default-context.patch

New:

  PACKAGING_NOTES
  requests-do-not-use-bundle.patch
  set_urllib3_version.sh
  v2.13.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.nNrQcm/_old  2017-05-16 14:30:08.249725788 +0200
+++ /var/tmp/diff_new_pack.nNrQcm/_new  2017-05-16 14:30:08.253725227 +0200
@@ -16,9 +16,8 @@
 #
 
 
-%if 0%{?suse_version} < 1120
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%endif
+%define urllib3_version 1.20
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-requests
 Version:2.13.0
 Release:0
@@ -26,35 +25,43 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
+#Source: 
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
https://github.com/kennethreitz/requests/archive/v%{version}.tar.gz
+Source100:  PACKAGING_NOTES
+Source101:  set_urllib3_version.sh
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
-# PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths
-Patch1: urllib3-ssl-default-context.patch
+# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch -- Use system libraries 
instead of bundled ones.
+Patch1: requests-do-not-use-bundle.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module py}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module urllib3 >= %urllib3_version}
+BuildRequires:  ca-certificates
 BuildRequires:  python
-BuildRequires:  python-devel
-BuildRequires:  python-py
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
+# SECTION test requirements
+BuildRequires:  %{python_module PySocks >= 1.5.6}
+BuildRequires:  %{python_module chardet}
+BuildRequires:  %{python_module idna >= 2.2}
+BuildRequires:  %{python_module pytest-httpbin}
+BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest}
+# /SECTION
+Requires:   ca-certificates
 Requires:   python
 # for good measure, at least recommend an actual set of certificates
 Recommends: ca-certificates-mozilla
-Recommends: python-cryptography >= 1.3.4
-# requirements for pyopenssl fallback of bundled urllib3
-Recommends: python-ndg-httpsclient
 Recommends: python-pyOpenSSL >= 0.14
-Recommends: python-pyasn1
-%if 0%{?suse_version} <= 1200
-BuildRequires:  openssl-certs
-Requires:   openssl-certs
-%else
-BuildRequires:  ca-certificates
-Requires:   ca-certificates
-%endif
-%if 0%{?suse_version} >= 1120
+Recommends: python-cryptography >= 1.3.4
+Recommends: python-PySocks >= 1.5.6
+Requires:   python-chardet
+Requires:   python-idna >= 2.2
+Requires:   python-py
+Requires:   python-urllib3 >= %urllib3_version
 BuildArch:  noarch
-%else
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%endif
+
+%python_subpackages
 
 %description
 Requests is an ISC Licensed HTTP library, written in Python, for
@@ -82,23 +89,40 @@
 %prep
 

commit python-requests for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2017-03-24 01:53:03

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Fri Mar 24 01:53:03 2017 rev:40 rq:481403 version:2.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2017-01-09 11:50:41.325019370 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2017-03-24 01:53:04.574757569 +0100
@@ -1,0 +2,15 @@
+Mon Mar  6 15:09:56 UTC 2017 - jweberho...@weberhofer.at
+
+- fixed dependencies in spec
+
+- update to version 2.13.0
+  * Only load the idna library when we’ve determined we need it. 
+This will save some memory for users.
+  * Updated bundled urllib3 to 1.20.
+  * Updated bundled idna to 2.2.
+
+- update to version 2.12.5
+  * Fixed an issue with JSON encoding detection, specifically detecting 
+big-endian UTF-32 with BOM.
+
+---

Old:

  requests-2.12.4.tar.gz

New:

  requests-2.13.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.ZxVsId/_old  2017-03-24 01:53:05.238663577 +0100
+++ /var/tmp/diff_new_pack.ZxVsId/_new  2017-03-24 01:53:05.242663011 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.12.4
+Version:2.13.0
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
@@ -36,11 +36,13 @@
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
 Requires:   python
+# for good measure, at least recommend an actual set of certificates
+Recommends: ca-certificates-mozilla
+Recommends: python-cryptography >= 1.3.4
 # requirements for pyopenssl fallback of bundled urllib3
 Recommends: python-ndg-httpsclient
-Recommends: python-pyOpenSSL
+Recommends: python-pyOpenSSL >= 0.14
 Recommends: python-pyasn1
-Recommends: python-cryptography
 %if 0%{?suse_version} <= 1200
 BuildRequires:  openssl-certs
 Requires:   openssl-certs
@@ -48,8 +50,6 @@
 BuildRequires:  ca-certificates
 Requires:   ca-certificates
 %endif
-# for good measure, at least recommend an actual set of certificates
-Recommends: ca-certificates-mozilla
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %else

++ requests-2.12.4.tar.gz -> requests-2.13.0.tar.gz ++
 2508 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-09-05 21:18:24

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-07-16 22:13:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-09-05 21:18:27.0 +0200
@@ -1,0 +2,66 @@
+Thu Sep  1 07:53:20 UTC 2016 - tbecht...@suse.com
+
+update to version v2.11.1
+  * Update urllib3 to 1.16
+  * Close and then release the connection
+  * Added tests for should_bypass_proxies function
+  * Update documentation of Session.max_redirects
+  * Document bunch of return types
+  * Update HISTORY.rst
+  * Cleaning up comment on JSON encoding to be more strictly relevant.
+  * Oh yeah, we updated urllib3 too.
+  * Fixing test; it was accomplishing the right thing, but doing it in the 
wrong way.
+  * compensate for lack of taste
+  * Use xfail marker for a test expected to fail without Internet connection
+  * in python3.x not have StringIO
+  * Spelling fixes
+  * adding in slice_length fix and test for chunk_size=None (#3370)
+  * Support responses like `HTTP/1.1 404 Unicode chars` (#3385)
+  * Document header ordering. (#3295)
+  * Add section on SOCKS proxies.
+  * Update list of supported Python versions in todo.rst
+  * removing Content-Type and Transfer-Encoding headers on redirect
+  * check and test for headers containing return characters or leading 
whitespace
+  * Clarify Python versions supported by requests
+  * Allow graceful interruption of testserver.Server
+  * reverting 3362
+  * fixed date formatting
+  * Make BaseAdapter describe the mandatory adapter interface (#3216)
+  * Note how HTTPErrors are raised
+  * Removing charset from JSON content type; tightening requirements on 
.encode()
+  * Add 'all' proxy selection to select_proxy
+  * Fix TypeError when get json-encoded content of a response
+  * wildly inaccurate button results in deletion
+  * v2.11.1
+  * v2.11.0
+  * Prepare changelog for 2.11.1.
+  * Allow None value for chunk_size again (#3368)
+  * updating documentation to reflect decision of #3386
+  * added in type check for chunk_size
+  * Update a note on AppEngine
+  * Remove duplicate import warnings
+  * adding asserted_encoding check on None type encoding to match text() 
behavior (#3362)
+  * Encoding JSON requests to bytes for urllib3 to handle; ensuring same with 
testing.
+  * docs updates
+  * Changelog for 2.11
+  * Update README.rst
+  * Use iter instead of noop list comprehension
+  * Test security warnings (#3289)
+  * Combined tests to one tests for should_bypass_proxies method
+  * Update index.rst
+  * Replace tab with appropriate spaces.
+  * Support ALL_PROXY environment variable
+  * Add a bit about RequestsCookieJar to Cookies section
+  * making module docstrings and coding comments consistent
+  * docs: Add a note about SSL c_rehash
+  * updating docstring to match functionality
+  * fix grammer mistakes in Quickstart
+  * consider plain ip notation of an ip in no_proxy if not in cidr notation
+  * Defining header value type requirements and tests
+  * removing redundant test
+  * updating HISTORY
+  * adding in pep8 fixes
+  * building Response manually
+  * making class and function docstrings consistent
+
+---

Old:

  requests-2.10.0.tar.gz

New:

  requests-2.11.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.hNyEDe/_old  2016-09-05 21:18:28.0 +0200
+++ /var/tmp/diff_new_pack.hNyEDe/_new  2016-09-05 21:18:28.0 +0200
@@ -20,7 +20,7 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.10.0
+Version:2.11.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0

++ requests-2.10.0.tar.gz -> requests-2.11.1.tar.gz ++
 2776 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-07-16 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-07-16 22:13:36

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-07-07 15:12:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-07-16 22:13:39.0 +0200
@@ -1,0 +2,13 @@
+Wed May 18 08:04:41 UTC 2016 - dmuel...@suse.com
+
+- update to 2.10.1:
+  * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
+  * Updated bundled urllib3 to 1.15.1.
+  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
+as its underlying datastore.
+  * Don't use redirect_cache if allow_redirects=False
+  * When passed objects that throw exceptions from ``tell()``, send them via
+chunked transfer encoding instead of failing.
+  * Raise a ProxyError for proxy related connection issues.
+
+---

Old:

  requests-2.9.1.tar.gz

New:

  requests-2.10.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.qGJO87/_old  2016-07-16 22:13:40.0 +0200
+++ /var/tmp/diff_new_pack.qGJO87/_new  2016-07-16 22:13:40.0 +0200
@@ -20,13 +20,13 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.9.1
+Version:2.10.0
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths

++ requests-2.9.1.tar.gz -> requests-2.10.0.tar.gz ++
 4022 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-07-07 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-07-07 15:12:08

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-07-01 10:01:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-07-07 15:12:10.0 +0200
@@ -2,13 +1,0 @@
-Wed May 18 08:04:41 UTC 2016 - dmuel...@suse.com
-
-- update to 2.10.1:
-  * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
-  * Updated bundled urllib3 to 1.15.1.
-  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
-as its underlying datastore.
-  * Don't use redirect_cache if allow_redirects=False
-  * When passed objects that throw exceptions from ``tell()``, send them via
-chunked transfer encoding instead of failing.
-  * Raise a ProxyError for proxy related connection issues.
-


Old:

  requests-2.10.0.tar.gz

New:

  requests-2.9.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.W686qb/_old  2016-07-07 15:12:11.0 +0200
+++ /var/tmp/diff_new_pack.W686qb/_new  2016-07-07 15:12:11.0 +0200
@@ -20,13 +20,13 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.10.0
+Version:2.9.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths

++ requests-2.10.0.tar.gz -> requests-2.9.1.tar.gz ++
 4022 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-07-01 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-07-01 10:01:06

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-06-23 12:58:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-07-01 10:01:06.0 +0200
@@ -1,0 +2,13 @@
+Wed May 18 08:04:41 UTC 2016 - dmuel...@suse.com
+
+- update to 2.10.1:
+  * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
+  * Updated bundled urllib3 to 1.15.1.
+  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
+as its underlying datastore.
+  * Don't use redirect_cache if allow_redirects=False
+  * When passed objects that throw exceptions from ``tell()``, send them via
+chunked transfer encoding instead of failing.
+  * Raise a ProxyError for proxy related connection issues.
+
+---

Old:

  requests-2.9.1.tar.gz

New:

  requests-2.10.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.hpYYBr/_old  2016-07-01 10:01:07.0 +0200
+++ /var/tmp/diff_new_pack.hpYYBr/_new  2016-07-01 10:01:07.0 +0200
@@ -20,13 +20,13 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.9.1
+Version:2.10.0
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths

++ requests-2.9.1.tar.gz -> requests-2.10.0.tar.gz ++
 4022 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-06-23 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-06-23 12:58:53

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-06-07 23:49:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-06-23 12:58:54.0 +0200
@@ -2,13 +1,0 @@
-Wed May 18 08:04:41 UTC 2016 - dmuel...@suse.com
-
-- update to 2.10.1:
-  * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
-  * Updated bundled urllib3 to 1.15.1.
-  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
-as its underlying datastore.
-  * Don't use redirect_cache if allow_redirects=False
-  * When passed objects that throw exceptions from ``tell()``, send them via
-chunked transfer encoding instead of failing.
-  * Raise a ProxyError for proxy related connection issues.
-


Old:

  requests-2.10.0.tar.gz

New:

  requests-2.9.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.XnbBcH/_old  2016-06-23 12:58:55.0 +0200
+++ /var/tmp/diff_new_pack.XnbBcH/_new  2016-06-23 12:58:55.0 +0200
@@ -20,13 +20,13 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.10.0
+Version:2.9.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths

++ requests-2.10.0.tar.gz -> requests-2.9.1.tar.gz ++
 4022 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-06-07 23:49:49

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-03-17 16:48:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-06-07 23:49:50.0 +0200
@@ -1,0 +2,13 @@
+Wed May 18 08:04:41 UTC 2016 - dmuel...@suse.com
+
+- update to 2.10.1:
+  * SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
+  * Updated bundled urllib3 to 1.15.1.
+  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
+as its underlying datastore.
+  * Don't use redirect_cache if allow_redirects=False
+  * When passed objects that throw exceptions from ``tell()``, send them via
+chunked transfer encoding instead of failing.
+  * Raise a ProxyError for proxy related connection issues.
+
+---

Old:

  requests-2.9.1.tar.gz

New:

  requests-2.10.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.LknVBc/_old  2016-06-07 23:49:51.0 +0200
+++ /var/tmp/diff_new_pack.LknVBc/_new  2016-06-07 23:49:51.0 +0200
@@ -20,13 +20,13 @@
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %endif
 Name:   python-requests
-Version:2.9.1
+Version:2.10.0
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:http://python-requests.org/
-Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 # PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths

++ requests-2.9.1.tar.gz -> requests-2.10.0.tar.gz ++
 4022 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2016-03-20 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-03-17 16:35:27

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-02-26 00:42:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-03-17 16:48:38.0 +0100
@@ -1,0 +2,10 @@
+Tue Mar  1 17:44:11 UTC 2016 - jmate...@suse.com
+
+- update no-default-cacert.patch to simply pass empty CA path
+- urllib3-ssl-default-context.patch: patch bundled urllib3 to behave
+  correctly with regard to empty CA path passed
+- change urllib3 fallback requirements to Recommends
+- use ca-certificates in SLE as well
+- recommend ca-certificates-mozilla to have a basic certificate set
+
+---

New:

  urllib3-ssl-default-context.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.s6sbsu/_old  2016-03-17 16:48:39.0 +0100
+++ /var/tmp/diff_new_pack.s6sbsu/_new  2016-03-17 16:48:39.0 +0100
@@ -29,19 +29,26 @@
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
+# PATCH-FIX-UPSTREAM update urllib3 to do the proper passthrough to 
set_default_verify_paths
+Patch1: urllib3-ssl-default-context.patch
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
 Requires:   python
-# Really needed?
-#Requires:   python-ndg-httpsclient
-Requires:   python-pyOpenSSL
-Requires:   python-pyasn1
-%if 0%{?suse_version} >= 1120 && !(0%{?suse_version} == 1315 && 
!0%{?is_opensuse})
+# requirements for pyopenssl fallback of bundled urllib3
+Recommends: python-ndg-httpsclient
+Recommends: python-pyOpenSSL
+Recommends: python-pyasn1
+%if 0%{?suse_version} <= 1200
+BuildRequires:  openssl-certs
+Requires:   openssl-certs
+%else
 BuildRequires:  ca-certificates
 Requires:   ca-certificates
 %endif
+# for good measure, at least recommend an actual set of certificates
+Recommends: ca-certificates-mozilla
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
 %else
@@ -73,10 +80,11 @@
 
 %prep
 %setup -q -n requests-%{version}
-%if 0%{?suse_version} >= 1120 && !(0%{?suse_version} == 1315 && 
!0%{?is_opensuse})
 %patch0 -p1
+pushd requests/packages
+%patch1 -p1
+popd
 rm -f requests/cacert.pem
-%endif
 
 %build
 python setup.py build

++ no-default-cacert.patch ++
--- /var/tmp/diff_new_pack.s6sbsu/_old  2016-03-17 16:48:39.0 +0100
+++ /var/tmp/diff_new_pack.s6sbsu/_new  2016-03-17 16:48:39.0 +0100
@@ -1,22 +1,39 @@
 a/MANIFEST.in
-+++ b/MANIFEST.in
+Index: requests-2.9.1/MANIFEST.in
+===
+--- requests-2.9.1.orig/MANIFEST.in
 requests-2.9.1/MANIFEST.in
 @@ -1 +1 @@
 -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt requests/cacert.pem
 +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt
 a/requests/adapters.py
-+++ b/requests/adapters.py
-@@ -182,9 +182,6 @@ class HTTPAdapter(BaseAdapter):
- if not cert_loc:
- cert_loc = DEFAULT_CA_BUNDLE_PATH
+Index: requests-2.9.1/requests/adapters.py
+===
+--- requests-2.9.1.orig/requests/adapters.py
 requests-2.9.1/requests/adapters.py
+@@ -179,15 +179,13 @@ class HTTPAdapter(BaseAdapter):
+ if verify is not True:
+ cert_loc = verify
  
 -if not cert_loc:
+-cert_loc = DEFAULT_CA_BUNDLE_PATH
+-
+-if not cert_loc:
 -raise Exception("Could not find a suitable SSL CA certificate 
bundle.")
 -
  conn.cert_reqs = 'CERT_REQUIRED'
  
- if not os.path.isdir(cert_loc):
 a/requests/certs.py
-+++ b/requests/certs.py
+-if not os.path.isdir(cert_loc):
++if cert_loc is None:
++# use default context
++conn.ca_certs = None
++conn.ca_cert_dir = None
++elif not os.path.isdir(cert_loc):
+ conn.ca_certs = cert_loc
+ else:
+ conn.ca_cert_dir = cert_loc
+Index: requests-2.9.1/requests/certs.py

commit python-requests for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-02-25 22:08:19

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2016-01-01 19:50:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-02-26 00:42:41.0 +0100
@@ -1,0 +2,40 @@
+Wed Feb 17 14:47:12 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to 2.9.1 (changes since 2.8.1):
+  * The verify keyword argument now supports being passed a path to
+a directory of CA certificates, not just a single-file bundle.
+  * Warnings are now emitted when sending files opened in text mode.
+  * Added the 511 Network Authentication Required status code to the
+status code registry.
+  * For file-like objects that are not seeked to the very beginning,
+we now send the content length for the number of bytes we will
+actually read, rather than the total size of the file, allowing
+partial file uploads.
+  * When uploading file-like objects, if they are empty or have no
+obvious content length we set Transfer-Encoding: chunked rather
+than Content-Length: 0.
+  * We correctly receive the response in buffered mode when
+uploading chunked bodies.
+  * We now handle being passed a query string as a bytestring on
+Python 3, by decoding it as UTF-8.
+  * Sessions are now closed in all cases (exceptional and not) when
+using the functional API rather than leaking and waiting for
+the garbage collector to clean them up.
+  * Correctly handle digest auth headers with a malformed qop
+directive that contains no token, by treating it the same as if
+no qop directive was provided at all.
+  * Minor performance improvements when removing specific cookies
+by name.
+  * Fix errors when calculating cookie expiration dates in certain
+locales.
+  * Update bundled urllib3 to 1.13.1.
+- Rebase no-default-cacert.patch.
+- Modify no-default-cacert.patch: output /etc/ssl/ca-bundle.pem
+  instead of neither NULL nor /etc/ssl/certs/ as a path to cacerts
+  bundle (boo#967128).
+- Don't apply no-default-cacert.patch on SLE.
+- Require ca-certificates package (but not on SLE).
+- Tests are being improperly started and actual ones require
+  network connection, so fix and comment out.
+
+---

Old:

  requests-2.8.1.tar.gz

New:

  requests-2.9.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.Qyev6w/_old  2016-02-26 00:42:41.0 +0100
+++ /var/tmp/diff_new_pack.Qyev6w/_new  2016-02-26 00:42:41.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,30 +16,36 @@
 #
 
 
+%if 0%{?suse_version} < 1120
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
 Name:   python-requests
-Version:2.8.1
+Version:2.9.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:http://python-requests.org
+Url:http://python-requests.org/
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal 
CA bundle
+# PATCH-FIX-OPENSUSE no-default-cacert.patch -- Completely ignore the internal 
CA bundle.
 Patch0: no-default-cacert.patch
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
 Requires:   python
-# really needed?
+# Really needed?
 #Requires:   python-ndg-httpsclient
 Requires:   python-pyOpenSSL
 Requires:   python-pyasn1
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%else
+%if 0%{?suse_version} >= 1120 && !(0%{?suse_version} == 1315 && 
!0%{?is_opensuse})
+BuildRequires:  ca-certificates
+Requires:   ca-certificates
+%endif
+%if 0%{?suse_version} >= 1120
 BuildArch:  noarch
+%else

commit python-requests for openSUSE:Factory

2016-01-01 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2016-01-01 19:48:20

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-10-26 12:48:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2016-01-01 19:50:21.0 +0100
@@ -1,0 +2,11 @@
+Thu Dec 17 13:45:59 UTC 2015 - rjsch...@suse.com
+
+- Modify no-default-cacert
+  + The call to set_default_verify_paths() is not necessary. The openSUSE
+and SLES Python has been patched to always use the system certs.
+Additionally this call breaks the use of python-requests on older systems,
+openSUSE_13.2 and original release of SLES 12 which fall back to
+the built in implementation of ssl which doe not implement
+this method
+
+---



Other differences:
--
++ no-default-cacert.patch ++
--- /var/tmp/diff_new_pack.G8lpQr/_old  2016-01-01 19:50:23.0 +0100
+++ /var/tmp/diff_new_pack.G8lpQr/_new  2016-01-01 19:50:23.0 +0100
@@ -29,14 +29,3 @@
  
  if __name__ == '__main__':
  print(where())
 a/requests/packages/urllib3/util/ssl_.py
-+++ b/requests/packages/urllib3/util/ssl_.py
-@@ -278,6 +278,8 @@ def ssl_wrap_socket(sock, keyfile=None,
- if e.errno == errno.ENOENT:
- raise SSLError(e)
- raise
-+elif cert_reqs != CERT_NONE:
-+context.set_default_verify_paths()
- 
- if certfile:
- context.load_cert_chain(certfile, keyfile)




commit python-requests for openSUSE:Factory

2015-10-26 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-10-26 12:48:44

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-10-20 00:05:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-10-26 12:48:49.0 +0100
@@ -1,0 +2,23 @@
+Wed Oct 21 21:08:29 UTC 2015 - dmuel...@suse.com
+
+- update to 2.8.1:
+  - Update certificate bundle to match ``certifi`` 2015.9.6.2's weak 
certificate
+bundle.
+  - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
+``ConnectionError``
+  - When using the PreparedRequest flow, requests will now correctly respect 
the
+``json`` parameter. Broken in 2.8.0.
+  - When using the PreparedRequest flow, requests will now correctly handle a
+Unicode-string method name on Python 2. Broken in 2.8.0.
+
+---
+Wed Oct 21 20:49:30 UTC 2015 - dmuel...@suse.com
+
+- remove requests-do-not-use-bundle.patch (bsc#947357)
+
+---
+Wed Oct 21 08:00:52 UTC 2015 - dmuel...@suse.com
+
+- fix requires
+
+---

Old:

  requests-2.8.0.tar.gz
  requests-do-not-use-bundle.patch

New:

  requests-2.8.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.5HGyDX/_old  2015-10-26 12:48:51.0 +0100
+++ /var/tmp/diff_new_pack.5HGyDX/_new  2015-10-26 12:48:51.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:2.8.0
+Version:2.8.1
 Release:0
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
@@ -26,16 +26,15 @@
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal 
CA bundle
 Patch0: no-default-cacert.patch
-# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch --use system libraries 
instead of bundled ones
-Patch1: requests-do-not-use-bundle.patch
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
 Requires:   python
-Requires:   python-chardet
-Requires:   python-py
-Requires:   python-urllib3
+# really needed?
+#Requires:   python-ndg-httpsclient
+Requires:   python-pyOpenSSL
+Requires:   python-pyasn1
 %if 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -71,7 +70,6 @@
 # For rpmlint warning: remove shebang from python library:
 sed -i '/^#!/d' ./requests/certs.py
 %patch0 -p1
-%patch1 -p1
 rm ./requests/cacert.pem
 
 %build
@@ -80,7 +78,6 @@
 %install
 python setup.py install \
   --root=%{buildroot} --prefix=%{_prefix}
-rm -rf %{buildroot}%{python_sitelib}/requests/packages/
 
 %check
 python setup.py test

++ requests-2.8.0.tar.gz -> requests-2.8.1.tar.gz ++
 2493 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-10-19 22:51:36

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-09-24 06:14:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-10-20 00:05:31.0 +0200
@@ -1,0 +2,52 @@
+Wed Oct 14 19:24:43 UTC 2015 - sor.ale...@meowr.ru
+
+- Add python3-chardet to build requirements for tests.
+- Remove no-default-cacert-sles.patch as no-default-cacert.patch
+  does basically the same.
+
+---
+Fri Oct  9 19:11:09 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 2.8.0:
+  * Requests now supports per-host proxies. This allows the proxies
+dictionary to have entries of the form {'://':
+''}. Host-specific proxies will be used in preference to
+the previously-supported scheme-specific ones, but the previous
+syntax will continue to work.
+  * Response.raise_for_status now prints the URL that failed as
+part of the exception message.
+  * requests.utils.get_netrc_auth now takes an raise_errors kwarg,
+defaulting to False. When True, errors parsing .netrc files
+cause exceptions to be thrown.
+  * Change to bundled projects import logic to make it easier to
+unbundle requests downstream.
+  * Change the default User-Agent string to avoid leaking data on
+Linux: now contains only the requests version.
+  * The json parameter to post() and friends will now only be used
+if neither data nor files are present, consistent with the
+documentation.
+  * We now ignore empty fields in the NO_PROXY enviroment variable.
+  * Fix problem where httplib.BadStatusLine would get raised if
+combining stream=True with contextlib.closing.
+  * Prevent bugs where we would attempt to return the same connection
+back to the connection pool twice when sending a Chunked body.
+  * Miscellaneous minor internal changes.
+  * Digest Auth support is now thread safe.
+- Apply no-default-cacert-sles.patch on SLE 12.
+- Apply Arun Persaud's changes to requests-do-not-use-bundle.patch
+  (update to 2.8.0).
+- Enable tests.
+- Small spec cleanup.
+
+---
+Tue Oct  6 17:48:20 UTC 2015 - aloi...@gmx.com
+
+- Fixed requests-do-not-use-bundle.patch 
+
+---
+Mon Oct  5 17:18:43 UTC 2015 - p.drou...@gmail.com
+
+- Unbundle python-chardet and python-urllib3 (boo#947357)
+  requests-do-not-use-bundle.patch 
+
+---

Old:

  no-default-cacert-sles.patch
  requests-2.7.0.tar.gz

New:

  requests-2.8.0.tar.gz
  requests-do-not-use-bundle.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.VdltZk/_old  2015-10-20 00:05:32.0 +0200
+++ /var/tmp/diff_new_pack.VdltZk/_new  2015-10-20 00:05:32.0 +0200
@@ -17,81 +17,78 @@
 
 
 Name:   python-requests
-Version:2.7.0
+Version:2.8.0
 Release:0
-Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:Apache-2.0
 Group:  Development/Languages/Python
-#TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify:
+Url:http://python-requests.org
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal 
CA bundle
 Patch0: no-default-cacert.patch
-# PATCH-FIX-OPENSUSE no-default-cacert-sles.patch -- completely ignore the 
internal CA bundle (SLES version)
-Patch1: no-default-cacert-sles.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# PATCH-FIX-OPENSUSE requests-do-not-use-bundle.patch --use system libraries 
instead of bundled ones
+Patch1: requests-do-not-use-bundle.patch
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
 Requires:   python
+Requires:   python-chardet
 Requires:   python-py
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+Requires:   python-urllib3
+%if 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %else
 BuildArch: 

commit python-requests for openSUSE:Factory

2015-09-23 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-09-24 06:14:12

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is "python-requests"

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-08-07 00:24:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-09-24 06:14:15.0 +0200
@@ -1,0 +2,7 @@
+Mon Sep 14 07:48:30 UTC 2015 - tbecht...@suse.com
+
+- Disable testsuite. Tests were never executed (bsc#945455) but
+  enabling the testsuite doesn't work because the suite needs
+  network access.
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.QpOXGB/_old  2015-09-24 06:14:15.0 +0200
+++ /var/tmp/diff_new_pack.QpOXGB/_new  2015-09-24 06:14:15.0 +0200
@@ -80,8 +80,11 @@
 %build
 python setup.py build
 
-%check
-python setup.py test
+# NOTE(toabctl): The test suite currently requires external network access, so
+# we can't enable it.
+# See # https://github.com/kennethreitz/requests/issues/2184
+##check
+##python setup.py test
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}




commit python-requests for openSUSE:Factory

2015-08-06 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-08-07 00:24:44

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-08-01 11:37:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-08-07 00:24:48.0 +0200
@@ -25 +25 @@
-- Update to 2.6.0:
+- Update to 2.6.0 (bsc#922448, CVE-2015-2296):
@@ -48 +48 @@
-- update to 2.5.2:
+- update to 2.5.2 (bsc#929736):



Other differences:
--



commit python-requests for openSUSE:Factory

2015-08-01 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-08-01 11:37:13

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-07-14 17:44:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-08-01 11:37:15.0 +0200
@@ -1,0 +2,16 @@
+Fri Jul 24 14:45:44 UTC 2015 - seife+...@b1-systems.com
+
+- fix version condition to allow RHEL/CentOS 7 builds
+
+---
+Fri Jul 24 08:52:50 UTC 2015 - hvo...@suse.com
+
+- Update to 2.7.0
+  - resolving several bugs involving chunked transfer
+encoding and response framing.
+  - Remove VendorAlias import
+  - Simplify the PreparedRequest.prepare API
+  - Handle UnicodeDecodeErrors
+  - Copy a PreparedRequest's CookieJar more reliably
+
+---

Old:

  requests-2.6.0.tar.gz

New:

  requests-2.7.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.MP7WK7/_old  2015-08-01 11:37:15.0 +0200
+++ /var/tmp/diff_new_pack.MP7WK7/_new  2015-08-01 11:37:15.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:2.6.0
+Version:2.7.0
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
@@ -70,7 +70,7 @@
 %setup -q -n requests-%{version}
 # For rpmlint warning: remove shebang from python library:
 sed -i '/^#!/d' ./requests/certs.py
-%if %suse_version  1110
+%if 0%{?suse_version}  1110 || 0%{?rhel}  6
 %patch0 -p1
 %else
 %patch1 -p1

++ requests-2.6.0.tar.gz - requests-2.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.6.0/HISTORY.rst 
new/requests-2.7.0/HISTORY.rst
--- old/requests-2.6.0/HISTORY.rst  2015-03-14 17:43:47.0 +0100
+++ new/requests-2.7.0/HISTORY.rst  2015-05-03 17:00:37.0 +0200
@@ -3,17 +3,58 @@
 Release History
 ---
 
+2.7.0 (2015-05-03)
+++
+
+This is the first release that follows our new release process. For more, see
+[our 
documentation](http://docs.python-requests.org/en/latest/community/release-process/).
+
+**Bugfixes**
+
+- Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer
+  encoding and response framing.
+
+2.6.2 (2015-04-23)
+++
+
+**Bugfixes**
+
+- Fix regression where compressed data that was sent as chunked data was not
+  properly decompressed. (#2561)
+
+2.6.1 (2015-04-22)
+++
+
+**Bugfixes**
+
+- Remove VendorAlias import machinery introduced in v2.5.2.
+
+- Simplify the PreparedRequest.prepare API: We no longer require the user to
+  pass an empty list to the hooks keyword argument. (c.f. #2552)
+
+- Resolve redirects now receives and forwards all of the original arguments to
+  the adapter. (#2503)
+
+- Handle UnicodeDecodeErrors when trying to deal with a unicode URL that
+  cannot be encoded in ASCII. (#2540)
+
+- Populate the parsed path of the URI field when performing Digest
+  Authentication. (#2426)
+
+- Copy a PreparedRequest's CookieJar more reliably when it is not an instance
+  of RequestsCookieJar. (#2527)
+
 2.6.0 (2015-03-14)
 ++
 
 **Bugfixes**
 
-- Fix handling of cookies on redirect. Previously a cookie without a host
-  value set would use the hostname for the redirected URL exposing requests
-  users to session fixation attacks and potentially cookie stealing. This was
-  disclosed privately by Matthew Daley of `BugFuzz https://bugfuzz.com`_.
-  An CVE identifier has not yet been assigned for this. This affects all
-  versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
+- CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie
+  without a host value set would use the hostname for the redirected URL
+  exposing requests users to session fixation attacks and potentially cookie
+  stealing. This was disclosed privately by Matthew Daley of
+  `BugFuzz https://bugfuzz.com`_. This affects all versions of requests from
+  v2.1.0 to v2.5.3 (inclusive on both ends).
 
 - Fix error when requests is an ``install_requires`` dependency and ``python
   setup.py test`` is run. (#2462)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requests-2.6.0/PKG-INFO new/requests-2.7.0/PKG-INFO
--- old/requests-2.6.0/PKG-INFO 2015-03-14 

commit python-requests for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-07-14 17:43:46

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-04-21 10:53:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-07-14 17:44:57.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 30 08:39:24 UTC 2015 - lnus...@suse.de
+
+- update no-default-cacert.patch to not hardcode a ca cert location
+
+---



Other differences:
--
++ no-default-cacert.patch ++
--- /var/tmp/diff_new_pack.a0BuaQ/_old  2015-07-14 17:44:58.0 +0200
+++ /var/tmp/diff_new_pack.a0BuaQ/_new  2015-07-14 17:44:58.0 +0200
@@ -1,6 +1,8 @@
 a/requests/adapters.py
-+++ b/requests/adapters.py
-@@ -132,9 +132,6 @@
+Index: requests-2.6.0/requests/adapters.py
+===
+--- requests-2.6.0.orig/requests/adapters.py
 requests-2.6.0/requests/adapters.py
+@@ -177,9 +177,6 @@ class HTTPAdapter(BaseAdapter):
  if not cert_loc:
  cert_loc = DEFAULT_CA_BUNDLE_PATH
  
@@ -10,20 +12,40 @@
  conn.cert_reqs = 'CERT_REQUIRED'
  conn.ca_certs = cert_loc
  else:
 a/requests/certs.py
-+++ b/requests/certs.py
-@@ -19,7 +19,7 @@
+Index: requests-2.6.0/requests/certs.py
+===
+--- requests-2.6.0.orig/requests/certs.py
 requests-2.6.0/requests/certs.py
+@@ -18,8 +18,9 @@ try:
+ except ImportError:
  def where():
  Return the preferred certificate bundle.
- # vendored bundle inside Requests
+-# vendored bundle inside Requests
 -return os.path.join(os.path.dirname(__file__), 'cacert.pem')
-+return '/etc/ssl/certs/'
++# in openSUSE we rely on openssl's default instead of
++# hardcoding stuff elsewhere
++return None
  
  if __name__ == '__main__':
  print(where())
 a/MANIFEST.in
-+++ b/MANIFEST.in
+Index: requests-2.6.0/MANIFEST.in
+===
+--- requests-2.6.0.orig/MANIFEST.in
 requests-2.6.0/MANIFEST.in
 @@ -1 +1 @@
 -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt requests/cacert.pem
 +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt
- 
+Index: requests-2.6.0/requests/packages/urllib3/util/ssl_.py
+===
+--- requests-2.6.0.orig/requests/packages/urllib3/util/ssl_.py
 requests-2.6.0/requests/packages/urllib3/util/ssl_.py
+@@ -259,6 +259,9 @@ def ssl_wrap_socket(sock, keyfile=None,
+ if e.errno == errno.ENOENT:
+ raise SSLError(e)
+ raise
++elif cert_reqs != CERT_NONE:
++context.set_default_verify_paths()
++
+ if certfile:
+ context.load_cert_chain(certfile, keyfile)
+ if HAS_SNI:  # Platform-specific: OpenSSL with enabled SNI




commit python-requests for openSUSE:Factory

2015-04-21 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-04-21 10:53:57

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2015-02-25 02:18:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-04-21 10:53:58.0 +0200
@@ -1,0 +2,23 @@
+Mon Apr 20 12:25:21 UTC 2015 - mci...@suse.cz
+
+- Update to 2.6.0:
+  - Fix handling of cookies on redirect. Previously a cookie without a host
+value set would use the hostname for the redirected URL exposing requests
+users to session fixation attacks and potentially cookie stealing. This was
+disclosed privately by Matthew Daley of `BugFuzz https://bugfuzz.com`_.
+An CVE identifier has not yet been assigned for this. This affects all
+versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
+  - Fix error when requests is an ``install_requires`` dependency and ``python
+setup.py test`` is run. (#2462)
+  - Fix error when urllib3 is unbundled and requests continues to use the
+vendored import location.
+  - Include fixes to ``urllib3``'s header handling.
+  - Requests' handling of unvendored dependencies is now more restrictive.
+  - Support bytearrays when passed as parameters in the ``files`` argument.
+(#2468)
+  - Avoid data duplication when creating a request with ``str``, ``bytes``, or
+``bytearray`` input to the ``files`` argument.
+  - Revert changes to our vendored certificate bundle. For more context see
+(#2455, #2456, and http://bugs.python.org/issue23476)
+
+---

Old:

  requests-2.5.2.tar.gz

New:

  requests-2.6.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.whOA5X/_old  2015-04-21 10:53:58.0 +0200
+++ /var/tmp/diff_new_pack.whOA5X/_new  2015-04-21 10:53:58.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:2.5.2
+Version:2.6.0
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ requests-2.5.2.tar.gz - requests-2.6.0.tar.gz ++
 1890 lines of diff (skipped)




commit python-requests for openSUSE:Factory

2015-02-24 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2015-02-25 02:18:12

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2014-12-03 22:48:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2015-02-25 02:18:36.0 +0100
@@ -1,0 +2,119 @@
+Tue Feb 24 13:04:17 UTC 2015 - tbecht...@suse.com
+
+- update to 2.5.2:
+  * Update HISTORY and version for v2.5.2
+  * Update urllib3 to 29aa09bde9c42cc9a8d79aac47ee3d362b438cca
+  * document combination of repeated response headers
+  * Update README to use Shields badges
+  * Upgrade urllib3 to 490d3a227fadb626cd54a240b9d0922f849914b4
+  * Update certificate bundle.
+  * Update to use readthedocs.org instead of rtfd.org
+  * add a timeout value to connection_error_invalid_port test to accelerate
+failure
+  * split test_connection_error into two distinct tests, and changed
+unknown url test URL since fooobarbangbazbing.httpbin.org currently gives
+a valid response.
+  * quickstart: using a list as a value in query params
+  * HISTORY: replace n-dash to workaround pip bug
+  * Check that a filename is a basestring instance
+  * Move noncebit to the only place it is used
+  * Remove entirely unnecessary and unused bits from requests.compat
+  * Attempt to quote anyway if unquoting fails
+  * Update urllib3 to a27758625e4169330fcf965652b1093faf52
+  * drawn towards it rather than pushed away
+  * certifi
+  * simpler button
+  * cleanups
+  * Requests Pro
+  * javascripts
+  * Changing year in all copyright information
+  * Enhance documentation for clarity.
+  * Clean up cookie docs and display them.
+  * Bump version to 2.5.1
+  * Add release notes for 2.5.1
+  * Fix bug in renegotiating a nonce with the server
+  * Fix error handling on Python 3
+  * catch exception more specifically in Response.ok
+  * Uncommented test in test_requests.py
+  * Fix a typo in a comment
+  * Give proper attribution to pip
+  * utils.guess_filename fails if the given parameter looks like a file object
+but has a non-string name attribute
+  * Copy pip's import machinery wholesale
+  * Updated the broken link to twitter streaming API documentation
+  * Enable GitHub syntax highlighting on README
+  * Bump version to 2.5.0
+  * Add updates for 2.5.0
+  * Update tests to work offline
+  * updatee chardet, urllib3
+  * url was already parsed, don't urlparse twice
+  * Properly serialize RecentlyUsedContainers for cache
+  * Changed ConnectionError to InvalidURL
+  * Docs: Add more section labels for referencing
+  * Partially addresses Issue #1572
+  * Update HTTPAdapter docstring
+  * Add last few changes and add a quick test
+  * Update urllib3 to df4ec5cce1
+  * Update how we handle retries to be consistent with documentation
+  * Fix HTTPDigestAuth not to treat non-file as a file
+  * Fixed.
+  * Added test for overriding Content-Length.
+  * Close sessions created in the functional API
+  * Pass strict to urllib3.
+  * Use to_native_string instead of builtin_str
+  * Update documentation about max_retries to reflect code
+  * Cap the redirect_cache size to prevent memory abuse
+  * Add DeprecationWarnings to inform users of plans
+  * Note about read timeout errors and max_retries
+  * fix failing test test_prepare_unicode_url \(take 3\)
+  * Revert fix failing test test_prepare_unicode_url
+  * fix failing test test_prepare_unicode_url
+  * Revert fix failing test test_prepare_unicode_url
+  * update AUTHORS
+  * fix failing test test_prepare_unicode_url
+  * Changing parameter name `newline` == `delimiter`.
+  * Clean up handle_redirect.
+  * Adding a custom line delimiter to iter_lines()
+  * Fix #2279. Update layout css
+  * Fix #2288. Change urllib3 and chardet workflow
+  * Update sidebarintro.html
+  * Made more better
+  * Add Release History to the sidebar
+  * Fixed #2250
+  * Update utils.py
+  * Clean up, support all redirects, fix potential endless 401 loop.
+  * v2.4.3
+  * Re-order params for backwards compat
+  * allow unicode URLs on Python 2
+  * requests v2.4.2
+  * fix documentation for utils.get_unicode_from_response() :)
+  * v2.4.2 changelog
+  * Remove timeout from __attrs__
+  * Fix a couple of issues I noticed
+  * Support bytestring URLs on Python 3.x
+  * A fix for #1979 repeat HTTP digest authentication after redirect.
+  * remove unused import
+  * fix #2247
+  * docs: Clarify how to pass a custom set of CAs
+  * Correct redirection introduction
+  * Avoid getting stuck in a loop
+  * make StreamConsumedError doubly inherit
+  * using the `StreamConsumedError`
+  * add-in StreamConsumedError

commit python-requests for openSUSE:Factory

2014-12-03 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2014-12-03 22:48:20

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2014-09-12 10:04:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2014-12-03 22:48:59.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec  1 12:05:19 UTC 2014 - dmuel...@suse.com
+
+- fix license (Apache-2.0 only) 
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.BoS6MO/_old  2014-12-03 22:49:00.0 +0100
+++ /var/tmp/diff_new_pack.BoS6MO/_new  2014-12-03 22:49:00.0 +0100
@@ -21,7 +21,7 @@
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
-License:Apache-2.0 and LGPL-2.1+ and MIT
+License:Apache-2.0
 Group:  Development/Languages/Python
 #TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify:
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
@@ -34,8 +34,8 @@
 BuildRequires:  python-devel
 BuildRequires:  python-py
 BuildRequires:  python-setuptools
-Requires:   python-py
 Requires:   python
+Requires:   python-py
 %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())}
 %else

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2014-09-12 10:03:33

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2014-06-16 21:32:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2014-09-12 10:04:00.0 +0200
@@ -1,0 +2,23 @@
+Thu Sep 11 12:34:42 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 2.4.1 (2014-09-09)
+  - Now has a security package extras set, 
+``$ pip install requests[security]``
+  - Requests will now use Certifi if it is available.
+  - Capture and re-raise urllib3 ProtocolError
+  - Bugfix for responses that attempt to redirect to themselves 
+forever (wtf?).
+- Update to 2.4.0 (2014-08-29)
+  * Behavioral Changes
+- ``Connection: keep-alive`` header is now sent automatically.
+  * Improvements
+- Support for connect timeouts! Timeout now accepts a tuple 
+  (connect, read) which is used to set individual connect and 
+  read timeouts.
+- Allow copying of PreparedRequests without headers/cookies.
+- Updated bundled urllib3 version.
+- Refactored settings loading from environment
+  new `Session.merge_environment_settings`.
+- Handle socket errors in iter_content.
+
+---

Old:

  requests-2.3.0.tar.gz

New:

  requests-2.4.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.AVrefy/_old  2014-09-12 10:04:02.0 +0200
+++ /var/tmp/diff_new_pack.AVrefy/_new  2014-09-12 10:04:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:2.3.0
+Version:2.4.1
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
@@ -32,7 +32,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
 BuildRequires:  python-devel
+BuildRequires:  python-py
 BuildRequires:  python-setuptools
+Requires:   python-py
 Requires:   python
 %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())}

++ no-default-cacert-sles.patch ++
--- /var/tmp/diff_new_pack.AVrefy/_old  2014-09-12 10:04:02.0 +0200
+++ /var/tmp/diff_new_pack.AVrefy/_new  2014-09-12 10:04:02.0 +0200
@@ -23,12 +23,12 @@
 ===
 --- requests-1.1.0.orig/requests/certs.py
 +++ requests-1.1.0/requests/certs.py
-@@ -18,7 +18,7 @@ def where():
- def where():
- Return the preferred certificate bundle.
- # vendored bundle inside Requests
--return os.path.join(os.path.dirname(__file__), 'cacert.pem')
-+return None
+@@ -19,7 +19,7 @@
+ def where():
+ Return the preferred certificate bundle.
+ # vendored bundle inside Requests
+-return os.path.join(os.path.dirname(__file__), 'cacert.pem')
++return None
  
  if __name__ == '__main__':
  print(where())

++ no-default-cacert.patch ++
--- /var/tmp/diff_new_pack.AVrefy/_old  2014-09-12 10:04:02.0 +0200
+++ /var/tmp/diff_new_pack.AVrefy/_new  2014-09-12 10:04:02.0 +0200
@@ -12,12 +12,12 @@
  else:
 --- a/requests/certs.py
 +++ b/requests/certs.py
-@@ -18,7 +18,7 @@
- def where():
- Return the preferred certificate bundle.
- # vendored bundle inside Requests
--return os.path.join(os.path.dirname(__file__), 'cacert.pem')
-+return '/etc/ssl/certs/'
+@@ -19,7 +19,7 @@
+ def where():
+ Return the preferred certificate bundle.
+ # vendored bundle inside Requests
+-return os.path.join(os.path.dirname(__file__), 'cacert.pem')
++return '/etc/ssl/certs/'
  
  if __name__ == '__main__':
  print(where())
@@ -26,3 +26,4 @@
 @@ -1 +1 @@
 -include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt requests/cacert.pem
 +include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt
+ 

++ requests-2.3.0.tar.gz - requests-2.4.1.tar.gz ++
 3858 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2014-06-16 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2014-06-16 21:32:34

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-12-10 09:34:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2014-06-16 21:32:36.0 +0200
@@ -1,0 +2,66 @@
+Sat Jun 14 10:56:52 UTC 2014 - tchva...@suse.com
+
+- Update tarball to the one upstream is publishing.
+
+---
+Thu Jun  5 19:40:21 UTC 2014 - rschweik...@suse.com
+
+- Update to version 2.3.0
+  + New ``Response`` property ``is_redirect``, which is true when the
+library could have processed this response as a redirection (whether
+or not it actually did).
+  + The ``timeout`` parameter now affects requests with both ``stream=True``
+and ``stream=False`` equally.
+  + The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
+Proxy schemes now default to ``http://``.
+  + The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
+dictionary when references as string or viewd in the interpreter.
+  + No longer expose Authorization or Proxy-Authorization headers on redirect.
+Fix CVE-2014-1829 and CVE-2014-1830 respectively.
+  + Authorization is re-evaluated each redirect.
+  + On redirect, pass url as native strings.
+  + Fall-back to autodetected encoding for JSON when Unicode detection fails.
+  + Headers set to ``None`` on the ``Session`` are now correctly not sent.
+  + Correctly honor ``decode_unicode`` even if it wasn't used earlier in the
+same response.
+  + Stop advertising ``compress`` as a supported Content-Encoding.
+  + The ``Response.history`` parameter is now always a list.
+  + Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy
+credentials that contain a literal or encoded '#' character.
+  + Assorted urllib3 fixes.
+  + New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
+``DecodeError`` exceptions.
+  + Avoid many many exceptions from the buggy implementation of
+``proxy_bypass`` on OS X in Python 2.6.
+  + Avoid crashing when attempting to get authentication credentials
+from ~/.netrc when running as a user without a home directory.
+  + Use the correct pool size for pools of connections to proxies.
+  + Fix iteration of ``CookieJar`` objects.
+  + Ensure that cookies are persisted over redirect.
+  + Switch back to using chardet, since it has merged with charade.
+  + Cookies set on individual Requests through a ``Session``
+(e.g. via ``Session.get()``) are no longer persisted to the ``Session``.
+  + Clean up connections when we hit problems during chunked upload,
+rather than leaking them.
+  + Return connections to the pool when a chunked upload is successful,
+rather than leaking it.
+  + Match the HTTPbis recommendation for HTTP 301 redirects.
+  + Prevent hanging when using streaming uploads and Digest Auth when a
+401 is received.
+  + Values of headers set by Requests are now always the native string type.
+  + Fix previously broken SNI support.
+  + Fix accessing HTTP proxies using proxy authentication.
+  + Unencode HTTP Basic usernames and passwords extracted from URLs.
+  + Support for IP address ranges for no_proxy environment variable
+  + Parse headers correctly when users override the default ``Host:`` header.
+  + Avoid munging the URL in case of case-sensitive servers.
+  + Looser URL handling for non-HTTP/HTTPS urls.
+  + Accept unicode methods in Python 2.6 and 2.7.
+  + More resilient cookie handling.
+  + Make ``Response`` objects pickleable.
+  + Actually added MD5-sess to Digest Auth instead of pretending to like
+last time.
+  + Updated internal urllib3.
+  + Fixed @Lukasa's lack of taste.
+
+---

Old:

  requests-2.0.1.tar.gz

New:

  requests-2.3.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.1XLGZv/_old  2014-06-16 21:32:37.0 +0200
+++ /var/tmp/diff_new_pack.1XLGZv/_new  2014-06-16 21:32:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 

commit python-requests for openSUSE:Factory

2013-12-10 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-12-10 09:34:52

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-11-08 08:39:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-12-10 09:34:53.0 +0100
@@ -1,0 +2,8 @@
+Mon Dec  9 15:27:58 UTC 2013 - vu...@suse.com
+
+- Add no-default-cacert-sles.patch: use this patch when building
+  for SLES, since python in SLES and openSUSE behave differently
+  when it comes to SSL, and no-default-cacert.patch is wrong for
+  SLES.
+
+---

New:

  no-default-cacert-sles.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.4g6EOv/_old  2013-12-10 09:34:53.0 +0100
+++ /var/tmp/diff_new_pack.4g6EOv/_new  2013-12-10 09:34:53.0 +0100
@@ -27,6 +27,8 @@
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal 
CA bundle
 Patch0: no-default-cacert.patch
+# PATCH-FIX-OPENSUSE no-default-cacert-sles.patch -- completely ignore the 
internal CA bundle (SLES version)
+Patch1: no-default-cacert-sles.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
 BuildRequires:  python-devel
@@ -66,7 +68,11 @@
 %setup -q -n requests-%{version}
 # For rpmlint warning: remove shebang from python library:
 sed -i '/^#!/d' ./requests/certs.py
+%if %suse_version  1110
 %patch0 -p1
+%else
+%patch1 -p1
+%endif
 rm ./requests/cacert.pem
 
 %build

++ no-default-cacert-sles.patch ++
Index: requests-1.1.0/MANIFEST.in
===
--- requests-1.1.0.orig/MANIFEST.in
+++ requests-1.1.0/MANIFEST.in
@@ -1 +1 @@
-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt requests/cacert.pem
+include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt
Index: requests-1.1.0/requests/adapters.py
===
--- requests-1.1.0.orig/requests/adapters.py
+++ requests-1.1.0/requests/adapters.py
@@ -132,9 +132,6 @@ class HTTPAdapter(BaseAdapter):
 if not cert_loc:
 cert_loc = DEFAULT_CA_BUNDLE_PATH
 
-if not cert_loc:
-raise Exception(Could not find a suitable SSL CA certificate 
bundle.)
-
 conn.cert_reqs = 'CERT_REQUIRED'
 conn.ca_certs = cert_loc
 else:
Index: requests-1.1.0/requests/certs.py
===
--- requests-1.1.0.orig/requests/certs.py
+++ requests-1.1.0/requests/certs.py
@@ -18,7 +18,7 @@ def where():
 def where():
 Return the preferred certificate bundle.
 # vendored bundle inside Requests
-return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+return None
 
 if __name__ == '__main__':
 print(where())
Index: requests-1.1.0/requests.egg-info/SOURCES.txt
===
--- requests-1.1.0.orig/requests.egg-info/SOURCES.txt
+++ requests-1.1.0/requests.egg-info/SOURCES.txt
@@ -10,7 +10,6 @@ requests/__init__.py
 requests/adapters.py
 requests/api.py
 requests/auth.py
-requests/cacert.pem
 requests/certs.py
 requests/compat.py
 requests/cookies.py
@@ -82,4 +81,4 @@ requests/packages/urllib3/util.py
 requests/packages/urllib3/packages/__init__.py
 requests/packages/urllib3/packages/ordered_dict.py
 requests/packages/urllib3/packages/six.py
-requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
\ No newline at end of file
+requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-11-08 08:39:07

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-10-25 11:31:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-11-08 08:39:08.0 +0100
@@ -1,0 +2,45 @@
+Thu Nov  7 10:07:58 UTC 2013 - mci...@suse.cz
+
+- update to 2.0.1
+- changes in 2.0.1:
+ - Updated included CA Bundle with new mistrusts and automated process for the 
future
+ - Added MD5-sess to Digest Auth
+ - Accept per-file headers in multipart file POST messages.
+ - Fixed: Don't send the full URL on CONNECT messages.
+ - Fixed: Correctly lowercase a redirect scheme.
+ - Fixed: Cookies not persisted when set via functional API.
+ - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from 
ConnectionError.
+ - Updated internal urllib3 and chardet.
+- changes in 2.0.0:
+ - Keys in the Headers dictionary are now native strings on all Python 
versions,
+   i.e. bytestrings on Python 2, unicode on Python 3.
+ - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
+   will be raised if they don't.
+ - Timeouts now apply to read time if ``Stream=False``.
+ - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
+ - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
+ - Added new method to ``Session`` objects: ``Session.update_request()``. This
+   method updates a ``Request`` object with the data (e.g. cookies) stored on
+   the ``Session``.
+ - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
+   method updates and prepares a ``Request`` object, and returns the
+   corresponding ``PreparedRequest`` object.
+ - Added new method to ``HTTPAdapter`` objects: 
``HTTPAdapter.proxy_headers()``.
+   This should not be called directly, but improves the subclass interface.
+ - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
+   will now raise a Requests ``ChunkedEncodingError`` instead.
+ - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
+   exception to be raised.
+ - HTTP 208 no longer uses reason phrase ``im_used``. Correctly uses
+   ``already_reported``.
+ - HTTP 226 reason added (``im_used``).
+ - Vastly improved proxy support, including the CONNECT verb. Special thanks to
+   the many contributors who worked towards this improvement.
+ - Cookies are now properly managed when 401 authentication responses are
+   received.
+ - Chunked encoding fixes.
+ - Support for mixed case schemes.
+ - Better handling of streaming downloads.
+ - Retrieve environment proxies from more locations.
+
+---

Old:

  requests-1.2.3.tar.gz

New:

  requests-2.0.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.bA2q0O/_old  2013-11-08 08:39:09.0 +0100
+++ /var/tmp/diff_new_pack.bA2q0O/_new  2013-11-08 08:39:09.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:1.2.3
+Version:2.0.1
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ no-default-cacert.patch ++
--- /var/tmp/diff_new_pack.bA2q0O/_old  2013-11-08 08:39:09.0 +0100
+++ /var/tmp/diff_new_pack.bA2q0O/_new  2013-11-08 08:39:09.0 +0100
@@ -1,8 +1,6 @@
-Index: requests-1.2.3/requests/adapters.py
-===
 requests-1.2.3.orig/requests/adapters.py
-+++ requests-1.2.3/requests/adapters.py
-@@ -129,9 +129,6 @@ class HTTPAdapter(BaseAdapter):
+--- a/requests/adapters.py
 b/requests/adapters.py
+@@ -132,9 +132,6 @@
  if not cert_loc:
  cert_loc = DEFAULT_CA_BUNDLE_PATH
  
@@ -12,11 +10,9 @@
  conn.cert_reqs = 'CERT_REQUIRED'
  conn.ca_certs = cert_loc
  else:
-Index: requests-1.2.3/requests/certs.py
-===
 requests-1.2.3.orig/requests/certs.py
-+++ requests-1.2.3/requests/certs.py
-@@ -18,7 +18,7 @@ import os.path
+--- a/requests/certs.py
 b/requests/certs.py
+@@ -18,7 +18,7 @@
  def where():
  Return the preferred certificate bundle.
  # vendored bundle inside Requests
@@ -25,18 +21,14 @@
  
  if __name__ == '__main__':
  print(where())
-Index: requests-1.2.3/MANIFEST.in

commit python-requests for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-10-25 11:31:02

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-07-25 20:31:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-10-25 11:31:03.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:13:26 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.8mwJc2/_old  2013-10-25 11:31:05.0 +0200
+++ /var/tmp/diff_new_pack.8mwJc2/_new  2013-10-25 11:31:05.0 +0200
@@ -30,7 +30,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 Requires:   python
 %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())}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-07-25 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-07-25 20:31:16

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-06-05 13:36:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-07-25 20:31:18.0 +0200
@@ -1,0 +2,10 @@
+Thu Jul 25 11:40:02 UTC 2013 - vu...@suse.com
+
+- Add no-default-cacert.patch: completely ignore the internal CA
+  bundle and point to /etc/ssl/certs/. This works because we
+  patched python to do the right thing when a directory is used
+  there instead of a file.
+- Manually remove requests/cacert.pem (better than doing that in
+  the patch, since it's big) too.
+
+---

New:

  no-default-cacert.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.nzaXR2/_old  2013-07-25 20:31:18.0 +0200
+++ /var/tmp/diff_new_pack.nzaXR2/_new  2013-07-25 20:31:18.0 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 #TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify:
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE no-default-cacert.patch -- completely ignore the internal 
CA bundle
+Patch0: no-default-cacert.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
 BuildRequires:  python-devel
@@ -64,6 +66,8 @@
 %setup -q -n requests-%{version}
 # For rpmlint warning: remove shebang from python library:
 sed -i '/^#!/d' ./requests/certs.py
+%patch0 -p1
+rm ./requests/cacert.pem
 
 %build
 python setup.py build

++ no-default-cacert.patch ++
Index: requests-1.2.3/requests/adapters.py
===
--- requests-1.2.3.orig/requests/adapters.py
+++ requests-1.2.3/requests/adapters.py
@@ -129,9 +129,6 @@ class HTTPAdapter(BaseAdapter):
 if not cert_loc:
 cert_loc = DEFAULT_CA_BUNDLE_PATH
 
-if not cert_loc:
-raise Exception(Could not find a suitable SSL CA certificate 
bundle.)
-
 conn.cert_reqs = 'CERT_REQUIRED'
 conn.ca_certs = cert_loc
 else:
Index: requests-1.2.3/requests/certs.py
===
--- requests-1.2.3.orig/requests/certs.py
+++ requests-1.2.3/requests/certs.py
@@ -18,7 +18,7 @@ import os.path
 def where():
 Return the preferred certificate bundle.
 # vendored bundle inside Requests
-return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+return '/etc/ssl/certs/'
 
 if __name__ == '__main__':
 print(where())
Index: requests-1.2.3/MANIFEST.in
===
--- requests-1.2.3.orig/MANIFEST.in
+++ requests-1.2.3/MANIFEST.in
@@ -1 +1 @@
-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py 
requirements.txt requests/cacert.pem
+include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt
Index: requests-1.2.3/requests.egg-info/SOURCES.txt
===
--- requests-1.2.3.orig/requests.egg-info/SOURCES.txt
+++ requests-1.2.3/requests.egg-info/SOURCES.txt
@@ -10,7 +10,6 @@ requests/__init__.py
 requests/adapters.py
 requests/api.py
 requests/auth.py
-requests/cacert.pem
 requests/certs.py
 requests/compat.py
 requests/cookies.py
@@ -79,4 +78,4 @@ requests/packages/urllib3/contrib/pyopen
 requests/packages/urllib3/packages/__init__.py
 requests/packages/urllib3/packages/ordered_dict.py
 requests/packages/urllib3/packages/six.py
-requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
\ No newline at end of file
+requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-06-19 15:53:46

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:


Old:

  python3-requests.changes
  python3-requests.spec



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-06-05 13:35:59

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-05-16 11:27:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-06-05 13:36:00.0 +0200
@@ -1,0 +2,10 @@
+Mon May 27 10:36:36 UTC 2013 - dmuel...@suse.com
+
+- update to 1.2.3:
+ * Python 3.3.2 compatibility
+ * Always percent-encode location headers
+ * Fix connection adapter matching to be most-specific first
+ * new argument to the default connection adapter for passing a block argument
+ * prevent a KeyError when there's no link headers
+
+---

Old:

  requests-1.2.0.tar.gz

New:

  requests-1.2.3.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.FnuI8d/_old  2013-06-05 13:36:01.0 +0200
+++ /var/tmp/diff_new_pack.FnuI8d/_new  2013-06-05 13:36:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:1.2.0
+Version:1.2.3
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ python3-requests.spec ++
--- /var/tmp/diff_new_pack.FnuI8d/_old  2013-06-05 13:36:01.0 +0200
+++ /var/tmp/diff_new_pack.FnuI8d/_new  2013-06-05 13:36:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python3-requests
-Version:1.2.0
+Version:1.2.3
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ requests-1.2.0.tar.gz - requests-1.2.3.tar.gz ++
 2308 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-05-16 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-05-16 11:27:12

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2013-01-20 14:43:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-05-16 11:27:14.0 +0200
@@ -1,0 +2,26 @@
+Mon May 13 08:57:09 UTC 2013 - dmuel...@suse.com
+
+- update to 1.2.0: 
+ * Fixed cookies on sessions and on requests
+ * Significantly change how hooks are dispatched - hooks now receive all the
+  arguments specified by the user when making a request so hooks can make a
+  secondary request with the same parameters. This is especially necessary for
+  authentication handler authors
+ * certifi support was removed
+ * Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
+ * Major proxy work thanks to @Lukasa including parsing of proxy authentication
+  from the proxy url
+ * Fix DigestAuth handling too many 401s
+ * Update vendored urllib3 to include SSL bug fixes
+ * Allow keyword arguments to be passed to ``json.loads()`` via the
+  ``Response.json()`` method
+ * Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
+   requests
+ * Add ``elapsed`` attribute to ``Response`` objects to time how long a request
+   took.
+ * Fix ``RequestsCookieJar``
+ * Sessions and Adapters are now picklable, i.e., can be used with the
+  mutiprocessing library
+  Update charade to version 1.0.3
+
+---
--- /work/SRC/openSUSE:Factory/python-requests/python3-requests.changes 
2013-01-20 14:43:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python3-requests.changes
2013-05-16 11:27:14.0 +0200
@@ -1,0 +2,26 @@
+Mon May 13 08:57:09 UTC 2013 - dmuel...@suse.com
+
+- update to 1.2.0:
+ * Fixed cookies on sessions and on requests
+ * Significantly change how hooks are dispatched - hooks now receive all the
+  arguments specified by the user when making a request so hooks can make a
+  secondary request with the same parameters. This is especially necessary for
+  authentication handler authors
+ * certifi support was removed
+ * Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
+ * Major proxy work thanks to @Lukasa including parsing of proxy authentication
+  from the proxy url
+ * Fix DigestAuth handling too many 401s
+ * Update vendored urllib3 to include SSL bug fixes
+ * Allow keyword arguments to be passed to ``json.loads()`` via the
+  ``Response.json()`` method
+ * Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
+   requests
+ * Add ``elapsed`` attribute to ``Response`` objects to time how long a request
+   took.
+ * Fix ``RequestsCookieJar``
+ * Sessions and Adapters are now picklable, i.e., can be used with the
+  mutiprocessing library
+  Update charade to version 1.0.3
+
+---

Old:

  requests-1.1.0.tar.gz

New:

  requests-1.2.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.ex9BAm/_old  2013-05-16 11:27:15.0 +0200
+++ /var/tmp/diff_new_pack.ex9BAm/_new  2013-05-16 11:27:15.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:1.1.0
+Version:1.2.0
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ python3-requests.spec ++
--- /var/tmp/diff_new_pack.ex9BAm/_old  2013-05-16 11:27:15.0 +0200
+++ /var/tmp/diff_new_pack.ex9BAm/_new  2013-05-16 11:27:15.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python3-requests
-Version:1.1.0
+Version:1.2.0
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ requests-1.1.0.tar.gz - requests-1.2.0.tar.gz ++
 2132 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2013-01-20 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2013-01-20 14:43:32

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-11-21 17:07:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2013-01-20 14:43:34.0 +0100
@@ -1,0 +2,24 @@
+Fri Jan 18 08:31:22 UTC 2013 - sasc...@suse.de
+
+- Set license to Apache-2.0 and LGPL-2.1+ and MIT, according to
+  https://github.com/kennethreitz/requests/issues/, the base
+  license is Apache-2.0 but requests ships two libraries (bnc#799119):
+  + charade: LGPL-2.1+ 
+  + urllib3: MIT
+
+---
+Tue Jan 15 19:37:18 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+
+---
+Tue Jan 15 19:34:53 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 1.1.0:
+  * CHUNKED REQUESTS
+  * Support for iterable response bodies
+  * Assume servers persist redirect params
+  * Allow explicit content types to be specified for file data
+  * Make merge_kwargs case-insensitive when looking up keys
+
+---
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python3-requests.changes
2013-01-20 14:43:34.0 +0100
@@ -0,0 +1,14 @@
+---
+Fri Jan 18 08:33:19 UTC 2013 - sasc...@suse.de
+
+- Set license to Apache-2.0 and LGPL-2.1+ and MIT, according to
+  https://github.com/kennethreitz/requests/issues/, the base
+  license is Apache-2.0 but requests ships two libraries (bnc#799119):
+  + charade: LGPL-2.1+ 
+  + urllib3: MIT
+
+---
+Tue Jan 15 19:37:31 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+

Old:

  requests-0.14.2.tar.gz

New:

  python3-requests.changes
  python3-requests.spec
  requests-1.1.0.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.UQkZxu/_old  2013-01-20 14:43:35.0 +0100
+++ /var/tmp/diff_new_pack.UQkZxu/_new  2013-01-20 14:43:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,13 @@
 
 
 Name:   python-requests
-Version:0.14.2
+Version:1.1.0
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
-License:ISC
+License:Apache-2.0 and LGPL-2.1+ and MIT
 Group:  Development/Languages/Python
+#TODO/FIXME: Maybe split out charade and urllib3 into sub-packages to simplify:
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
@@ -61,6 +62,8 @@
 
 %prep
 %setup -q -n requests-%{version}
+# For rpmlint warning: remove shebang from python library:
+sed -i '/^#!/d' ./requests/certs.py
 
 %build
 python setup.py build

++ python3-requests.spec ++
#
# spec file for package python3-requests
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   python3-requests
Version:1.1.0
Release:0
Url:http://python-requests.org
Summary:Awesome Python HTTP Library That's Actually Usable
License:Apache-2.0 and LGPL-2.1+ and MIT
Group:  Development/Languages/Python
#TODO/FIXME: Maybe split out charade 

commit python-requests for openSUSE:Factory

2012-11-21 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-11-21 17:07:46

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-10-26 00:23:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-11-21 17:07:49.0 +0100
@@ -1,0 +2,10 @@
+Tue Nov 13 22:04:33 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.14.2:
+  * Improved mime-compatible JSON handling
+  * Proxy fixes
+  * Path hack fixes
+  * Case-Insensistive Content-Encoding headers
+  * Support for CJK parameters in form posts
+
+---

Old:

  requests-0.14.1.tar.gz

New:

  requests-0.14.2.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.mWf56c/_old  2012-11-21 17:07:50.0 +0100
+++ /var/tmp/diff_new_pack.mWf56c/_new  2012-11-21 17:07:50.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-requests
-Version:0.14.1
+Version:0.14.2
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ requests-0.14.1.tar.gz - requests-0.14.2.tar.gz ++
 9499 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2012-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-10-25 21:26:42

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-06-26 17:57:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-10-26 00:23:30.0 +0200
@@ -1,0 +2,47 @@
+Tue Oct 16 18:55:20 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.14.1:
+  * Python 3.3 Compatibility
+  * Simply default accept-encoding
+  * Bugfixes
+- 0.14.0 (2012-09-02)
+  * No more iter_content errors if already downloaded.
+- 0.13.9 (2012-08-25)
+  * Fix for OAuth + POSTs
+  * Remove exception eating from dispatch_hook
+  * General bugfixes
+- 0.13.8 (2012-08-21)
+  * Incredible Link header support :)
+- 0.13.7 (2012-08-19)
+  * Support for (key, value) lists everywhere.
+  * Digest Authentication improvements.
+  * Ensure proxy exclusions work properly.
+  * Clearer UnicodeError exceptions.
+  * Automatic casting of URLs to tsrings (fURL and such)
+  * Bugfixes.
+- 0.13.6 (2012-08-06)
+  * Long awaited fix for hanging connections!
+- 0.13.5 (2012-07-27)
+  * Packaging fix
+- 0.13.4 (2012-07-27)
+  * GSSAPI/Kerberos authentication!
+  * App Engine 2.7 Fixes!
+  * Fix leaking connections (from urllib3 update)
+  * OAuthlib path hack fix
+  * OAuthlib URL parameters fix.
+- 0.13.3 (2012-07-12)
+  * Use simplejson if available.
+  * Do not hide SSLErrors behind Timeouts.
+  * Fixed param handling with urls containing fragments.
+  * Significantly improved information in User Agent.
+  * client certificates are ignored when verify=False
+- 0.13.2 (2012-06-28)
+  * Zero dependencies (once again)!
+  * New: Response.reason
+  * Sign querystring parameters in OAuth 1.0
+  * Client certificates no longer ignored when verify=False
+  * Add openSUSE certificate support
+- Removed certificate patch since it's now upstream
+- Removed dependencies that are no longer needed
+
+---

Old:

  requests-0.13.1.tar.gz
  requests-suse_cert_paths.patch

New:

  requests-0.14.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.UJpLd2/_old  2012-10-26 00:23:31.0 +0200
+++ /var/tmp/diff_new_pack.UJpLd2/_new  2012-10-26 00:23:31.0 +0200
@@ -17,25 +17,18 @@
 
 
 Name:   python-requests
-Version:0.13.1
+Version:0.14.1
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:ISC
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
-# PATCH-FIX-UPSREAM requests-suse_cert_paths.patch [bnc#761501] -- Load 
directory-based cert store in /etc/ssl/certs. Depends on Python patched to 
allow it, fall back to /etc/ssl/ca-bundle.pem otherwise
-Patch0: requests-suse_cert_paths.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
-BuildRequires:  python-chardet
 BuildRequires:  python-devel
 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())}
 %else
@@ -68,7 +61,6 @@
 
 %prep
 %setup -q -n requests-%{version}
-%patch0 -p1
 
 %build
 python setup.py build

++ requests-0.13.1.tar.gz - requests-0.14.1.tar.gz ++
 25168 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-06-26 17:57:49

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-06-12 07:10:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-06-26 17:57:52.0 +0200
@@ -1,0 +2,14 @@
+Wed May 30 09:11:50 UTC 2012 - sasc...@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
+
+---

Old:

  requests-0.12.1.tar.gz

New:

  requests-0.13.1.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.qZvhcV/_old  2012-06-26 17:57:53.0 +0200
+++ /var/tmp/diff_new_pack.qZvhcV/_new  2012-06-26 17:57:53.0 +0200
@@ -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-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())}

++ requests-0.12.1.tar.gz - requests-0.13.1.tar.gz ++
 2546 lines of diff (skipped)

++ requests-suse_cert_paths.patch ++
--- /var/tmp/diff_new_pack.qZvhcV/_old  2012-06-26 17:57:53.0 +0200
+++ /var/tmp/diff_new_pack.qZvhcV/_new  2012-06-26 17:57:53.0 +0200
@@ -1,9 +1,9 @@
 diff -ru a/requests/utils.py b/requests/utils.py
 a/requests/utils.py2012-05-08 06:56:28.0 +0200
-+++ b/requests/utils.py2012-05-23 14:06:43.728477504 +0200
-@@ -14,6 +14,9 @@
+--- a/requests/utils.py2012-05-30 01:54:25.0 +0200
 b/requests/utils.py2012-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 @@
  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 @@
  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.0 +0200
-+++ b/setup.py 2012-05-23 14:07:30.303478614 +0200
+--- a/setup.py 2012-05-11 00:09:45.0 +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.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2012-06-11 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-06-12 07:10:01

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-05-09 18:32:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-06-12 07:10:02.0 +0200
@@ -1,0 +2,35 @@
+Wed May 23 12:09:35 UTC 2012 - sasc...@suse.de
+
+- Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
+  but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
+  for me as (my) Python ssl module doesn't support cert directories...
+- No need to check SUSE versions for python-certifi, it only is/was
+  part of openSUSE:Factory for a brief period of time
+
+---
+Sun May 20 17:44:57 UTC 2012 - jf...@funktronics.ca
+
+- Load directory-based cert store in openSUSE = 12.2
+
+---
+Fri May 18 00:41:52 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.12.1
+  * New Response.json property
+  * Ability to add string file uploads
+  * Fix out-of-range issue with iter_lines
+  * Fix iter_content default size
+  * Fix POST redirects containing files
+- 0.12.0 (2012-05-02)
+  * EXPERIMENTAL OAUTH SUPPORT!
+  * Proper CookieJar-backed cookies interface with awesome dict-like interface.
+  * Speed fix for non-iterated content chunks.
+  * Move pre_request to a more usable place.
+  * New pre_send hook.
+  * Lazily encode data, params, files
+  * Load system Certificate Bundle if certify isn't available.
+  * Cleanups, fixes.
+- Add python-chardet and python-oauthlib requirements
+- Run test suite (added python-distribute build requirement to enable)
+
+---

Old:

  requests-0.11.2.tar.gz

New:

  requests-0.12.1.tar.gz
  requests-suse_cert_paths.patch



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.sMQxhv/_old  2012-06-12 07:10:04.0 +0200
+++ /var/tmp/diff_new_pack.sMQxhv/_new  2012-06-12 07:10:04.0 +0200
@@ -16,20 +16,25 @@
 #
 
 
-
 Name:   python-requests
-Version:0.11.2
+Version:0.12.1
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable
 License:ISC
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz
+# PATCH-FIX-UPSREAM requests-suse_cert_paths.patch [bnc#761501] -- Load 
directory-based cert store in /etc/ssl/certs. Depends on Python patched to 
allow it, fall back to /etc/ssl/ca-bundle.pem otherwise
+Patch0: requests-suse_cert_paths.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python
+BuildRequires:  python-chardet
 BuildRequires:  python-devel
+BuildRequires:  python-distribute
+BuildRequires:  python-oauthlib
 Requires:   python
-Requires:   python-certifi
+Requires:   python-chardet
+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())}
 %else
@@ -62,10 +67,14 @@
 
 %prep
 %setup -q -n requests-%{version}
+%patch0 -p1
 
 %build
 python setup.py build
 
+%check
+python setup.py test
+
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 

++ requests-0.11.2.tar.gz - requests-0.12.1.tar.gz ++
 1697 lines of diff (skipped)

++ requests-suse_cert_paths.patch ++
diff -ru a/requests/utils.py b/requests/utils.py
--- a/requests/utils.py 2012-05-08 06:56:28.0 +0200
+++ b/requests/utils.py 2012-05-23 14:06:43.728477504 +0200
@@ -14,6 +14,9 @@
 import os
 import random
 import re
+import socket
+import ssl
+import _ssl
 import zlib
 from netrc import netrc, NetrcParseError
 
@@ -42,13 +45,26 @@
 '/etc/ssl/certs/ca-certificates.crt',
 # FreeBSD (provided by the ca_root_nss package):
 '/usr/local/share/certs/ca-root-nss.crt',
+# openSUSE (provided by the ca-certificates package), the 'certs' 
directory is the
+# preferred way but may not be supported by the SSL module, thus it 
has 'ca-bundle.pem'
+# as a fallback (which is generated from pem files in the 'certs' 
directory):
+'/etc/ssl/certs',
+'/etc/ssl/ca-bundle.pem',
 ]
 
 def 

commit python-requests for openSUSE:Factory

2012-05-09 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-05-09 18:20:29

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes  
2012-03-16 13:23:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-05-09 18:32:59.0 +0200
@@ -1,0 +2,24 @@
+Fri Apr 27 22:57:43 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.11.2
+  * Attempt to use the OS's certificate bundle if certifi isn't available.
+  * Infinite digest auth redirect fix
+  * Multi-part file upload improvements
+  * Fix decoding of invalid %encodings in URLs
+  * If there is no content in a response don't throw an error the second time
+that content is attempted to be read.
+  * Upload data on redirects.
+
+---
+Fri Apr  6 19:08:40 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.11.1:
+  * POST redirects now break RFC to do what browsers do: Follow up with a GET.
+  * New strict_mode configuration to disable new redirect behavior.
+- 0.11.0 (2012-03-14)
+  * Private SSL Certificate support
+  * Remove select.poll from Gevent monkeypatching
+  * Remove redundant generator for chunked transfer encoding
+  * Fix: Response.ok raises Timeout Exception in safe_mode
+
+---

Old:

  requests-0.10.8.tar.gz

New:

  requests-0.11.2.tar.gz



Other differences:
--
++ python-requests.spec ++
--- /var/tmp/diff_new_pack.V8JsII/_old  2012-05-09 18:33:00.0 +0200
+++ /var/tmp/diff_new_pack.V8JsII/_new  2012-05-09 18:33:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requests
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,14 +11,14 @@
 # case the license is the MIT License). An Open Source License is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 
 Name:   python-requests
-Version:0.10.8
+Version:0.11.2
 Release:0
 Url:http://python-requests.org
 Summary:Awesome Python HTTP Library That's Actually Usable

++ requests-0.10.8.tar.gz - requests-0.11.2.tar.gz ++
 2717 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-requests for openSUSE:Factory

2012-03-16 Thread h_root
Hello community,

here is the log from the commit of package python-requests for openSUSE:Factory 
checked in at 2012-03-16 13:23:31

Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
 and  /work/SRC/openSUSE:Factory/.python-requests.new (New)


Package is python-requests, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2012-03-04 14:46:25.491534019 +0100
+++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 
2012-03-16 13:23:32.0 +0100
@@ -0,0 +1,223 @@
+---
+Sat Mar 10 14:11:23 UTC 2012 - sasc...@gmx.de
+
+- Update to version 0.10.8:
+  * Generate chunked ValueError fix
+  * Proxy configuration by environment variables
+  * Simplification of iter_lines.
+  * New trust_env configuration for disabling system/environment hints.
+  * Suppress cookie errors.
+- Changes from version 0.10.7:
+  * encode_uri = False
+
+---
+Tue Feb 28 18:06:45 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.10.6
+  * Allow '=' in cookies.
+- 0.10.5 (2012-02-25)
+  * Response body with 0 content-length fix.
+  * New async.imap.
+  * Don't fail on netrc.
+
+---
+Tue Feb 21 19:52:04 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.10.4
+  * Honor netrc.
+- 0.10.3 (2012-02-20)
+  * HEAD requests don't follow redirects anymore.
+  * raise_for_status() doesn't raise for 3xx anymore.
+  * Make Session objects picklable.
+  * ValueError for invalid schema URLs.
+- 0.10.2 (2012-01-15)
+  * Vastly improved URL quoting.
+  * Additional allowed cookie key values.
+  * Attempted fix for Too many open files Error
+  * Replace unicode errors on first pass, no need for second pass.
+  * Append '/' to bare-domain urls before query insertion.
+  * Exceptions now inherit from RuntimeError.
+  * Binary uploads + auth fix.
+  * Bugfixes.
+
+---
+Mon Feb  6 13:41:55 UTC 2012 - sasc...@suse.de
+
+- Add dependency on python-certifi
+
+---
+Tue Jan 24 21:31:14 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.10.1:
+  * PYTHON 3 SUPPORT!
+  * Dropped 2.5 Support. (Backwards Incompatible)
+- 0.10.0 (2012-01-21)
+  * Response.content is now bytes-only. (Backwards Incompatible)
+  * New Response.text is unicode-only.
+  * If no Response.encoding is specified and chardet is available,
+Respoonse.text will guess an encoding.
+  * Default to ISO-8859-1 (Western) encoding for text subtypes.
+  * Removal of decode_unicode. (Backwards Incompatible)
+  * New multiple-hooks system.
+  * New Response.register_hook for registering hooks within the pipeline.
+  * Response.url is now Unicode.
+
+---
+Thu Jan 19 19:33:21 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.9.3:
+  * SSL verify=False bugfix (apparent on windows machines).
+- 0.9.2 (2012-01-18)
+  * Asyncronous async.send method.
+  * Support for proper chunk streams with boundaries.
+  * session argument for Session classes.
+  * Print entire hook tracebacks, not just exception instance.
+  * Fix response.iter_lines from pending next line.
+  * Fix but in HTTP-digest auth w/ URI having query strings.
+  * Fix in Event Hooks section.
+  * Urllib3 update.
+
+---
+Thu Jan 12 22:05:35 UTC 2012 - jf...@funktronics.ca
+
+- Update to 0.9.1:
+  * danger_mode for automatic Response.raise_for_status()
+  * Response.iter_lines refator
+- 0.9.0 (2011-12-28)
+  * verify ssl is default.
+- 0.8.9 (2011-12-28)
+  * Packaging fix.
+- 0.8.8 (2011-12-28)
+  * SSL CERT VERIFICATION!
+  * Release of Cerifi: Mozilla's cert list.
+  * New 'verify' argument for SSL requests.
+  * Urllib3 update.
+- 0.8.7 (2011-12-24)
+  * iter_lines last-line truncation fix
+  * Force safe_mode for async requests
+  * Handle safe_mode exceptions more consistently
+  * Fix iteration on null responses in safe_mode
+- 0.8.6 (2011-12-18)
+  * Socket timeout fixes.
+  * Proxy Authorization support.
+- 0.8.5 (2011-12-14)
+  * Response.iter_lines!
+
+---
+Sun Dec 11 20:45:14 UTC 2011 - jf...@funktronics.ca
+
+- Update to 0.8.4:
+  * Prefetch bugfix.
+  * Added license to installed version.
+
+---
+Sun Nov 27 20:38:47 UTC 2011 - jf...@funktronics.ca
+
+- Update to 0.8.3
+  * Converted auth system to use simpler callable objects.
+  * New session parameter to API methods.
+  * Display full URL while logging.
+
+---