Hello community,

here is the log from the commit of package python-httpretty for 
openSUSE:Factory checked in at 2020-12-16 10:59:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old)
 and      /work/SRC/openSUSE:Factory/.python-httpretty.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httpretty"

Wed Dec 16 10:59:53 2020 rev:17 rq:855847 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes        
2020-08-25 12:38:01.349406046 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-httpretty.new.2328/python-httpretty.changes  
    2020-12-16 10:59:54.935536186 +0100
@@ -1,0 +2,6 @@
+Mon Dec 14 15:44:23 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Update to 1.0.3
+  * Fix compatibility with urllib3>=1.26. #410 
+
+-------------------------------------------------------------------

Old:
----
  httpretty-1.0.2.tar.gz

New:
----
  httpretty-1.0.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httpretty.spec ++++++
--- /var/tmp/diff_new_pack.aWT5Gk/_old  2020-12-16 10:59:55.679536917 +0100
+++ /var/tmp/diff_new_pack.aWT5Gk/_new  2020-12-16 10:59:55.683536920 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-httpretty
 #
-# Copyright (c) 2020 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-httpretty
-Version:        1.0.2
+Version:        1.0.3
 Release:        0
 Summary:        HTTP client mocking tool for Python
 License:        MIT

++++++ httpretty-1.0.2.tar.gz -> httpretty-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/Makefile new/httpretty-1.0.3/Makefile
--- old/httpretty-1.0.2/Makefile        2020-03-25 01:16:27.000000000 +0100
+++ new/httpretty-1.0.3/Makefile        2020-11-24 21:43:46.000000000 +0100
@@ -5,9 +5,7 @@
 HTML_ROOT              := $(DOCS_ROOT)/build/html
 VENV_ROOT              := $(GIT_ROOT)/.venv
 VENV                   ?= $(VENV_ROOT)
-BENTO_BIN              := $(shell which bento)
 DOCS_INDEX             := $(HTML_ROOT)/index.html
-BENTO_EMAIL            := gabr...@nacaolivre.org
 
 export VENV
 export PYTHONASYNCIODEBUG      :=1
@@ -59,14 +57,11 @@
 docs: $(DOCS_INDEX)
        open $(DOCS_INDEX)
 
-release: | clean bento unit functional tests html
+release: | clean unit functional tests html
        @rm -rf dist/*
        @./.release
        @make pypi
 
-bento: | $(BENTO_BIN)
-       $(BENTO_BIN) --agree --email=$(BENTO_EMAIL) check --all
-
 dist: | clean
        $(VENV)/bin/python setup.py build sdist
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/PKG-INFO new/httpretty-1.0.3/PKG-INFO
--- old/httpretty-1.0.2/PKG-INFO        2020-03-26 14:14:23.000000000 +0100
+++ new/httpretty-1.0.3/PKG-INFO        2020-11-24 21:50:24.000000000 +0100
@@ -1,16 +1,17 @@
 Metadata-Version: 1.2
 Name: httpretty
-Version: 1.0.2
+Version: 1.0.3
 Summary: HTTP client mock for Python
 Home-page: https://httpretty.readthedocs.io
 Author: Gabriel Falcao
 Author-email: gabr...@nacaolivre.org
 License: MIT
-Description: HTTPretty 1.0.2
+Description: HTTPretty 1.0.3
         ===============
         
         HTTP Client mocking tool for Python. Provides a full fake TCP socket 
module. Inspired by `FakeWeb <https://github.com/chrisk/fakeweb>`_
         
+        
         - `Github Repository <https://github.com/gabrielfalcao/HTTPretty>`_
         - `Documentation <https://httpretty.readthedocs.io/en/latest/>`_
         - `PyPI Package <https://pypi.org/project/httpretty/>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/README.rst 
new/httpretty-1.0.3/README.rst
--- old/httpretty-1.0.2/README.rst      2020-03-26 14:14:11.000000000 +0100
+++ new/httpretty-1.0.3/README.rst      2020-11-24 21:50:14.000000000 +0100
@@ -1,8 +1,9 @@
-HTTPretty 1.0.2
+HTTPretty 1.0.3
 ===============
 
 HTTP Client mocking tool for Python. Provides a full fake TCP socket module. 
Inspired by `FakeWeb <https://github.com/chrisk/fakeweb>`_
 
+
 - `Github Repository <https://github.com/gabrielfalcao/HTTPretty>`_
 - `Documentation <https://httpretty.readthedocs.io/en/latest/>`_
 - `PyPI Package <https://pypi.org/project/httpretty/>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/development.txt 
new/httpretty-1.0.3/development.txt
--- old/httpretty-1.0.2/development.txt 2020-03-20 01:54:16.000000000 +0100
+++ new/httpretty-1.0.3/development.txt 2020-09-17 16:40:44.000000000 +0200
@@ -1,3 +1,4 @@
+check-manifest==0.41
 coverage>=5.0.3
 cryptography>=2.8
 eventlet==0.25.1  # issue #254
Binary files old/httpretty-1.0.2/docs/build/doctrees/acks.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/acks.doctree differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/api.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/api.doctree differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/changelog.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/changelog.doctree differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/contributing.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/contributing.doctree differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/environment.pickle and 
new/httpretty-1.0.3/docs/build/doctrees/environment.pickle differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/index.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/index.doctree differ
Binary files old/httpretty-1.0.2/docs/build/doctrees/introduction.doctree and 
new/httpretty-1.0.3/docs/build/doctrees/introduction.doctree differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/docs/source/changelog.rst 
new/httpretty-1.0.3/docs/source/changelog.rst
--- old/httpretty-1.0.2/docs/source/changelog.rst       2020-03-26 
14:10:33.000000000 +0100
+++ new/httpretty-1.0.3/docs/source/changelog.rst       2020-11-24 
21:43:21.000000000 +0100
@@ -1,6 +1,10 @@
 Release Notes
 =============
 
+1.0.3
+-----
+
+- Fix compatibility with urllib3>=1.26. `#410 
<https://github.com/gabrielfalcao/HTTPretty/pull/410>`_
 
 1.0.0
 -----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/httpretty/core.py 
new/httpretty-1.0.3/httpretty/core.py
--- old/httpretty-1.0.2/httpretty/core.py       2020-03-26 00:33:27.000000000 
+0100
+++ new/httpretty-1.0.3/httpretty/core.py       2020-11-24 21:42:12.000000000 
+0100
@@ -703,6 +703,14 @@
                 # calls (or can they?)
                 self.truesock = self.create_socket()
             elif not self.truesock:
+                # Special case for
+                # `hasattr(sock, "version")` call added in urllib3>=1.26.
+                if name == 'version':
+                    raise AttributeError(
+                        "HTTPretty synthesized this error to fix urllib3 
compatibility "
+                        "(see issue 
https://github.com/gabrielfalcao/HTTPretty/issues/409). "
+                        "Please open an issue if this error causes further 
unexpected issues."
+                    )
                 raise UnmockedError()
             return getattr(self.truesock, name)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/httpretty/version.py 
new/httpretty-1.0.3/httpretty/version.py
--- old/httpretty-1.0.2/httpretty/version.py    2020-03-26 14:14:11.000000000 
+0100
+++ new/httpretty-1.0.3/httpretty/version.py    2020-11-24 21:50:14.000000000 
+0100
@@ -1 +1 @@
-version = '1.0.2'
+version = '1.0.3'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpretty-1.0.2/httpretty.egg-info/PKG-INFO 
new/httpretty-1.0.3/httpretty.egg-info/PKG-INFO
--- old/httpretty-1.0.2/httpretty.egg-info/PKG-INFO     2020-03-26 
14:14:23.000000000 +0100
+++ new/httpretty-1.0.3/httpretty.egg-info/PKG-INFO     2020-11-24 
21:50:24.000000000 +0100
@@ -1,16 +1,17 @@
 Metadata-Version: 1.2
 Name: httpretty
-Version: 1.0.2
+Version: 1.0.3
 Summary: HTTP client mock for Python
 Home-page: https://httpretty.readthedocs.io
 Author: Gabriel Falcao
 Author-email: gabr...@nacaolivre.org
 License: MIT
-Description: HTTPretty 1.0.2
+Description: HTTPretty 1.0.3
         ===============
         
         HTTP Client mocking tool for Python. Provides a full fake TCP socket 
module. Inspired by `FakeWeb <https://github.com/chrisk/fakeweb>`_
         
+        
         - `Github Repository <https://github.com/gabrielfalcao/HTTPretty>`_
         - `Documentation <https://httpretty.readthedocs.io/en/latest/>`_
         - `PyPI Package <https://pypi.org/project/httpretty/>`_
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to