commit python-urllib3 for openSUSE:Factory

2020-09-18 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2020-09-18 14:23:16

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


Package is "python-urllib3"

Fri Sep 18 14:23:16 2020 rev:41 rq:833356 version:1.25.10

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2020-08-06 17:32:43.597102899 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4249/python-urllib3.changes  
2020-09-18 14:24:56.843081710 +0200
@@ -1,0 +2,5 @@
+Wed Sep  9 16:49:22 UTC 2020 - Alberto Planas Dominguez 
+
+- Generate pyc for ssl_match_hostname too
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.4rv7L4/_old  2020-09-18 14:24:59.003083886 +0200
+++ /var/tmp/diff_new_pack.4rv7L4/_new  2020-09-18 14:24:59.007083889 +0200
@@ -105,22 +105,22 @@
 %if !%{with test}
 %python_install
 
+# Unbundle the Python 3 build
+rm %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
+rm -r %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/
+
+# Copy ssl_match_hostname.py before compilation, so we can have a pyc too
+cp -a %{SOURCE1} 
%{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname.py
+
 %{python_expand \
 $python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
 }
 
-# Unbundle the Python 3 build
-rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py*
-rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/six*
-rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/
-
-mkdir -p %{buildroot}/%{python3_sitelib}/urllib3/packages/
-cp -a %{SOURCE1} 
%{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname.py
 ln -s %{python3_sitelib}/six.py 
%{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
-ln -s 
%{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.opt-1.pyc \
+ln -sf 
%{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.opt-1.pyc \
   %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
-ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc 
\
+ln -sf 
%{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc \
   %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}




commit python-urllib3 for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2020-08-06 17:32:03

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


Package is "python-urllib3"

Thu Aug  6 17:32:03 2020 rev:40 rq:824352 version:1.25.10

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2020-06-05 20:01:54.712274728 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.3399/python-urllib3.changes  
2020-08-06 17:32:43.597102899 +0200
@@ -1,0 +2,15 @@
+Tue Aug  4 16:09:35 UTC 2020 - Dirk Mueller 
+
+- update to 1.25.10:
+  * Added support for ``SSLKEYLOGFILE`` environment variable for
+logging TLS session keys with use with programs like
+Wireshark for decrypting captured web traffic (Pull #1867)
+  * Fixed loading of SecureTransport libraries on macOS Big Sur
+due to the new dynamic linker cache (Pull #1905)
+  * Collapse chunked request bodies data and framing into one
+  call to ``send()`` to reduce the number of TCP packets by 2-4x (Pull #1906)
+  * Don't insert ``None`` into ``ConnectionPool`` if the pool
+was empty when requesting a connection (Pull #1866)
+  * Avoid ``hasattr`` call in ``BrotliDecoder.decompress()`` (Pull #1858)
+
+---

Old:

  urllib3-1.25.9.tar.gz

New:

  urllib3-1.25.10.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.CVIXbu/_old  2020-08-06 17:32:44.729103164 +0200
+++ /var/tmp/diff_new_pack.CVIXbu/_new  2020-08-06 17:32:44.733103165 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:   python-urllib3%{psuffix}
-Version:1.25.9
+Version:1.25.10
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT

++ urllib3-1.25.9.tar.gz -> urllib3-1.25.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.9/CHANGES.rst 
new/urllib3-1.25.10/CHANGES.rst
--- old/urllib3-1.25.9/CHANGES.rst  2020-04-16 17:37:21.0 +0200
+++ new/urllib3-1.25.10/CHANGES.rst 2020-07-22 17:42:19.0 +0200
@@ -1,6 +1,25 @@
 Changes
 ===
 
+1.25.10 (2020-07-22)
+
+
+* Added support for ``SSLKEYLOGFILE`` environment variable for
+  logging TLS session keys with use with programs like
+  Wireshark for decrypting captured web traffic (Pull #1867)
+
+* Fixed loading of SecureTransport libraries on macOS Big Sur
+  due to the new dynamic linker cache (Pull #1905)
+
+* Collapse chunked request bodies data and framing into one
+  call to ``send()`` to reduce the number of TCP packets by 2-4x (Pull #1906)
+
+* Don't insert ``None`` into ``ConnectionPool`` if the pool
+  was empty when requesting a connection (Pull #1866)
+
+* Avoid ``hasattr`` call in ``BrotliDecoder.decompress()`` (Pull #1858)
+
+
 1.25.9 (2020-04-16)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.9/CONTRIBUTORS.txt 
new/urllib3-1.25.10/CONTRIBUTORS.txt
--- old/urllib3-1.25.9/CONTRIBUTORS.txt 2020-04-16 14:42:30.0 +0200
+++ new/urllib3-1.25.10/CONTRIBUTORS.txt2020-07-22 17:42:10.0 
+0200
@@ -300,5 +300,8 @@
 * Chris Olufson 
   * Fix for connection not being released on HTTP redirect and response not 
preloaded
 
+* [Bastiaan Bakker] 
+  * Support for logging session keys via environment variable 
``SSLKEYLOGFILE`` (Python 3.8+)
+
 * [Your name or handle] <[email or website]>
   * [Brief summary of your changes]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.9/PKG-INFO new/urllib3-1.25.10/PKG-INFO
--- old/urllib3-1.25.9/PKG-INFO 2020-04-16 17:43:36.0 +0200
+++ new/urllib3-1.25.10/PKG-INFO2020-07-22 17:46:08.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: urllib3
-Version: 1.25.9
+Version: 1.25.10
 Summary: HTTP library with thread-safe connection pooling, file post, and more.
 Home-page: https://urllib3.readthedocs.io/
 Author: Andrey Petrov
@@ -118,6 +118,25 @@
 Changes
 ===
 
+1.25.10 (2020-07-22)
+
+
+* Added support for ``SSLKEYLOGFILE`` environment variable for
+  logging TLS session keys with use with programs like
+  Wireshark for decrypting captured web traffic (Pull #1867)
+
+* Fixed loading of SecureTransport libraries on macOS Big Sur
+  due to the new dynamic linker cache (Pull 

commit python-urllib3 for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2020-06-05 20:01:45

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


Package is "python-urllib3"

Fri Jun  5 20:01:45 2020 rev:39 rq:811626 version:1.25.9

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2020-04-25 20:16:22.988544699 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.3606/python-urllib3.changes  
2020-06-05 20:01:54.712274728 +0200
@@ -1,0 +2,15 @@
+Tue Jun  2 17:19:23 UTC 2020 - Dirk Mueller 
+
+- update to 1.25.9:
+  * Added ``InvalidProxyConfigurationWarning`` which is raised when
+erroneously specifying an HTTPS proxy URL. urllib3 doesn't currently
+support connecting to HTTPS proxies but will soon be able to
+and we would like users to migrate properly without much breakage.
+  * Drain connection after ``PoolManager`` redirect (Pull #1817)
+  * Ensure ``load_verify_locations`` raises ``SSLError`` for all backends 
(Pull #1812)
+  * Rename ``VerifiedHTTPSConnection`` to ``HTTPSConnection`` (Pull #1805)
+  * Allow the CA certificate data to be passed as a string (Pull #1804)
+  * Raise ``ValueError`` if method contains control characters (Pull #1800)
+  * Add ``__repr__`` to ``Timeout`` (Pull #1795)
+
+---

Old:

  urllib3-1.25.8.tar.gz

New:

  urllib3-1.25.9.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.J7yk3f/_old  2020-06-05 20:01:58.708287835 +0200
+++ /var/tmp/diff_new_pack.J7yk3f/_new  2020-06-05 20:01:58.708287835 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:   python-urllib3%{psuffix}
-Version:1.25.8
+Version:1.25.9
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -128,7 +128,7 @@
 
 %if %{with test}
 %check
-skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn and not TestImportWithoutSSL'
+skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn and not TestImportWithoutSSL and not 
test_ssl_failed_fingerprint_verification'
 case $(uname -m) in
 ppc*)
 skiplist="$skiplist and not test_select_timing and not 
test_select_multiple_interrupts_with_event and not 
test_interrupt_wait_for_read_with_event and not 
test_select_interrupt_with_event";;

++ urllib3-1.25.8.tar.gz -> urllib3-1.25.9.tar.gz ++
  lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2020-04-25 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2020-04-25 20:13:13

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


Package is "python-urllib3"

Sat Apr 25 20:13:13 2020 rev:38 rq:796203 version:1.25.8

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2020-02-14 16:25:12.739185368 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2738/python-urllib3.changes  
2020-04-25 20:16:22.988544699 +0200
@@ -1,0 +2,5 @@
+Tue Apr 21 21:07:06 UTC 2020 - Matej Cepl 
+
+- Explicitly switch off building python 2 version.
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.gynQnC/_old  2020-04-25 20:16:24.156547107 +0200
+++ /var/tmp/diff_new_pack.gynQnC/_new  2020-04-25 20:16:24.160547116 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 %define oldpython python
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
@@ -26,7 +27,6 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-%bcond_without python2
 Name:   python-urllib3%{psuffix}
 Version:1.25.8
 Release:0
@@ -53,13 +53,6 @@
 %if 0%{?suse_version} < 1500
 BuildRequires:  %{oldpython}
 %endif
-%if %{with python2}
-BuildRequires:  python-backports.ssl_match_hostname
-BuildRequires:  python-ipaddress
-%endif
-%ifpython2
-Requires:   python-backports.ssl_match_hostname
-%endif
 %if %{with test}
 BuildRequires:  %{python_module PySocks}
 BuildRequires:  %{python_module brotlipy >= 0.6.0}
@@ -74,15 +67,8 @@
 BuildRequires:  %{python_module trustme >= 0.5.3}
 BuildRequires:  %{python_module urllib3 >= %{version}}
 %endif
-%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Recommends: python-PySocks >= 1.5.6
 Recommends: python-brotlipy >= 0.6.0
-%endif
-%ifpython2
-Requires:   python-ipaddress
-Obsoletes:  python-urllib3 <= %{version}
-Provides:   python-urllib3 = %{version}
-%endif
 %python_subpackages
 
 %description
@@ -124,20 +110,6 @@
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
 }
 
-%if 0%{?have_python2} && ! 0%{?skip_python2}
-# Unbundle the Python 2 build
-rm -rf %{buildroot}/%{python2_sitelib}/urllib3/packages/six.py*
-rm -rf %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname/
-
-mkdir -p %{buildroot}/%{python2_sitelib}/urllib3/packages/
-ln -s %{python2_sitelib}/six.py 
%{buildroot}/%{python2_sitelib}/urllib3/packages/six.py
-ln -s %{python2_sitelib}/six.pyc 
%{buildroot}/%{python2_sitelib}/urllib3/packages/six.pyc
-ln -s %{python2_sitelib}/six.pyo 
%{buildroot}/%{python2_sitelib}/urllib3/packages/six.pyo
-ln -s %{python2_sitelib}/backports/ssl_match_hostname \
-  %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname
-%endif
-
-%if 0%{?have_python3} && ! 0%{?skip_python3}
 # Unbundle the Python 3 build
 rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py*
 rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/six*
@@ -150,23 +122,10 @@
   %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
 ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc 
\
   %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
-%endif
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
-%if ! %{with test} && "%{python_flavor}" == "python2"
-%pre -n python2-urllib3
-  SITELIB=%{python2_sitelib}
-  CONFLICTED="${SITELIB}/urllib3/packages/ssl_match_hostname"
-  if [ -d "$CONFLICTED" -a ! -L "$CONFLICTED" ] ; then
-  # Change from directory to symlink
-  rm -rfv "$CONFLICTED"
-  ln -s ../../backports/ssl_match_hostname \
-$CONFLICTED
-  fi
-%endif
-
 %if %{with test}
 %check
 skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn and not TestImportWithoutSSL'




commit python-urllib3 for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2020-02-14 16:25:05

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


Package is "python-urllib3"

Fri Feb 14 16:25:05 2020 rev:37 rq:772471 version:1.25.8

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-11-04 17:06:08.160243795 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.26092/python-urllib3.changes 
2020-02-14 16:25:12.739185368 +0100
@@ -1,0 +2,12 @@
+Fri Feb  7 15:24:03 UTC 2020 - Marketa Calabkova 
+
+- update to 1.25.8
+  * Drop support for EOL Python 3.4
+  * Optimize _encode_invalid_chars
+  * Preserve chunked parameter on retries
+  * Allow unset SERVER_SOFTWARE in App Engine
+  * Fix issue where URL fragment was sent within the request target.
+  * Fix issue where an empty query section in a URL would fail to parse.
+  * Remove TLS 1.3 support in SecureTransport due to Apple removing support.
+
+---

Old:

  urllib3-1.25.6.tar.gz

New:

  urllib3-1.25.8.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.XThRzn/_old  2020-02-14 16:25:13.311185679 +0100
+++ /var/tmp/diff_new_pack.XThRzn/_new  2020-02-14 16:25:13.311185679 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# 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
@@ -28,7 +28,7 @@
 %endif
 %bcond_without python2
 Name:   python-urllib3%{psuffix}
-Version:1.25.6
+Version:1.25.8
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -71,6 +71,7 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six >= 1.12.0}
 BuildRequires:  %{python_module tornado < 6}
+BuildRequires:  %{python_module trustme >= 0.5.3}
 BuildRequires:  %{python_module urllib3 >= %{version}}
 %endif
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24

++ urllib3-1.25.6.tar.gz -> urllib3-1.25.8.tar.gz ++
 4191 lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2019-11-04 Thread root
Hello community,

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

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


Package is "python-urllib3"

Mon Nov  4 17:06:06 2019 rev:36 rq:738592 version:1.25.6

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-10-05 16:19:42.237531163 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2990/python-urllib3.changes  
2019-11-04 17:06:08.160243795 +0100
@@ -1,0 +2,6 @@
+Tue Oct 15 10:53:45 UTC 2019 - Ralf Haferkamp 
+
+- Require a new enough release of python-six. 1.25.6 needs at least
+  1.12.0 for ensure_text() and friends.
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.H9RT38/_old  2019-11-04 17:06:08.780244457 +0100
+++ /var/tmp/diff_new_pack.H9RT38/_new  2019-11-04 17:06:08.792244470 +0100
@@ -47,7 +47,7 @@
 Requires:   python-cryptography >= 1.3.4
 Requires:   python-idna >= 2.0.0
 Requires:   python-pyOpenSSL
-Requires:   python-six
+Requires:   python-six >= 1.12.0
 BuildArch:  noarch
 # for SSL module on older distros
 %if 0%{?suse_version} < 1500
@@ -69,7 +69,7 @@
 BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module six >= 1.12.0}
 BuildRequires:  %{python_module tornado < 6}
 BuildRequires:  %{python_module urllib3 >= %{version}}
 %endif




commit python-urllib3 for openSUSE:Factory

2019-10-05 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-10-05 16:19:40

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


Package is "python-urllib3"

Sat Oct  5 16:19:40 2019 rev:35 rq:734610 version:1.25.6

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-09-30 15:57:01.197596494 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2352/python-urllib3.changes  
2019-10-05 16:19:42.237531163 +0200
@@ -1,0 +2,6 @@
+Wed Oct  2 13:18:36 UTC 2019 - Tomáš Chvátal 
+
+- Updae to 1.25.6:
+  * Fix issue where tilde (~) characters were incorrectly percent-encoded in 
the path. (Pull #1692)
+
+---

Old:

  urllib3-1.25.5.tar.gz

New:

  urllib3-1.25.6.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.zeMljg/_old  2019-10-05 16:19:43.189528684 +0200
+++ /var/tmp/diff_new_pack.zeMljg/_new  2019-10-05 16:19:43.193528674 +0200
@@ -28,7 +28,7 @@
 %endif
 %bcond_without python2
 Name:   python-urllib3%{psuffix}
-Version:1.25.5
+Version:1.25.6
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT

++ urllib3-1.25.5.tar.gz -> urllib3-1.25.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/CHANGES.rst 
new/urllib3-1.25.6/CHANGES.rst
--- old/urllib3-1.25.5/CHANGES.rst  2019-09-20 03:35:40.0 +0200
+++ new/urllib3-1.25.6/CHANGES.rst  2019-09-24 16:34:56.0 +0200
@@ -1,6 +1,13 @@
 Changes
 ===
 
+1.25.6 (2019-09-24)
+---
+
+* Fix issue where tilde (``~``) characters were incorrectly
+  percent-encoded in the path. (Pull #1692)
+
+
 1.25.5 (2019-09-19)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/PKG-INFO new/urllib3-1.25.6/PKG-INFO
--- old/urllib3-1.25.5/PKG-INFO 2019-09-20 03:35:53.0 +0200
+++ new/urllib3-1.25.6/PKG-INFO 2019-09-24 16:35:08.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: urllib3
-Version: 1.25.5
+Version: 1.25.6
 Summary: HTTP library with thread-safe connection pooling, file post, and more.
 Home-page: https://urllib3.readthedocs.io/
 Author: Andrey Petrov
@@ -145,6 +145,13 @@
 Changes
 ===
 
+1.25.6 (2019-09-24)
+---
+
+* Fix issue where tilde (``~``) characters were incorrectly
+  percent-encoded in the path. (Pull #1692)
+
+
 1.25.5 (2019-09-19)
 ---
 
@@ -1222,6 +1229,6 @@
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Software Development :: Libraries
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
+Provides-Extra: secure
 Provides-Extra: brotli
 Provides-Extra: socks
-Provides-Extra: secure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/src/urllib3/__init__.py 
new/urllib3-1.25.6/src/urllib3/__init__.py
--- old/urllib3-1.25.5/src/urllib3/__init__.py  2019-09-20 03:35:40.0 
+0200
+++ new/urllib3-1.25.6/src/urllib3/__init__.py  2019-09-24 16:34:56.0 
+0200
@@ -22,7 +22,7 @@
 
 __author__ = "Andrey Petrov (andrey.pet...@shazow.net)"
 __license__ = "MIT"
-__version__ = "1.25.5"
+__version__ = "1.25.6"
 
 __all__ = (
 "HTTPConnectionPool",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.25.5/src/urllib3/util/url.py 
new/urllib3-1.25.6/src/urllib3/util/url.py
--- old/urllib3-1.25.5/src/urllib3/util/url.py  2019-09-20 03:35:40.0 
+0200
+++ new/urllib3-1.25.6/src/urllib3/util/url.py  2019-09-24 16:34:56.0 
+0200
@@ -50,7 +50,7 @@
 "(?:(?:%(hex)s:){0,6}%(hex)s)?::",
 ]
 
-UNRESERVED_PAT = 
r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._!\-"
+UNRESERVED_PAT = 
r"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._!\-~"
 IPV6_PAT = "(?:" + "|".join([x % _subs for x in _variations]) + ")"
 ZONE_ID_PAT = "(?:%25|%)(?:[" + UNRESERVED_PAT + "]|%[a-fA-F0-9]{2})+"
 IPV6_ADDRZ_PAT = r"\[" + IPV6_PAT + r"(?:" + ZONE_ID_PAT + r")?\]"
@@ -63,17 +63,18 @@
 BRACELESS_IPV6_ADDRZ_RE = re.compile("^" + IPV6_ADDRZ_PAT[2:-2] + "$")
 ZONE_ID_RE = re.compile("(" + ZONE_ID_PAT + r")\]$")
 
-SUBAUTHORITY_PAT = (u"^(?:(.*)@)?" u"(%s|%s|%s)" u"(?::([0-9]{0,5}))?$") % (
+SUBAUTHORITY_PAT = 

commit python-urllib3 for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-09-30 15:56:55

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


Package is "python-urllib3"

Mon Sep 30 15:56:55 2019 rev:34 rq:733657 version:1.25.5

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-09-23 12:18:39.521794504 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.2352/python-urllib3.changes  
2019-09-30 15:57:01.197596494 +0200
@@ -1,0 +2,21 @@
+Fri Sep 27 10:39:28 UTC 2019 - Tomáš Chvátal 
+
+- Restrict the tornado dep from tom to 5 or older release as the
+  6.x changed the API
+
+---
+Fri Sep 20 12:14:13 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.25.5:
+  * Add mitigation for BPO-37428 affecting Python <3.7.4 and OpenSSL 1.1.1+ 
which caused certificate verification to be enabled when using 
cert_reqs=CERT_NONE. (Issue #1682)
+  * Propagate Retry-After header settings to subsequent retries. (Pull #1607)
+  * Fix edge case where Retry-After header was still respected even when 
explicitly opted out of. (Pull #1607)
+  * Remove dependency on rfc3986 for URL parsing.
+  * Fix issue where URLs containing invalid characters within Url.auth would 
raise an exception instead of percent-encoding those characters.
+  * Add support for HTTPResponse.auto_close = False which makes HTTP responses 
work well with BufferedReaders and other io module features. (Pull #1652)
+  * Percent-encode invalid characters in URL for HTTPConnectionPool.request() 
(Pull #1673)
+- Drop patch urllib3-ssl-default-context.patch
+- Drop patch python-urllib3-recent-date.patch the date is recent
+  enough on its own
+
+---

Old:

  python-urllib3-recent-date.patch
  urllib3-1.25.3.tar.gz
  urllib3-ssl-default-context.patch

New:

  urllib3-1.25.5.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.kgSmRI/_old  2019-09-30 15:57:02.965591788 +0200
+++ /var/tmp/diff_new_pack.kgSmRI/_new  2019-09-30 15:57:02.965591788 +0200
@@ -28,7 +28,7 @@
 %endif
 %bcond_without python2
 Name:   python-urllib3%{psuffix}
-Version:1.25.3
+Version:1.25.5
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -37,24 +37,16 @@
 Source: 
https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
 # Wrapper for ssl to unbundle ssl_match_hostname
 Source1:ssl_match_hostname_py3.py
-# PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
-# should be removed in the future, see SR#437853
-Patch0: urllib3-ssl-default-context.patch
-# PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
-Patch1: python-urllib3-recent-date.patch
-BuildRequires:  %{python_module PySocks}
-BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module rfc3986}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 #!BuildIgnore:  python-requests
 Requires:   ca-certificates-mozilla
-Requires:   python-cryptography
-Requires:   python-idna
+Requires:   python-certifi
+Requires:   python-cryptography >= 1.3.4
+Requires:   python-idna >= 2.0.0
 Requires:   python-pyOpenSSL
-Requires:   python-rfc3986
 Requires:   python-six
 BuildArch:  noarch
 # for SSL module on older distros
@@ -69,15 +61,21 @@
 Requires:   python-backports.ssl_match_hostname
 %endif
 %if %{with test}
-BuildRequires:  %{python_module brotlipy}
-BuildRequires:  %{python_module idna}
+BuildRequires:  %{python_module PySocks}
+BuildRequires:  %{python_module brotlipy >= 0.6.0}
+BuildRequires:  %{python_module certifi}
+BuildRequires:  %{python_module cryptography >= 1.3.4}
+BuildRequires:  %{python_module idna >= 2.0.0}
 BuildRequires:  %{python_module mock >= 1.3.0}
-BuildRequires:  %{python_module pytest < 4.0}
-BuildRequires:  %{python_module tornado >= 4.2.1}
+BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module tornado < 6}
 BuildRequires:  %{python_module urllib3 >= %{version}}
 %endif
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
-Recommends: python-brotlipy
+Recommends: python-PySocks >= 1.5.6
+Recommends: 

commit python-urllib3 for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-09-23 12:18:36

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


Package is "python-urllib3"

Mon Sep 23 12:18:36 2019 rev:33 rq:731439 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-08-22 10:53:09.653693537 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.7948/python-urllib3.changes  
2019-09-23 12:18:39.521794504 +0200
@@ -1,0 +2,5 @@
+Sat Sep 14 02:58:42 UTC 2019 - John Vandenberg 
+
+- Use have/skip_python2/3 macros to allow building only one flavour
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.VYgHYm/_old  2019-09-23 12:18:40.133794404 +0200
+++ /var/tmp/diff_new_pack.VYgHYm/_new  2019-09-23 12:18:40.133794404 +0200
@@ -26,13 +26,14 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%bcond_without python2
 Name:   python-urllib3%{psuffix}
 Version:1.25.3
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
-URL:http://urllib3.readthedocs.org/
+URL:https://urllib3.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
 # Wrapper for ssl to unbundle ssl_match_hostname
 Source1:ssl_match_hostname_py3.py
@@ -41,17 +42,13 @@
 Patch0: urllib3-ssl-default-context.patch
 # PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
 Patch1: python-urllib3-recent-date.patch
-# for SSL module on older distros
-BuildRequires:  %{oldpython}
 BuildRequires:  %{python_module PySocks}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module rfc3986}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
-BuildRequires:  python-backports.ssl_match_hostname
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-ipaddress
 #!BuildIgnore:  python-requests
 Requires:   ca-certificates-mozilla
 Requires:   python-cryptography
@@ -60,6 +57,14 @@
 Requires:   python-rfc3986
 Requires:   python-six
 BuildArch:  noarch
+# for SSL module on older distros
+%if 0%{?suse_version} < 1500
+BuildRequires:  %{oldpython}
+%endif
+%if %{with python2}
+BuildRequires:  python-backports.ssl_match_hostname
+BuildRequires:  python-ipaddress
+%endif
 %ifpython2
 Requires:   python-backports.ssl_match_hostname
 %endif
@@ -121,6 +126,7 @@
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
 }
 
+%if 0%{?have_python2} && ! 0%{?skip_python2}
 # Unbundle the Python 2 build
 rm -rf %{buildroot}/%{python2_sitelib}/urllib3/packages/six.py*
 rm -rf %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname/
@@ -134,6 +140,9 @@
   %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname
 ln -s %{python2_sitelib}/rfc3986/ \
   %{buildroot}/%{python2_sitelib}/urllib3/packages/rfc3986
+%endif
+
+%if 0%{?have_python3} && ! 0%{?skip_python3}
 # Unbundle the Python 3 build
 rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py*
 rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/six*
@@ -149,11 +158,12 @@
   %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
 ln -s %{python3_sitelib}/rfc3986/ \
   %{buildroot}/%{python3_sitelib}/urllib3/packages/rfc3986
+%endif
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
-%if ! %{with test}
+%if ! %{with test} && "%{python_flavor}" == "python2"
 %pre -n python2-urllib3
   SITELIB=%{python2_sitelib}
   CONFLICTED="${SITELIB}/urllib3/packages/ssl_match_hostname"




commit python-urllib3 for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-08-22 10:53:03

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


Package is "python-urllib3"

Thu Aug 22 10:53:03 2019 rev:32 rq:724867 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-07-30 13:03:51.514408830 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.22127/python-urllib3.changes 
2019-08-22 10:53:09.653693537 +0200
@@ -76 +76 @@
-- update to 1.25 (bsc#1132663, CVE-2019-11236):
+- update to 1.25 (bsc#1132663, CVE-2019-9740, CVE-2019-11236):
@@ -97 +97 @@
-- Update to 1.24.2:
+- Update to 1.24.2 (bsc#1132900, CVE-2019-11324):
@@ -182 +182 @@
-- update to 1.23
+- update to 1.23 (bsc#1119376, CVE-2018-20060)



Other differences:
--



commit python-urllib3 for openSUSE:Factory

2019-07-30 Thread root
Hello community,

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

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


Package is "python-urllib3"

Tue Jul 30 13:03:49 2019 rev:31 rq:717462 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-06-21 09:47:55.999876462 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4126/python-urllib3.changes  
2019-07-30 13:03:51.514408830 +0200
@@ -1,0 +2,7 @@
+Mon Jul 22 07:54:44 UTC 2019 - Tomáš Chvátal 
+
+- Use old pytest 3.x as newer do not work with this release
+  * this will be fixed with next release, just spread among
+numerous fixes in the git for quick backporting
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.m3U8JH/_old  2019-07-30 13:03:52.814408566 +0200
+++ /var/tmp/diff_new_pack.m3U8JH/_new  2019-07-30 13:03:52.814408566 +0200
@@ -67,7 +67,7 @@
 BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module idna}
 BuildRequires:  %{python_module mock >= 1.3.0}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest < 4.0}
 BuildRequires:  %{python_module tornado >= 4.2.1}
 BuildRequires:  %{python_module urllib3 >= %{version}}
 %endif




commit python-urllib3 for openSUSE:Factory

2019-06-21 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-06-21 09:47:52

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


Package is "python-urllib3"

Fri Jun 21 09:47:52 2019 rev:30 rq:711280 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-06-20 11:02:20.273091812 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4811/python-urllib3.changes  
2019-06-21 09:47:55.999876462 +0200
@@ -1,0 +2,9 @@
+Fri Jun 21 06:23:36 UTC 2019 - Dominique Leuenberger 
+
+- Fixup pre script: the migration issue happens when changing from
+  python-urllib3 to python2-urllib3: the number of installed
+  instances of python2-urlliib3 is at this moment 1, unlike in
+  regular updates. This is due to a name change, which consists not
+  of a pure package update.
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.yuoN8m/_old  2019-06-21 09:47:57.307877709 +0200
+++ /var/tmp/diff_new_pack.yuoN8m/_new  2019-06-21 09:47:57.311877713 +0200
@@ -155,8 +155,7 @@
 
 %if ! %{with test}
 %pre -n python2-urllib3
-SITELIB=%{python2_sitelib}
-if [ "$1" -gt 1 ] ; then
+  SITELIB=%{python2_sitelib}
 CONFLICTED="${SITELIB}/urllib3/packages/ssl_match_hostname"
 if [ -d "$CONFLICTED" -a ! -L "$CONFLICTED" ] ; then
 # Change from directory to symlink
@@ -164,7 +163,6 @@
 ln -s ../../backports/ssl_match_hostname \
   $CONFLICTED
fi
-fi
 %endif
 
 %if %{with test}




commit python-urllib3 for openSUSE:Factory

2019-06-20 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-06-20 11:02:18

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


Package is "python-urllib3"

Thu Jun 20 11:02:18 2019 rev:29 rq:711042 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-06-20 07:09:45.853964853 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4811/python-urllib3.changes  
2019-06-20 11:02:20.273091812 +0200
@@ -1,0 +2,7 @@
+Thu Jun 20 07:33:55 UTC 2019 - Dominique Leuenberger 
+
+- Provides/Obsoletes does not fix the issue: we have a
+  directory-to-symlink switch, which cannot be handled by RPM
+  internally. Assist using pre script (boo#1138715).
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.GRuEec/_old  2019-06-20 11:02:21.293093208 +0200
+++ /var/tmp/diff_new_pack.GRuEec/_new  2019-06-20 11:02:21.297093214 +0200
@@ -153,8 +153,22 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
-%check
+%if ! %{with test}
+%pre -n python2-urllib3
+SITELIB=%{python2_sitelib}
+if [ "$1" -gt 1 ] ; then
+CONFLICTED="${SITELIB}/urllib3/packages/ssl_match_hostname"
+if [ -d "$CONFLICTED" -a ! -L "$CONFLICTED" ] ; then
+# Change from directory to symlink
+rm -rfv "$CONFLICTED"
+ln -s ../../backports/ssl_match_hostname \
+  $CONFLICTED
+   fi
+fi
+%endif
+
 %if %{with test}
+%check
 skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn and not TestImportWithoutSSL'
 case $(uname -m) in
 ppc*)




commit python-urllib3 for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-06-20 07:09:38

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


Package is "python-urllib3"

Thu Jun 20 07:09:38 2019 rev:28 rq:710980 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-06-18 14:48:07.773702864 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4811/python-urllib3.changes  
2019-06-20 07:09:45.853964853 +0200
@@ -1,0 +2,6 @@
+Wed Jun 19 15:58:19 UTC 2019 - Stefan Brüns 
+
+- Fix Upgrade from Leap 42.1/42.2 by adding Obsoletes/Provides:
+  python-urllib3, fixes boo#1138746
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.oa28uS/_old  2019-06-20 07:09:47.521967134 +0200
+++ /var/tmp/diff_new_pack.oa28uS/_new  2019-06-20 07:09:47.549967173 +0200
@@ -76,6 +76,8 @@
 %endif
 %ifpython2
 Requires:   python-ipaddress
+Obsoletes:  python-urllib3 <= %{version}
+Provides:   python-urllib3 = %{version}
 %endif
 %python_subpackages
 




commit python-urllib3 for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-06-18 14:48:06

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


Package is "python-urllib3"

Tue Jun 18 14:48:06 2019 rev:27 rq:708287 version:1.25.3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-04-20 17:12:14.378839722 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.4811/python-urllib3.changes  
2019-06-18 14:48:07.773702864 +0200
@@ -1,0 +2,64 @@
+Fri Jun  7 11:40:05 UTC 2019 - Tomáš Chvátal 
+
+- Skip test_source_address_error as we raise different error with
+  fixes that we provide in new python2/3
+
+---
+Wed May 29 08:59:29 UTC 2019 - Tomáš Chvátal 
+
+- Add more test to skip as with new openssl some behaviour changed
+  and we can't rely on them anymore
+
+---
+Wed May 29 08:20:27 UTC 2019 - Tomáš Chvátal 
+
+- Unbundle the six, rfc3986, and backports.ssl_match_hostname
+
+---
+Fri May 24 19:16:21 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.25.3:
+  * Change HTTPSConnection to load system CA certificates when ca_certs, 
ca_cert_dir, and ssl_context are unspecified. (Pull #1608, Issue #1603)
+  * Upgrade bundled rfc3986 to v1.3.2. (Pull #1609, Issue #1605)
+
+---
+Mon May  6 11:18:36 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.25.2:
+  * Change is_ipaddress to not detect IPvFuture addresses. (Pull #1583)
+  * Change parse_url to percent-encode invalid characters within the path, 
query, and target components. (Pull #1586)
+  * Add support for Google's Brotli package. (Pull #1572, Pull #1579)
+  * Upgrade bundled rfc3986 to v1.3.1 (Pull #1578)
+- Require all the deps from the secure list rather than Recommend.
+  This makes the check to be run always and ensure the urls are
+  "secure".
+- Remove ndg-httpsclient as it is not needed since 2015
+
+---
+Tue Apr 23 10:27:36 UTC 2019 - Tomáš Chvátal 
+
+- Add missing dependency on brotlipy
+- Fix the tests to pass again
+
+---
+Tue Apr 23 04:04:50 UTC 2019 - Thomas Bechtold 
+
+- update to 1.25 (bsc#1132663, CVE-2019-11236):
+  * Require and validate certificates by default when using HTTPS
+  * Upgraded ``urllib3.utils.parse_url()`` to be RFC 3986 compliant.
+  * Added support for ``key_password`` for ``HTTPSConnectionPool`` to use
+encrypted ``key_file`` without creating your own ``SSLContext`` object.
+  * Add TLSv1.3 support to CPython, pyOpenSSL, and SecureTransport 
``SSLContext``
+implementations. (Pull #1496)
+  * Switched the default multipart header encoder from RFC 2231 to HTML 5 
working draft.
+  * Fixed issue where OpenSSL would block if an encrypted client private key 
was
+given and no password was given. Instead an ``SSLError`` is raised.
+  * Added support for Brotli content encoding. It is enabled automatically if
+  ``brotlipy`` package is installed which can be requested with
+  ``urllib3[brotli]`` extra.
+  * Drop ciphers using DSS key exchange from default TLS cipher suites.
+Improve default ciphers when using SecureTransport.
+  * Implemented a more efficient ``HTTPResponse.__iter__()`` method.
+- Drop urllib3-test-ssl-drop-sslv3.patch . No longer needed
+
+---

Old:

  urllib3-1.24.2.tar.gz
  urllib3-test-ssl-drop-sslv3.patch

New:

  ssl_match_hostname_py3.py
  urllib3-1.25.3.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.1Rcr0C/_old  2019-06-18 14:48:08.533702705 +0200
+++ /var/tmp/diff_new_pack.1Rcr0C/_new  2019-06-18 14:48:08.537702704 +0200
@@ -18,55 +18,62 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
-
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%define test 1
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
-%if %{with test}
-Name:   python-urllib3-%{flavor}
-%else
-Name:   python-urllib3
-%endif
-Version:1.24.2
+Name:   python-urllib3%{psuffix}
+Version:1.25.3
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
 URL:

commit python-urllib3 for openSUSE:Factory

2019-04-20 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-04-20 17:12:08

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


Package is "python-urllib3"

Sat Apr 20 17:12:08 2019 rev:26 rq:695347 version:1.24.2

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2019-01-03 18:04:49.292236716 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.5536/python-urllib3.changes  
2019-04-20 17:12:14.378839722 +0200
@@ -1,0 +2,31 @@
+Thu Apr 18 00:02:07 CEST 2019 - Matej Cepl 
+
+- Update to 1.24.2:
+  - Implemented a more efficient HTTPResponse.__iter__() method.
+(Issue #1483)
+  - Upgraded urllib3.utils.parse_url() to be RFC 3986 compliant.
+(Pull #1487)
+  - Remove Authorization header regardless of case when
+redirecting to cross-site. (Issue #1510)
+  - Added support for key_password for HTTPSConnectionPool to use
+encrypted key_file without creating your own SSLContext
+object. (Pull #1489)
+  - Fixed issue where OpenSSL would block if an encrypted client
+private key was given and no password was given. Instead an
+SSLError is raised. (Pull #1489)
+  - Require and validate certificates by default when using HTTPS
+(Pull #1507)
+  - Added support for Brotli content encoding. It is enabled
+automatically if brotlipy package is installed which can be
+requested with urllib3[brotli] extra. (Pull #1532)
+  - Add TLSv1.3 support to CPython, pyOpenSSL, and
+SecureTransport SSLContext implementations. (Pull #1496)
+  - Drop ciphers using DSS key exchange from default TLS cipher
+suites. Improve default ciphers when using SecureTransport.
+(Pull #1496)
+  - Add support for IPv6 addresses in subjectAltName section of
+certificates. (Issue #1269)
+  - Switched the default multipart header encoder from RFC 2231
+to HTML 5 working draft. (Issue #303, PR #1492)
+
+---

Old:

  urllib3-1.24.1.tar.gz

New:

  urllib3-1.24.2.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.ownbl4/_old  2019-04-20 17:12:16.318842650 +0200
+++ /var/tmp/diff_new_pack.ownbl4/_new  2019-04-20 17:12:16.322842656 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# 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
@@ -31,7 +31,7 @@
 %else
 Name:   python-urllib3
 %endif
-Version:1.24.1
+Version:1.24.2
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT

++ urllib3-1.24.1.tar.gz -> urllib3-1.24.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.24.1/CHANGES.rst 
new/urllib3-1.24.2/CHANGES.rst
--- old/urllib3-1.24.1/CHANGES.rst  2018-11-02 20:08:50.0 +0100
+++ new/urllib3-1.24.2/CHANGES.rst  2019-04-17 19:47:29.0 +0200
@@ -1,12 +1,23 @@
 Changes
 ===
 
+1.24.2 (2019-04-17)
+---
+
+* Don't load system certificates by default when any other ``ca_certs``, 
``ca_certs_dir`` or
+  ``ssl_context`` parameters are specified.
+
+* Remove Authorization header regardless of case when redirecting to 
cross-site. (Issue #1510)
+ 
+* Add support for IPv6 addresses in subjectAltName section of certificates. 
(Issue #1269)
+
+
 1.24.1 (2018-11-02)
 ---
 
 * Remove quadratic behavior within ``GzipDecoder.decompress()`` (Issue #1467)
 
-* Restored functionality of `ciphers` parameter for 
`create_urllib3_context()`. (Issue #1462)
+* Restored functionality of ``ciphers`` parameter for 
``create_urllib3_context()``. (Issue #1462)
 
 
 1.24 (2018-10-16)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.24.1/CONTRIBUTORS.txt 
new/urllib3-1.24.2/CONTRIBUTORS.txt
--- old/urllib3-1.24.1/CONTRIBUTORS.txt 2018-10-16 19:45:39.0 +0200
+++ new/urllib3-1.24.2/CONTRIBUTORS.txt 2019-04-17 19:46:49.0 +0200
@@ -272,5 +272,8 @@
 * Justin Bramley 
   * Add ability to handle multiple Content-Encodings
 
+* Katsuhiko YOSHIDA 
+  * Remove Authorization header regardless of case when redirecting to 
cross-site
+
 * [Your name or handle] <[email or website]>
   * [Brief summary of your changes]
diff -urN '--exclude=CVS' 

commit python-urllib3 for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2019-01-03 18:04:48

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


Package is "python-urllib3"

Thu Jan  3 18:04:48 2019 rev:25 rq:662088 version:1.24.1

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-11-06 15:35:09.543632497 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new.28833/python-urllib3.changes 
2019-01-03 18:04:49.292236716 +0100
@@ -1,0 +2,9 @@
+Sun Dec 30 18:20:59 CET 2018 - mc...@suse.com
+
+- Update to 1.24.1:
+  * Remove quadratic behavior within GzipDecoder.decompress()
+(Issue #1467)
+  * Restored functionality of ciphers parameter for
+create_urllib3_context(). (Issue #1462)
+
+---

Old:

  urllib3-1.24.tar.gz

New:

  urllib3-1.24.1.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.aNJ8S5/_old  2019-01-03 18:04:50.024236065 +0100
+++ /var/tmp/diff_new_pack.aNJ8S5/_new  2019-01-03 18:04:50.028236062 +0100
@@ -31,7 +31,7 @@
 %else
 Name:   python-urllib3
 %endif
-Version:1.24
+Version:1.24.1
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT

++ python-urllib3-recent-date.patch ++
--- /var/tmp/diff_new_pack.aNJ8S5/_old  2019-01-03 18:04:50.060236033 +0100
+++ /var/tmp/diff_new_pack.aNJ8S5/_new  2019-01-03 18:04:50.060236033 +0100
@@ -13,11 +13,9 @@
  src/urllib3/connection.py | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
 
-Index: urllib3-1.23/urllib3/connection.py
-===
 urllib3-1.23.orig/src/urllib3/connection.py
-+++ urllib3-1.23/src/urllib3/connection.py
-@@ -60,7 +60,7 @@ port_by_scheme = {
+--- a/src/urllib3/connection.py
 b/src/urllib3/connection.py
+@@ -59,7 +59,7 @@ port_by_scheme = {
  # and not less than 6 months ago.
  # Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or
  # after 2016-01-01 (today - 2 years) AND before 2017-07-01 (today - 6 months)

++ urllib3-1.24.tar.gz -> urllib3-1.24.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.24/CHANGES.rst 
new/urllib3-1.24.1/CHANGES.rst
--- old/urllib3-1.24/CHANGES.rst2018-10-16 19:46:06.0 +0200
+++ new/urllib3-1.24.1/CHANGES.rst  2018-11-02 20:08:50.0 +0100
@@ -1,6 +1,14 @@
 Changes
 ===
 
+1.24.1 (2018-11-02)
+---
+
+* Remove quadratic behavior within ``GzipDecoder.decompress()`` (Issue #1467)
+
+* Restored functionality of `ciphers` parameter for 
`create_urllib3_context()`. (Issue #1462)
+
+
 1.24 (2018-10-16)
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.24/PKG-INFO new/urllib3-1.24.1/PKG-INFO
--- old/urllib3-1.24/PKG-INFO   2018-10-16 19:48:33.0 +0200
+++ new/urllib3-1.24.1/PKG-INFO 2018-11-02 20:11:08.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: urllib3
-Version: 1.24
+Version: 1.24.1
 Summary: HTTP library with thread-safe connection pooling, file post, and more.
 Home-page: https://urllib3.readthedocs.io/
 Author: Andrey Petrov
@@ -119,6 +119,14 @@
 Changes
 ===
 
+1.24.1 (2018-11-02)
+---
+
+* Remove quadratic behavior within ``GzipDecoder.decompress()`` (Issue 
#1467)
+
+* Restored functionality of `ciphers` parameter for 
`create_urllib3_context()`. (Issue #1462)
+
+
 1.24 (2018-10-16)
 -
 
@@ -1089,5 +1097,5 @@
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Software Development :: Libraries
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
-Provides-Extra: secure
 Provides-Extra: socks
+Provides-Extra: secure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urllib3-1.24/dev-requirements.txt 
new/urllib3-1.24.1/dev-requirements.txt
--- old/urllib3-1.24/dev-requirements.txt   2018-10-16 19:45:39.0 
+0200
+++ new/urllib3-1.24.1/dev-requirements.txt 2018-11-02 20:07:12.0 
+0100
@@ -7,7 +7,8 @@
 PySocks==1.6.8
 pkginfo==1.4.2
 pytest-timeout==1.3.1
-pytest==3.6.4
+pytest==3.8.2
 # https://github.com/GoogleCloudPlatform/python-repo-tools/issues/23
 pylint<2.0;python_version<="2.7"
 gcp-devrel-py-tools==0.0.15
+pluggy==0.8.0
diff -urN 

commit python-urllib3 for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-11-06 15:35:04

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


Package is "python-urllib3"

Tue Nov  6 15:35:04 2018 rev:24 rq:645906 version:1.24

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-09-18 11:37:05.932310834 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-11-06 15:35:09.543632497 +0100
@@ -1,0 +2,19 @@
+Thu Nov  1 14:14:34 UTC 2018 - Tomáš Chvátal 
+
+- Update to 1.24:
+  * Allow key_server_hostname to be specified when initializing a PoolManager 
to allow custom SNI to be overridden. (Pull #1449)
+  * Test against Python 3.7 on AppVeyor. (Pull #1453)
+  * Early-out ipv6 checks when running on App Engine. (Pull #1450)
+  * Change ambiguous description of backoff_factor (Pull #1436)
+  * Add ability to handle multiple Content-Encodings (Issue #1441 and Pull 
#1442)
+  * Skip DNS names that can't be idna-decoded when using pyOpenSSL (Issue 
#1405).
+  * Add a server_hostname parameter to HTTPSConnection which allows for 
overriding the SNI hostname sent in the handshake. (Pull #1397)
+  * Drop support for EOL Python 2.6 (Pull #1429 and Pull #1430)
+  * Fixed bug where responses with header Content-Type: message/* erroneously 
raised HeaderParsingError, resulting in a warning being logged. (Pull #1439)
+  * Move urllib3 to src/urllib3 (Pull #1409)
+- Drop patch 1414.patch merged upstream
+- Refresh patches:
+  * python-urllib3-recent-date.patch
+  * urllib3-ssl-default-context.patch
+
+---

Old:

  1414.patch
  urllib3-1.23.tar.gz

New:

  urllib3-1.24.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.iVdcYN/_old  2018-11-06 15:35:12.287628341 +0100
+++ /var/tmp/diff_new_pack.iVdcYN/_new  2018-11-06 15:35:12.287628341 +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/
 #
 
 
@@ -31,15 +31,13 @@
 %else
 Name:   python-urllib3
 %endif
-Version:1.23
+Version:1.24
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
 URL:http://urllib3.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM -- tornado 5.x support for tests
-Patch1: 1414.patch
 # PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
 # should be removed in the future, see SR#437853
 Patch2: urllib3-ssl-default-context.patch
@@ -92,11 +90,8 @@
 
 %prep
 %setup -q -n urllib3-%{version}
-%patch1 -p1
 %patch2 -p1
-%if %(python3 -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == 
"True"
 %patch3 -p1
-%endif
 %patch4 -p1
 find . -type f -exec chmod a-x '{}' \;
 
@@ -127,7 +122,7 @@
 --ignore=test/with_dummyserver/test_proxy_poolmanager.py \
 --ignore=test/with_dummyserver/test_poolmanager.py \
 -k "${skiplist}" \
-urllib3 test}
+src/urllib3 test}
 rm -rf %{buildroot}%{_libexecdir}/python*
 %endif
 

++ python-urllib3-recent-date.patch ++
--- /var/tmp/diff_new_pack.iVdcYN/_old  2018-11-06 15:35:12.319628292 +0100
+++ /var/tmp/diff_new_pack.iVdcYN/_new  2018-11-06 15:35:12.319628292 +0100
@@ -10,13 +10,13 @@
 
 Fixes #1303
 ---
- urllib3/connection.py | 6 +++---
+ src/urllib3/connection.py | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 Index: urllib3-1.23/urllib3/connection.py
 ===
 urllib3-1.23.orig/urllib3/connection.py
-+++ urllib3-1.23/urllib3/connection.py
+--- urllib3-1.23.orig/src/urllib3/connection.py
 urllib3-1.23/src/urllib3/connection.py
 @@ -60,7 +60,7 @@ port_by_scheme = {
  # and not less than 6 months ago.
  # Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or

++ urllib3-1.23.tar.gz -> urllib3-1.24.tar.gz ++
 23037 lines of diff (skipped)

++ urllib3-ssl-default-context.patch ++
--- /var/tmp/diff_new_pack.iVdcYN/_old  2018-11-06 15:35:12.439628110 +0100
+++ /var/tmp/diff_new_pack.iVdcYN/_new  2018-11-06 15:35:12.439628110 +0100
@@ -1,7 +1,7 @@
-Index: 

commit python-urllib3 for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-09-18 11:36:50

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


Package is "python-urllib3"

Tue Sep 18 11:36:50 2018 rev:23 rq:634983 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-08-31 09:51:36.849557908 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-09-18 11:37:05.932310834 +0200
@@ -1,0 +2,6 @@
+Fri Sep  7 14:45:38 CEST 2018 - mc...@suse.com
+
+- Switch to multibuild to minize requirements for providing
+  urllib3 module.
+
+---

New:

  _multibuild



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.OLo91N/_old  2018-09-18 11:37:08.908307675 +0200
+++ /var/tmp/diff_new_pack.OLo91N/_new  2018-09-18 11:37:08.908307675 +0200
@@ -18,7 +18,19 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
+
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define test 1
+%bcond_without test
+%else
+%bcond_with test
+%endif
+%if %{with test}
+Name:   python-urllib3-%{flavor}
+%else
 Name:   python-urllib3
+%endif
 Version:1.23
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
@@ -36,12 +48,15 @@
 # PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
 Patch4: python-urllib3-recent-date.patch
 BuildRequires:  %{python_module PySocks}
-BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module tornado >= 4.2.1}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module mock >= 1.3.0}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module tornado >= 4.2.1}
+%endif
 #!BuildIgnore:  python-requests
 BuildArch:  noarch
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
@@ -90,10 +105,14 @@
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand \
+$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
+$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/urllib3/
+%fdupes %{buildroot}%{$python_sitelib}
+}
 
 %check
-
+%if %{with test}
 skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn'
 case $(uname -m) in
 ppc*)
@@ -109,11 +128,15 @@
 --ignore=test/with_dummyserver/test_poolmanager.py \
 -k "${skiplist}" \
 urllib3 test}
+rm -rf %{buildroot}%{_libexecdir}/python*
+%endif
 
 %files %{python_files}
 %license LICENSE.txt
 %doc CHANGES.rst CONTRIBUTORS.txt README.rst
+%if ! %{with test}
 %{python_sitelib}/urllib3
 %{python_sitelib}/urllib3-%{version}-py*.egg-info
+%endif
 
 %changelog

++ _multibuild ++

  test




commit python-urllib3 for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-08-31 09:51:35

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


Package is "python-urllib3"

Fri Aug 31 09:51:35 2018 rev:22 rq:631981 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-08-28 09:20:17.208046540 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-08-31 09:51:36.849557908 +0200
@@ -1,0 +2,5 @@
+Tue Aug 21 11:39:09 UTC 2018 - dmuel...@suse.com
+
+- fix dependency again for passing tests for python 2.x
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.4nkMWa/_old  2018-08-31 09:51:37.685560012 +0200
+++ /var/tmp/diff_new_pack.4nkMWa/_new  2018-08-31 09:51:37.685560012 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:   python-urllib3
 Version:1.23
 Release:0
@@ -50,6 +51,8 @@
 Recommends: python-ndg-httpsclient
 Recommends: python-pyOpenSSL
 %endif
+# for SSL module on older distros
+BuildRequires:  %{oldpython}
 BuildRequires:  python2-ipaddress
 %ifpython2
 Requires:   python-ipaddress




commit python-urllib3 for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-08-28 09:20:15

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


Package is "python-urllib3"

Tue Aug 28 09:20:15 2018 rev:21 rq:630478 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-08-15 10:38:28.928301249 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-08-28 09:20:17.208046540 +0200
@@ -1,0 +2,10 @@
+Mon Aug 20 08:19:15 UTC 2018 - tchva...@suse.com
+
+- Do not use ifpython2 for BRs where it does not work
+
+---
+Mon Aug 20 08:13:30 UTC 2018 - dmuel...@suse.com
+
+- add python-ipaddress dependency for python 2.x
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.Zpyuey/_old  2018-08-28 09:20:18.616051019 +0200
+++ /var/tmp/diff_new_pack.Zpyuey/_new  2018-08-28 09:20:18.620051031 +0200
@@ -50,6 +50,10 @@
 Recommends: python-ndg-httpsclient
 Recommends: python-pyOpenSSL
 %endif
+BuildRequires:  python2-ipaddress
+%ifpython2
+Requires:   python-ipaddress
+%endif
 %python_subpackages
 
 %description




commit python-urllib3 for openSUSE:Factory

2018-08-15 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-08-15 10:38:28

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


Package is "python-urllib3"

Wed Aug 15 10:38:28 2018 rev:20 rq:629208 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-07-21 10:08:56.763188254 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-08-15 10:38:28.928301249 +0200
@@ -102,0 +103,5 @@
+Wed May 17 12:37:11 CEST 2017 - lchiqui...@suse.de
+
+- Relax python-nose version requirement on SLE 12 (fate#321630)
+
+---



Other differences:
--



commit python-urllib3 for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-07-21 10:08:55

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


Package is "python-urllib3"

Sat Jul 21 10:08:55 2018 rev:19 rq:623593 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-07-17 09:38:04.670219077 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-07-21 10:08:56.763188254 +0200
@@ -1,0 +2,5 @@
+Wed Jul 18 09:19:49 UTC 2018 - tchva...@suse.com
+
+- Drop not needed devel and nose deps
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.ADYGgO/_old  2018-07-21 10:08:57.487188088 +0200
+++ /var/tmp/diff_new_pack.ADYGgO/_new  2018-07-21 10:08:57.487188088 +0200
@@ -35,9 +35,7 @@
 # PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
 Patch4: python-urllib3-recent-date.patch
 BuildRequires:  %{python_module PySocks}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module mock >= 1.3.0}
-BuildRequires:  %{python_module nose >= 1.3.7}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado >= 4.2.1}




commit python-urllib3 for openSUSE:Factory

2018-07-17 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-07-17 09:38:01

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


Package is "python-urllib3"

Tue Jul 17 09:38:01 2018 rev:18 rq:622952 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-03-12 12:06:02.119682708 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-07-17 09:38:04.670219077 +0200
@@ -1,0 +2,22 @@
+Sun Jul 15 22:30:26 UTC 2018 - mimi...@gmail.com
+
+- update to 1.23
+- add 1414.patch - fix tests with new tornado
+- refresh python-urllib3-recent-date.patch
+- drop urllib3-test-no-coverage.patch
+ * Allow providing a list of headers to strip from requests when redirecting 
+   to a different host. Defaults to the Authorization header. Different
+   headers can be set via Retry.remove_headers_on_redirect.
+ * Fix util.selectors._fileobj_to_fd to accept long
+ * Dropped Python 3.3 support.
+ * Put the connection back in the pool when calling stream()
+   or read_chunked() on a chunked HEAD response.
+ * Fixed pyOpenSSL-specific ssl client authentication issue when clients
+   attempted to auth via certificate + chain
+ * Add the port to the connectionpool connect print
+ * Don't use the uuid module to create multipart data boundaries.
+ * read_chunked() on a closed response returns no chunks.
+ * Add Python 2.6 support to contrib.securetransport
+ * Added support for auth info in url for SOCKS proxy
+
+---

Old:

  urllib3-1.22.tar.gz
  urllib3-test-no-coverage.patch

New:

  1414.patch
  urllib3-1.23.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.Ybmebm/_old  2018-07-17 09:38:05.446216373 +0200
+++ /var/tmp/diff_new_pack.Ybmebm/_new  2018-07-17 09:38:05.446216373 +0200
@@ -18,15 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-urllib3
-Version:1.22
+Version:1.23
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
-Url:http://urllib3.readthedocs.org/
+URL:http://urllib3.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
-Patch1: urllib3-test-no-coverage.patch
+# PATCH-FIX-UPSTREAM -- tornado 5.x support for tests
+Patch1: 1414.patch
 # PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
 # should be removed in the future, see SR#437853
 Patch2: urllib3-ssl-default-context.patch
@@ -34,8 +34,6 @@
 Patch3: urllib3-test-ssl-drop-sslv3.patch
 # PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
 Patch4: python-urllib3-recent-date.patch
-BuildRequires:  python-rpm-macros
-#!BuildIgnore: python-requests
 BuildRequires:  %{python_module PySocks}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module mock >= 1.3.0}
@@ -43,15 +41,17 @@
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado >= 4.2.1}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+#!BuildIgnore:  python-requests
+BuildArch:  noarch
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
-Recommends: python-pyOpenSSL
+Recommends: ca-certificates-mozilla
 Recommends: python-cryptography
 Recommends: python-idna
 Recommends: python-ndg-httpsclient
-Recommends: ca-certificates-mozilla
+Recommends: python-pyOpenSSL
 %endif
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -78,16 +78,18 @@
 %patch3 -p1
 %endif
 %patch4 -p1
+find . -type f -exec chmod a-x '{}' \;
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 
-skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout'
+skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout and not test_request_host_header_ignores_fqdn_dot and not 
test_dotted_fqdn'
 case $(uname -m) in
 ppc*)
 skiplist="$skiplist and not test_select_timing and not 
test_select_multiple_interrupts_with_event and not 
test_interrupt_wait_for_read_with_event and not 

commit python-urllib3 for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-03-12 12:06:00

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


Package is "python-urllib3"

Mon Mar 12 12:06:00 2018 rev:17 rq:583999 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-02-15 13:19:41.380646254 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-03-12 12:06:02.119682708 +0100
@@ -1,0 +2,10 @@
+Wed Mar  7 15:52:54 UTC 2018 - apla...@suse.com
+
+- Allows Recommends and Suggest in Fedora
+
+---
+Tue Feb 27 18:42:40 UTC 2018 - apla...@suse.com
+
+- Recommends only for SUSE
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.iruozi/_old  2018-03-12 12:06:04.019614612 +0100
+++ /var/tmp/diff_new_pack.iruozi/_new  2018-03-12 12:06:04.039613895 +0100
@@ -43,11 +43,13 @@
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado >= 4.2.1}
+%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Recommends: python-pyOpenSSL
 Recommends: python-cryptography
 Recommends: python-idna
 Recommends: python-ndg-httpsclient
 Recommends: ca-certificates-mozilla
+%endif
 BuildArch:  noarch
 
 %python_subpackages




commit python-urllib3 for openSUSE:Factory

2018-02-15 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-02-15 13:19:34

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


Package is "python-urllib3"

Thu Feb 15 13:19:34 2018 rev:16 rq:575768 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2018-01-01 22:10:12.277313667 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-02-15 13:19:41.380646254 +0100
@@ -1,0 +2,5 @@
+Mon Feb 12 12:14:42 UTC 2018 - norm...@linux.vnet.ibm.com
+
+- disable more flaky tests specifically for PowerPC
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.4ngK2g/_old  2018-02-15 13:19:43.508569129 +0100
+++ /var/tmp/diff_new_pack.4ngK2g/_new  2018-02-15 13:19:43.516568839 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# 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
@@ -84,6 +84,13 @@
 %python_install
 
 %check
+
+skiplist='not test_select_interrupt_exception and not test_selector_error and 
not timeout'
+case $(uname -m) in
+ppc*)
+skiplist="$skiplist and not test_select_timing and not 
test_select_multiple_interrupts_with_event and not 
test_interrupt_wait_for_read_with_event and not 
test_select_interrupt_with_event";;
+esac
+
 rm -rf build
 # pretend to be TRAVIS (this triggers timing tolerance)
 export TRAVIS=1
@@ -91,7 +98,7 @@
 --ignore=test/appengine \
 --ignore=test/with_dummyserver/test_proxy_poolmanager.py \
 --ignore=test/with_dummyserver/test_poolmanager.py \
--k 'not test_select_interrupt_exception and not 
test_selector_error and not timeout' \
+-k "${skiplist}" \
 urllib3 test}
 
 %files %{python_files}




commit python-urllib3 for openSUSE:Factory

2018-01-01 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2018-01-01 22:09:50

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


Package is "python-urllib3"

Mon Jan  1 22:09:50 2018 rev:15 rq:560898 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2017-10-28 14:17:35.668524482 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2018-01-01 22:10:12.277313667 +0100
@@ -1,0 +2,6 @@
+Sun Dec 31 14:39:03 UTC 2017 - dims...@opensuse.org
+
+- Add python-urllib3-recent-date.patch: Fix test suite, use correct
+  date (gh#shazow/urllib3#1303, boo#1074247).
+
+---

New:

  python-urllib3-recent-date.patch



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.6IVjYc/_old  2018-01-01 22:10:14.456586097 +0100
+++ /var/tmp/diff_new_pack.6IVjYc/_new  2018-01-01 22:10:14.460584763 +0100
@@ -32,6 +32,8 @@
 Patch2: urllib3-ssl-default-context.patch
 # PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
 Patch3: urllib3-test-ssl-drop-sslv3.patch
+# PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, 
boo#1074247 dims...@opensuse.org -- Fix test suite, use correct date
+Patch4: python-urllib3-recent-date.patch
 BuildRequires:  python-rpm-macros
 #!BuildIgnore: python-requests
 BuildRequires:  %{python_module PySocks}
@@ -73,6 +75,7 @@
 %if %(python3 -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == 
"True"
 %patch3 -p1
 %endif
+%patch4 -p1
 
 %build
 %python_build

++ python-urllib3-recent-date.patch ++
>From fc27a8ed4203084c97fd1260d2566255c35ca945 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger 
Date: Sun, 31 Dec 2017 15:11:16 +0100
Subject: [PATCH] Move RECENT_DATE to 2017-06-30

The test suite expects the current date to be no more than two years in the 
future
of RECENT_DATE, which just serves as a reference point.

Also clarify the comment about how to update RECENT_DATE

Fixes #1303
---
 urllib3/connection.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/urllib3/connection.py b/urllib3/connection.py
index 06bcbde..9ea04bb 100644
--- a/urllib3/connection.py
+++ b/urllib3/connection.py
@@ -57,9 +57,9 @@ port_by_scheme = {
 }
 
 # When updating RECENT_DATE, move it to
-# within two years of the current date, and no
-# earlier than 6 months ago.
-RECENT_DATE = datetime.date(2016, 1, 1)
+# within two years of the current date, and not
+# less than 6 months ago.
+RECENT_DATE = datetime.date(2017, 6, 30)
 
 
 class DummyConnection(object):
-- 
2.15.1




commit python-urllib3 for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2017-10-28 14:17:34

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


Package is "python-urllib3"

Sat Oct 28 14:17:34 2017 rev:14 rq:535198 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2017-08-14 12:39:15.694391525 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2017-10-28 14:17:35.668524482 +0200
@@ -1,0 +2,5 @@
+Thu Oct 19 11:48:58 UTC 2017 - jmate...@suse.com
+
+- use python3 for detection, in anticipation of python2 removal
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.YqANzL/_old  2017-10-28 14:17:36.528493035 +0200
+++ /var/tmp/diff_new_pack.YqANzL/_new  2017-10-28 14:17:36.528493035 +0200
@@ -70,7 +70,7 @@
 %setup -q -n urllib3-%{version}
 %patch1 -p1
 %patch2 -p1
-%if %(python -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
+%if %(python3 -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == 
"True"
 %patch3 -p1
 %endif
 




commit python-urllib3 for openSUSE:Factory

2017-08-14 Thread root
Hello community,

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

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


Package is "python-urllib3"

Mon Aug 14 12:39:08 2017 rev:13 rq:516172 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2017-06-23 09:17:19.135302240 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2017-08-14 12:39:15.694391525 +0200
@@ -1,0 +2,19 @@
+Fri Aug 11 14:55:33 UTC 2017 - toddrme2...@gmail.com
+
+- Disable tests that timeout
+
+---
+Tue Aug  8 06:57:44 UTC 2017 - tbecht...@suse.com
+
+- update to 1.22:
+  * Fixed missing brackets in ``HTTP CONNECT`` when connecting to IPv6 address 
via
+IPv6 proxy. (Issue #1222)
+  * Made the connection pool retry on ``SSLError``.  The original ``SSLError``
+is available on ``MaxRetryError.reason``. (Issue #1112)
+  * Drain and release connection before recursing on retry/redirect.  Fixes
+deadlocks with a blocking connectionpool. (Issue #1167)
+  * Fixed compatibility for cookiejar. (Issue #1229)
+  * pyopenssl: Use vendored version of ``six``. (Issue #1231)
+- use pytest for running the tests. That is what upstream is doing
+
+---

Old:

  urllib3-1.21.1.tar.gz

New:

  urllib3-1.22.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.pHZ7dF/_old  2017-08-14 12:39:20.985648489 +0200
+++ /var/tmp/diff_new_pack.pHZ7dF/_new  2017-08-14 12:39:20.997646804 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-urllib3
-Version:1.21.1
+Version:1.22
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -38,8 +38,8 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module nose >= 1.3.7}
-BuildRequires:  %{python_module nose-exclude >= 0.4.1}
 BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado >= 4.2.1}
 Recommends: python-pyOpenSSL
 Recommends: python-cryptography
@@ -84,19 +84,12 @@
 rm -rf build
 # pretend to be TRAVIS (this triggers timing tolerance)
 export TRAVIS=1
-%{python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" $python -m nose \
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_timeout
 \
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_pool_timeout
 \
-%if 0%{?suse_version} && 0%{?suse_version} <= 1320
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestIPv6HTTPProxyManager.test_basic_ipv6_proxy
 \
-%endif
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headerdict
 \
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headers
 \
-   
--exclude-test=test.with_dummyserver.test_poolmanager.TestPoolManager.test_headers
 \
-   --exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPv6Addr \
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestIPv6HTTPProxyManager
 \
-   --exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPSAN
-}
+%{python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test \
+--ignore=test/appengine \
+--ignore=test/with_dummyserver/test_proxy_poolmanager.py \
+--ignore=test/with_dummyserver/test_poolmanager.py \
+-k 'not test_select_interrupt_exception and not 
test_selector_error and not timeout' \
+urllib3 test}
 
 %files %{python_files}
 %defattr(-,root,root,-)

++ urllib3-1.21.1.tar.gz -> urllib3-1.22.tar.gz ++
 5209 lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2017-06-23 09:17:15

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


Package is "python-urllib3"

Fri Jun 23 09:17:15 2017 rev:12 rq:504336 version:1.21.1

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2017-04-28 10:38:41.430877541 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2017-06-23 09:17:19.135302240 +0200
@@ -1,0 +2,29 @@
+Sat Jun 10 08:10:33 UTC 2017 - dmuel...@suse.com
+
+- update to 1.21.1:
+  * Fixed SecureTransport issue that would cause long delays in response body
+delivery. (Pull #1154)
+  * Fixed regression in 1.21 that threw exceptions when users passed the
+``socket_options`` flag to the ``PoolManager``.  (Issue #1165)
+  * Fixed regression in 1.21 that threw exceptions when users passed the
+``assert_hostname`` or ``assert_fingerprint`` flag to the ``PoolManager``.
+  * Improved performance of certain selector system calls on Python 3.5 and
+later. (Pull #1095)
+  * Resolved issue where the PyOpenSSL backend would not wrap SysCallError
+exceptions appropriately when sending data. (Pull #1125)
+  * Selectors now detects a monkey-patched select module after import for 
modules
+that patch the select module like eventlet, greenlet. (Pull #1128)
+  * Reduced memory consumption when streaming zlib-compressed responses
+(as opposed to raw deflate streams). (Pull #1129)
+  * Connection pools now use the entire request context when constructing the
+pool key. (Pull #1016)
+  * ``PoolManager.connection_from_*`` methods now accept a new keyword 
argument,
+``pool_kwargs``, which are merged with the existing ``connection_pool_kw``.
+  * Add retry counter for ``status_forcelist``. (Issue #1147)
+  * Added ``contrib`` module for using SecureTransport on macOS:
+``urllib3.contrib.securetransport``.  (Pull #1122)
+  * urllib3 now only normalizes the case of ``http://`` and ``https://`` 
schemes:
+for schemes it does not recognise, it assumes they are case-sensitive and
+leaves them unchanged.
+
+  ---

Old:

  urllib3-1.20.tar.gz

New:

  urllib3-1.21.1.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.XipVWk/_old  2017-06-23 09:17:20.199151918 +0200
+++ /var/tmp/diff_new_pack.XipVWk/_new  2017-06-23 09:17:20.203151353 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-urllib3
-Version:1.20
+Version:1.21.1
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT

++ urllib3-1.20.tar.gz -> urllib3-1.21.1.tar.gz ++
 7023 lines of diff (skipped)

++ urllib3-ssl-default-context.patch ++
--- /var/tmp/diff_new_pack.XipVWk/_old  2017-06-23 09:17:20.347131009 +0200
+++ /var/tmp/diff_new_pack.XipVWk/_new  2017-06-23 09:17:20.347131009 +0200
@@ -1,8 +1,8 @@
-Index: b/urllib3/util/ssl_.py
+Index: urllib3-1.21.1/urllib3/util/ssl_.py
 ===
 a/urllib3/util/ssl_.py
-+++ b/urllib3/util/ssl_.py
-@@ -317,6 +317,8 @@ def ssl_wrap_socket(sock, keyfile=None,
+--- urllib3-1.21.1.orig/urllib3/util/ssl_.py
 urllib3-1.21.1/urllib3/util/ssl_.py
+@@ -318,6 +318,8 @@ def ssl_wrap_socket(sock, keyfile=None,
  elif getattr(context, 'load_default_certs', None) is not None:
  # try to load OS default certs; works well on Windows (require 
Python3.4+)
  context.load_default_certs()

++ urllib3-test-no-coverage.patch ++
--- /var/tmp/diff_new_pack.XipVWk/_old  2017-06-23 09:17:20.363128748 +0200
+++ /var/tmp/diff_new_pack.XipVWk/_new  2017-06-23 09:17:20.363128748 +0200
@@ -1,7 +1,7 @@
-Index: urllib3-1.19.1/setup.cfg
+Index: urllib3-1.21.1/setup.cfg
 ===
 urllib3-1.19.1.orig/setup.cfg
-+++ urllib3-1.19.1/setup.cfg
+--- urllib3-1.21.1.orig/setup.cfg
 urllib3-1.21.1/setup.cfg
 @@ -1,8 +1,5 @@
  [nosetests]
  logging-clear-handlers = true
@@ -10,4 +10,4 @@
 -cover-erase = true
  
  [flake8]
- exclude = ./docs/conf.py,./test/*,./urllib3/packages/*
+ exclude = ./docs/conf.py,./urllib3/packages/*

++ urllib3-test-ssl-drop-sslv3.patch ++
--- /var/tmp/diff_new_pack.XipVWk/_old  2017-06-23 09:17:20.379126488 +0200
+++ /var/tmp/diff_new_pack.XipVWk/_new  2017-06-23 09:17:20.379126488 +0200
@@ -1,8 +1,8 @@
-Index: 

commit python-urllib3 for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2017-04-28 10:38:40

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


Package is "python-urllib3"

Fri Apr 28 10:38:40 2017 rev:11 rq:487848 version:1.20

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2016-12-29 22:52:45.497059664 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2017-04-28 10:38:41.430877541 +0200
@@ -1,0 +2,19 @@
+Tue Mar 14 14:34:45 UTC 2017 - jmate...@suse.com
+
+- merge python3 modifications
+- update for multipython build
+- update to 1.20:
+  * Added support for waiting for I/O using selectors other than select, 
improving urllib3’s behaviour with large numbers of concurrent connections. 
(Pull #1001)
+  * Updated the date for the system clock check. (Issue #1005)
+  * ConnectionPools now correctly consider hostnames to be case-insensitive. 
(Issue #1032)
+  * Outdated versions of PyOpenSSL now cause the PyOpenSSL contrib module to 
fail when it is injected, rather than at first use. (Pull #1063)
+  * Outdated versions of cryptography now cause the PyOpenSSL contrib module 
to fail when it is injected, rather than at first use. (Issue #1044)
+  * Automatically attempt to rewind a file-like body object when a request is 
retried or redirected. (Pull #1039)
+  * Fix some bugs that occur when modules incautiously patch the queue module. 
(Pull #1061)
+  * Prevent retries from occuring on read timeouts for which the request 
method was not in the method whitelist. (Issue #1059)
+  * Changed the PyOpenSSL contrib module to lazily load idna to avoid 
unnecessarily bloating the memory of programs that don’t need it. (Pull #1076)
+  * Add support for IPv6 literals with zone identifiers. (Pull #1013)
+  * Added support for socks5h:// and socks4a:// schemes when working with 
SOCKS proxies, and controlled remote DNS appropriately. (Issue #1035)
+
+
+---

Old:

  urllib3-1.19.1.tar.gz

New:

  urllib3-1.20.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.pqeTnl/_old  2017-04-28 10:38:48.225917056 +0200
+++ /var/tmp/diff_new_pack.pqeTnl/_new  2017-04-28 10:38:48.225917056 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# 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
@@ -16,37 +16,39 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-urllib3
-Version:1.19.1
+Version:1.20
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
 Url:http://urllib3.readthedocs.org/
-Source: 
https://pypi.io/packages/source/u/urllib3/urllib3-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
 Patch1: urllib3-test-no-coverage.patch
 # PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
+# should be removed in the future, see SR#437853
 Patch2: urllib3-ssl-default-context.patch
 # PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
 Patch3: urllib3-test-ssl-drop-sslv3.patch
-BuildRequires:  python-PySocks
+BuildRequires:  python-rpm-macros
 #!BuildIgnore: python-requests
-BuildRequires:  python-devel
-BuildRequires:  python-mock >= 1.3.0
-BuildRequires:  python-nose >= 1.3.7
-BuildRequires:  python-nose-exclude >= 0.4.1
-BuildRequires:  python-tornado >= 4.2.1
+BuildRequires:  %{python_module PySocks}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module mock >= 1.3.0}
+BuildRequires:  %{python_module nose >= 1.3.7}
+BuildRequires:  %{python_module nose-exclude >= 0.4.1}
+BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module tornado >= 4.2.1}
 Recommends: python-pyOpenSSL
-Recommends: python-pyasn1
 Recommends: python-cryptography
+Recommends: python-idna
 Recommends: python-ndg-httpsclient
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print 

commit python-urllib3 for openSUSE:Factory

2016-09-23 Thread h_root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2016-09-23 11:31:26

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2016-05-29 03:14:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2016-09-23 11:31:32.0 +0200
@@ -1,0 +2,19 @@
+Thu Sep  1 19:12:32 UTC 2016 - tbecht...@suse.com
+
+- update to 1.16:
+  * Disable IPv6 DNS when IPv6 connections are not possible. (Issue #840)
+  * Provide ``key_fn_by_scheme`` pool keying mechanism that can be
+overridden. (Issue #830)
+  * Normalize scheme and host to lowercase for pool keys, and include
+``source_address``. (Issue #830)
+  * Cleaner exception chain in Python 3 for ``_make_request``.
+(Issue #861)
+  * Fixed installing ``urllib3[socks]`` extra. (Issue #864)
+  * Fixed signature of ``ConnectionPool.close`` so it can actually safely be
+called by subclasses. (Issue #873)
+  * Retain ``release_conn`` state across retries. (Issues #651, #866)
+  * Add customizable ``HTTPConnectionPool.ResponseCls``, which defaults to
+``HTTPResponse`` but can be replaced with a subclass. (Issue #879)
+- Use pypi.io as Source url
+
+---

Old:

  urllib3-1.15.1.tar.gz

New:

  urllib3-1.16.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.xpMoQD/_old  2016-09-23 11:31:33.0 +0200
+++ /var/tmp/diff_new_pack.xpMoQD/_new  2016-09-23 11:31:33.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   python-urllib3
-Version:1.15.1
+Version:1.16
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
 Url:http://urllib3.readthedocs.org/
-Source: 
https://pypi.python.org/packages/49/26/a7d12ea00cb4b9fa1e13b5980e5a04a1fe7c477eb8f657ce0b757a7a497d/urllib3-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/u/urllib3/urllib3-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
 Patch1: urllib3-test-no-coverage.patch
 # PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied

++ urllib3-1.15.1.tar.gz -> urllib3-1.16.tar.gz ++
 2153 lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2016-05-28 Thread h_root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2016-05-29 03:13:18

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2016-03-26 15:23:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2016-05-29 03:14:26.0 +0200
@@ -1,0 +2,16 @@
+Fri May 20 07:19:50 UTC 2016 - dmuel...@suse.com
+
+- update to 1.15.1:
+  * Fix packaging to include backports module. (Issue #841)
+  * Added Retry(raise_on_status=False). (Issue #720)
+  * Always use setuptools, no more distutils fallback. (Issue #785)
+  * Dropped support for Python 3.2. (Issue #786)
+  * Chunked transfer encoding when requesting with ``chunked=True``.
+  * Fixed regression with IPv6 port parsing. (Issue #801)
+  * Append SNIMissingWarning messages to allow users to specify it in
+the PYTHONWARNINGS environment variable. (Issue #816)
+  * Handle unicode headers in Py2. (Issue #818)
+  * Log certificate when there is a hostname mismatch. (Issue #820)
+  * Preserve order of request/response headers. (Issue #821)
+
+---

Old:

  urllib3-1.14.tar.gz

New:

  urllib3-1.15.1.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.pBRdRo/_old  2016-05-29 03:14:28.0 +0200
+++ /var/tmp/diff_new_pack.pBRdRo/_new  2016-05-29 03:14:28.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   python-urllib3
-Version:1.14
+Version:1.15.1
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
 Group:  Development/Languages/Python
 Url:http://urllib3.readthedocs.org/
-Source: 
https://pypi.python.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
+Source: 
https://pypi.python.org/packages/49/26/a7d12ea00cb4b9fa1e13b5980e5a04a1fe7c477eb8f657ce0b757a7a497d/urllib3-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
 Patch1: urllib3-test-no-coverage.patch
 # PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
@@ -88,7 +88,8 @@

--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headerdict
 \

--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_headers
 \

--exclude-test=test.with_dummyserver.test_poolmanager.TestPoolManager.test_headers
 \
-   --exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPv6Addr
+   --exclude-test=test.with_dummyserver.test_https.TestHTTPS_IPv6Addr \
+   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestIPv6HTTPProxyManager
 
 #%pre
 # previous versions of the package installed .egg-info as a directory,

++ urllib3-1.14.tar.gz -> urllib3-1.15.1.tar.gz ++
 2983 lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2016-03-26 15:23:36

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2015-11-24 22:33:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2016-03-26 15:23:37.0 +0100
@@ -1,0 +2,42 @@
+Wed Mar  2 15:54:26 UTC 2016 - jmate...@suse.com
+
+- change Requires on pyopenssl, pyasn1 into Recommends,
+  add ndg-httpsclient as well
+  (these are dependencies of urrlib3's pyopenssl module, which can be
+  used if native python's ssl capabilities are not good enough)
+
+---
+Thu Feb 11 13:55:13 UTC 2016 - apla...@suse.com
+
+- Update 1.14 source tar.gz from the source
+  * Rebase urllib3-test-no-coverage.patch
+
+---
+Tue Jan  5 14:40:22 UTC 2016 - h...@urpla.net
+
+- Update to Version 1.14 (2015-12-29)
+  * contrib: SOCKS proxy support! (Issue #762)
+  * Fixed AppEngine handling of transfer-encoding header and bug in
+Timeout defaults checking. (Issue #763)
+- Update to Version 1.13.1 (2015-12-18)
+  * Fixed regression in IPv6 + SSL for match_hostname. (Issue #761)
+- Update to Version 1.13 (2015-12-14)
+  * Fixed pip install urllib3[secure] on modern pip. (Issue #706)
+  * pyopenssl: Fixed SSL3_WRITE_PENDING error. (Issue #717)
+  * pyopenssl: Support for TLSv1.1 and TLSv1.2. (Issue #696)
+  * Close connections more defensively on exception. (Issue #734)
+  * Adjusted read_chunked to handle gzipped, chunk-encoded bodies
+without repeatedly flushing the decoder, to function better on 
+Jython. (Issue #743)
+  * Accept ca_cert_dir for SSL-related PoolManager configuration. 
+(Issue #758)
+
+- removed ready-event.patch: applied upstream
+- disabled more dysfunctional tests
+
+---
+Mon Nov 16 17:31:38 UTC 2015 - h...@urpla.net
+
+- restored ability to build with openSUSE <= 13.2
+
+---

Old:

  ready-event.patch
  urllib3-1.12.tar.gz

New:

  urllib3-1.14.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.eL9nLk/_old  2016-03-26 15:23:38.0 +0100
+++ /var/tmp/diff_new_pack.eL9nLk/_new  2016-03-26 15:23:38.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-urllib3
-Version:1.12
+Version:1.14
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -30,16 +30,16 @@
 Patch2: urllib3-ssl-default-context.patch
 # PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
 Patch3: urllib3-test-ssl-drop-sslv3.patch
-# PATCH-FIX-UPSTREAM -- fix race conditions with ready_event state variable in 
timeout tests
-Patch4: ready-event.patch
+BuildRequires:  python-PySocks
 #!BuildIgnore: python-requests
 BuildRequires:  python-devel
 BuildRequires:  python-mock >= 1.3.0
 BuildRequires:  python-nose >= 1.3.7
 BuildRequires:  python-nose-exclude >= 0.4.1
 BuildRequires:  python-tornado >= 4.2.1
-Requires:   python-pyOpenSSL
-Requires:   python-pyasn1
+Recommends: python-pyOpenSSL
+Recommends: python-pyasn1
+Recommends: python-ndg-httpsclient
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %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()")}
@@ -70,7 +70,6 @@
 %if %(python -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
 %patch3 -p1
 %endif
-%patch4 -p1
 
 %build
 python setup.py build
@@ -82,7 +81,14 @@
 rm -rf build
 PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests \

--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_timeout
 \
-   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_pool_timeout
+   

commit python-urllib3 for openSUSE:Factory

2015-11-24 Thread h_root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2015-11-24 22:33:39

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2015-10-20 00:05:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2015-11-24 22:33:53.0 +0100
@@ -1,0 +2,19 @@
+Wed Oct 27 16:33:44 UTC 2015 - jmate...@suse.com
+
+- removed python-certifi dependency, we don't want to use it
+- drop 0001-Don-t-pin-dependency-to-exact-version.patch because it's
+  not needed anymore
+- re-enable tests, re-add relevant dependencies
+  * don't exclude test_util.py
+  * exclude proxy timeout tests that fail for spurious reasons
+- urllib3-ssl-default-context.patch - use set_default_verify_paths()
+  if no certificate path specified and verification not explicitly
+  disabled
+- urllib3-test-ssl-drop-sslv3.patch - don't use "SSLv3" constants
+  in python 2.7.9 and up
+- ready-event.patch - fix race conditions in timeout tests
+- drop %pre section because apparently "egg-info as file" is no longer
+  true and this breaks builds
+
+
+---

Old:

  0001-Don-t-pin-dependency-to-exact-version.patch

New:

  ready-event.patch
  urllib3-ssl-default-context.patch
  urllib3-test-ssl-drop-sslv3.patch



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.FyYajI/_old  2015-11-24 22:33:54.0 +0100
+++ /var/tmp/diff_new_pack.FyYajI/_new  2015-11-24 22:33:54.0 +0100
@@ -24,12 +24,20 @@
 Group:  Development/Languages/Python
 Url:http://urllib3.readthedocs.org/
 Source: 
https://pypi.python.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM speili...@suse.com -- 
https://github.com/shazow/urllib3/pull/361
-Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
 Patch1: urllib3-test-no-coverage.patch
+# PATCH-FEATURE-UPSTREAM -- use set_default_verify_paths() if no certificate 
path is supplied
+Patch2: urllib3-ssl-default-context.patch
+# PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
+Patch3: urllib3-test-ssl-drop-sslv3.patch
+# PATCH-FIX-UPSTREAM -- fix race conditions with ready_event state variable in 
timeout tests
+Patch4: ready-event.patch
+#!BuildIgnore: python-requests
 BuildRequires:  python-devel
-Requires:   python-certifi
+BuildRequires:  python-mock >= 1.3.0
+BuildRequires:  python-nose >= 1.3.7
+BuildRequires:  python-nose-exclude >= 0.4.1
+BuildRequires:  python-tornado >= 4.2.1
 Requires:   python-pyOpenSSL
 Requires:   python-pyasn1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -57,8 +65,12 @@
 
 %prep
 %setup -q -n urllib3-%{version}
-%patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%if %(python -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
+%patch3 -p1
+%endif
+%patch4 -p1
 
 %build
 python setup.py build
@@ -66,12 +78,18 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%pre
+%check
+rm -rf build
+PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests \
+   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_timeout
 \
+   
--exclude-test=test.with_dummyserver.test_proxy_poolmanager.TestHTTPProxyManager.test_https_proxy_pool_timeout
+
+#%pre
 # previous versions of the package installed .egg-info as a directory,
 # the new update now installs it as a file. Clean out the directory, should it 
exist.
-if [ -d %{python_sitelib}/urllib3-%{version}-py*.egg-info ]; then
-  rm -rf %{python_sitelib}/urllib3-%{version}-py*.egg-info
-fi
+#if [ -d %{python_sitelib}/urllib3-%{version}-py*.egg-info ]; then
+#  rm -rf %{python_sitelib}/urllib3-%{version}-py*.egg-info
+#fi
 
 %files
 %defattr(-,root,root,-)

++ ready-event.patch ++
Index: urllib3-1.12/dummyserver/testcase.py
===
--- urllib3-1.12.orig/dummyserver/testcase.py
+++ urllib3-1.12/dummyserver/testcase.py
@@ -45,7 +45,7 @@ class SocketDummyServerTestCase(unittest
 def socket_handler(listener):
 for _ in range(num):
 ready_event.set()
-ready_event.clear()
+#ready_event.clear()
 
 sock = listener.accept()[0]
 consume_socket(sock)
@@ -59,6 +59,11 @@ class SocketDummyServerTestCase(unittest
 

commit python-urllib3 for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

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

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2015-10-08 08:25:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2015-10-20 00:05:10.0 +0200
@@ -1,0 +2,7 @@
+Wed Oct 14 09:35:30 UTC 2015 - toddrme2...@gmail.com
+
+- Delete the system egg-info during pre phase: older versions of
+  the package installed it as a directory, the latest update
+  creates a file, and rpm has known issues with replacing this.
+
+---



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.dPHJpL/_old  2015-10-20 00:05:11.0 +0200
+++ /var/tmp/diff_new_pack.dPHJpL/_new  2015-10-20 00:05:11.0 +0200
@@ -66,10 +66,17 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%pre
+# previous versions of the package installed .egg-info as a directory,
+# the new update now installs it as a file. Clean out the directory, should it 
exist.
+if [ -d %{python_sitelib}/urllib3-%{version}-py*.egg-info ]; then
+  rm -rf %{python_sitelib}/urllib3-%{version}-py*.egg-info
+fi
+
 %files
 %defattr(-,root,root,-)
 %doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst
 %{python_sitelib}/urllib3
-%{python_sitelib}/urllib3-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/urllib3-%{version}-py*.egg-info
 
 %changelog




commit python-urllib3 for openSUSE:Factory

2015-10-08 Thread h_root
Hello community,

here is the log from the commit of package python-urllib3 for openSUSE:Factory 
checked in at 2015-10-08 08:25:24

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


Package is "python-urllib3"

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2014-09-12 10:04:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2015-10-08 08:25:26.0 +0200
@@ -1,0 +2,31 @@
+Tue Oct  6 15:03:05 UTC 2015 - h...@urpla.net
+
+- add python-pyOpenSSL, python-certifi and python-pyasn1 requirements 
+
+---
+Tue Oct  6 12:46:25 UTC 2015 - h...@urpla.net
+
+- Comment out test requirements, as tests are disabled anyway, and 
+  one of these packages depend on python-requests, which depends on
+  this package resulting in a circular dependency for openSUSE <= 13.1
+
+---
+Fri Sep 25 11:24:49 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 1.12
+  * Rely on six for importing httplib to work around conflicts with
+other Python 3 shims. (Issue #688)
+  * Add support for directories of certificate authorities, as 
+supported by OpenSSL. (Issue #701)
+  * New exception: NewConnectionError, raised when we fail to 
+establish a new connection, usually ECONNREFUSED socket error.
+- Fix version dependencies
+- Add new build requirements following upstream changes
+  * python-nose-exclude
+  * python-tox
+  * python-twine
+  * python-wheel
+- Update 0001-Don-t-pin-dependency-to-exact-version.patch 
+- Disable tests for now, as there require network
+
+---

Old:

  urllib3-1.9.tar.gz

New:

  urllib3-1.12.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.BaIy54/_old  2015-10-08 08:25:26.0 +0200
+++ /var/tmp/diff_new_pack.BaIy54/_new  2015-10-08 08:25:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urllib3
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-urllib3
-Version:1.9
+Version:1.12
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -29,10 +29,9 @@
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
 Patch1: urllib3-test-no-coverage.patch
 BuildRequires:  python-devel
-# Test requirements:
-BuildRequires:  python-mock >= 1.0.1
-BuildRequires:  python-nose >= 1.3
-BuildRequires:  python-tornado >= 3.1.1
+Requires:   python-certifi
+Requires:   python-pyOpenSSL
+Requires:   python-pyasn1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %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()")}
@@ -67,10 +66,6 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%check
-rm -rf build
-PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
-
 %files
 %defattr(-,root,root,-)
 %doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst

++ 0001-Don-t-pin-dependency-to-exact-version.patch ++
--- /var/tmp/diff_new_pack.BaIy54/_old  2015-10-08 08:25:26.0 +0200
+++ /var/tmp/diff_new_pack.BaIy54/_new  2015-10-08 08:25:26.0 +0200
@@ -15,17 +15,23 @@
 index 02d70f4..98de1cc 100644
 --- a/dev-requirements.txt
 +++ b/dev-requirements.txt
-@@ -1,5 +1,5 @@
--nose==1.3.3
--mock==1.0.1
--tornado==3.2.2
+@@ -1,8 +1,8 @@
+-nose==1.3.7
+-nose-exclude==0.4.1
+-mock==1.3.0
 -coverage==3.7.1
--tox==1.7.1
-+nose>=1.3.3
-+mock>=1.0.1
-+tornado>=3.2.2
+-tox==2.1.1
+-twine==1.5.0
+-wheel==0.24.0
+-tornado==4.2.1
++nose>=1.3.7
++nose-exclude>=0.4.1
++mock>=1.3.0
 +coverage>=3.7.1
-+tox>=1.7.1
++tox>=2.1.1
++twine>=1.5.0
++wheel>=0.24.0
++tornado>=4.2.1
 -- 
 1.9.0
 

++ urllib3-1.9.tar.gz -> urllib3-1.12.tar.gz ++
 9803 lines of diff (skipped)




commit python-urllib3 for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

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

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


Package is python-urllib3

Changes:

--- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes
2014-03-21 13:34:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes   
2014-09-12 10:04:08.0 +0200
@@ -1,0 +2,54 @@
+Thu Sep 11 12:38:13 UTC 2014 - toddrme2...@gmail.com
+
+- Remove upstreamed 0001-Don-t-install-dummyserver-into-site-packages.patch
+- Rebase 0001-Don-t-pin-dependency-to-exact-version.patch and
+  urllib3-test-no-coverage.patch
+- Update to version 1.9 (2014-07-04)
+  * Shuffled around development-related files. 
+If you're maintaining a distro package of urllib3, you may need 
+to tweak things. (Issue #415)
+  * Unverified HTTPS requests will trigger a warning on the first 
+request. See our new security documentation for details.
+(Issue #426)
+  * New retry logic and urllib3.util.retry.Retry configuration 
+object. (Issue #326)
+  * All raised exceptions should now wrapped in a 
+urllib3.exceptions.HTTPException-extending exception. 
+(Issue #326)
+  * All errors during a retry-enabled request should be wrapped in
+urllib3.exceptions.MaxRetryError, including timeout-related 
+exceptions which were previously exempt. Underlying error is 
+accessible from the .reason propery. (Issue #326)
+  * urllib3.exceptions.ConnectionError renamed to 
+urllib3.exceptions.ProtocolError. (Issue #326)
+  * Errors during response read (such as IncompleteRead) are now
+wrapped in urllib3.exceptions.ProtocolError. (Issue #418)
+  * Requesting an empty host will raise 
+urllib3.exceptions.LocationValueError. (Issue #417)
+  * Catch read timeouts over SSL connections as 
+urllib3.exceptions.ReadTimeoutError. (Issue #419)
+  * Apply socket arguments before connecting. (Issue #427)
+- Update to version 1.8.3 (2014-06-23)
+  * Fix TLS verification when using a proxy in Python 3.4.1. 
+(Issue #385)
+  * Add disable_cache option to urllib3.util.make_headers. 
+(Issue #393)
+  * Wrap socket.timeout exception with 
+urllib3.exceptions.ReadTimeoutError. (Issue #399)
+  * Fixed proxy-related bug where connections were being reused 
+incorrectly. (Issues #366, #369)
+  * Added socket_options keyword parameter which allows to define 
+setsockopt configuration of new sockets. (Issue #397)
+  * Removed HTTPConnection.tcp_nodelay in favor of 
+HTTPConnection.default_socket_options. (Issue #397)
+  * Fixed TypeError bug in Python 2.6.4. (Issue #411)
+- Update to version 1.8.2 (2014-04-17)
+  * Fix urllib3.util not being included in the package.
+- Update to version 1.8.1 (2014-04-17)
+  * Fix AppEngine bug of HTTPS requests going out as HTTP.
+(Issue #356)
+  * Don't install dummyserver into site-packages as it's only 
+needed for the test suite. (Issue #362)
+  * Added support for specifying source_address. (Issue #352)
+
+---

Old:

  0001-Don-t-install-dummyserver-into-site-packages.patch
  urllib3-1.8.tar.gz

New:

  urllib3-1.9.tar.gz



Other differences:
--
++ python-urllib3.spec ++
--- /var/tmp/diff_new_pack.JgFWCd/_old  2014-09-12 10:04:09.0 +0200
+++ /var/tmp/diff_new_pack.JgFWCd/_new  2014-09-12 10:04:09.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-urllib3
-Version:1.8
+Version:1.9
 Release:0
 Summary:HTTP library with thread-safe connection pooling, file post, 
and more
 License:MIT
@@ -26,10 +26,8 @@
 Source: 
https://pypi.python.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM speili...@suse.com -- 
https://github.com/shazow/urllib3/pull/361
 Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch
-# PATCH-FIX-UPSTREAM speili...@suse.com -- 
https://github.com/shazow/urllib3/pull/362
-Patch1: 0001-Don-t-install-dummyserver-into-site-packages.patch
 # PATCH-FIX-OPENSUSE speili...@suse.com -- We need no coverage report
-Patch2: urllib3-test-no-coverage.patch
+Patch1: urllib3-test-no-coverage.patch
 BuildRequires:  python-devel
 # Test requirements:
 BuildRequires:  python-mock = 1.0.1
@@ -62,7 +60,6 @@
 %setup -q -n urllib3-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 python setup.py build
@@ -71,7 +68,8 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-nosetests
+rm -rf build
+PYTHONPATH=%{buildroot}%{python_sitelib}