Hello community,

here is the log from the commit of package python-mocket for openSUSE:Factory 
checked in at 2020-12-21 12:35:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mocket (Old)
 and      /work/SRC/openSUSE:Factory/.python-mocket.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mocket"

Mon Dec 21 12:35:17 2020 rev:8 rq:856852 version:3.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mocket/python-mocket.changes      
2020-12-12 20:32:10.649840343 +0100
+++ /work/SRC/openSUSE:Factory/.python-mocket.new.5145/python-mocket.changes    
2020-12-21 12:35:21.446957894 +0100
@@ -1,0 +2,13 @@
+Thu Dec 17 17:09:52 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Do not require and test with pook on Python2
+
+-------------------------------------------------------------------
+Thu Dec 17 15:10:50 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Update to version 3.9.4
+  * fix for new version of pip resolver
+- Skip python38 only tests in python36 flavor and python3 flavor
+  if python3 <= 3.8 (Leap)
+
+-------------------------------------------------------------------

Old:
----
  mocket-3.9.3.tar.gz

New:
----
  mocket-3.9.4.tar.gz

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

Other differences:
------------------
++++++ python-mocket.spec ++++++
--- /var/tmp/diff_new_pack.FTwdH9/_old  2020-12-21 12:35:22.282959893 +0100
+++ /var/tmp/diff_new_pack.FTwdH9/_new  2020-12-21 12:35:22.286959902 +0100
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-mocket%{psuffix}
-Version:        3.9.3
+Version:        3.9.4
 Release:        0
 Summary:        Python socket mock framework
 License:        BSD-3-Clause
@@ -53,7 +53,12 @@
 BuildRequires:  %{python_module gevent}
 BuildRequires:  %{python_module http-parser >= 0.9.0}
 BuildRequires:  %{python_module mock}
+%if 0%{suse_version} >= 1550
+# Optional pook is only available for Python 3, but in TW we will have more 
than one flavor
 BuildRequires:  %{python_module pook}
+%else
+BuildRequires:  python3-pook
+%endif
 BuildRequires:  %{python_module pyOpenSSL}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-magic}
@@ -96,8 +101,12 @@
 %if %{with test}
 export LANG=en_US.UTF-8
 export SKIP_TRUE_HTTP=1
-%define pytest_ignore_python2 --ignore tests/tests35 --ignore tests/tests38
-%pytest -k 'not RedisTestCase' %{?pytest_ignore%{$python_version}}
+pytest_python2_ignore="--ignore tests/tests35 --ignore tests/tests38 --ignore 
tests/main/test_pook.py"
+pytest_python36_ignore="--ignore tests/tests38"
+%if %{python3_version_nodots} < 38
+pytest_python3_ignore="--ignore tests/tests38"
+%endif
+%pytest -k 'not RedisTestCase' ${pytest_$python_ignore}
 %endif
 
 %if !%{with test}

++++++ mocket-3.9.3.tar.gz -> mocket-3.9.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/PKG-INFO new/mocket-3.9.4/PKG-INFO
--- old/mocket-3.9.3/PKG-INFO   2020-11-09 11:51:48.694063000 +0100
+++ new/mocket-3.9.4/PKG-INFO   2020-12-02 23:09:34.530291300 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mocket
-Version: 3.9.3
+Version: 3.9.4
 Summary: Socket Mock Framework - for all kinds of socket animals, web-clients 
included -         with gevent/asyncio/SSL support
 Home-page: https://github.com/mindflayer/python-mocket
 Author: Giorgio Salluzzo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/Pipfile new/mocket-3.9.4/Pipfile
--- old/mocket-3.9.3/Pipfile    1970-01-01 01:00:00.000000000 +0100
+++ new/mocket-3.9.4/Pipfile    2020-12-02 23:09:20.000000000 +0100
@@ -0,0 +1,30 @@
+[[source]]
+url = "https://pypi.python.org/simple";
+verify_ssl = true
+name = "pypi"
+
+[packages]
+python-magic = ">=0.4.5"
+six = ">=1.5.0"
+decorator = ">=4.0.0"
+urllib3 = ">=1.25.3"
+http-parser = ">=0.9.0"
+
+[dev-packages]
+pre-commit = "*"
+pytest = ">4.6"
+pytest-cov = "*"
+mock = "*"
+requests = "*"
+redis = "*"
+gevent = "*"
+sure = "*"
+pook = "*"
+flake8 = "*"
+twine = "*"
+anaconda-client = "*"
+pipfile = "*"
+wheel = "*"
+
+[requires]
+python_version = "3.8"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/mocket/__init__.py 
new/mocket-3.9.4/mocket/__init__.py
--- old/mocket-3.9.3/mocket/__init__.py 2020-11-09 11:49:45.000000000 +0100
+++ new/mocket-3.9.4/mocket/__init__.py 2020-12-02 23:09:20.000000000 +0100
@@ -7,4 +7,4 @@
 
 __all__ = ("mocketize", "Mocket", "MocketEntry", "Mocketizer")
 
-__version__ = "3.9.3"
+__version__ = "3.9.4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/mocket/mocket.py 
new/mocket-3.9.4/mocket/mocket.py
--- old/mocket-3.9.3/mocket/mocket.py   2020-11-09 11:49:45.000000000 +0100
+++ new/mocket-3.9.4/mocket/mocket.py   2020-11-09 17:07:57.000000000 +0100
@@ -271,10 +271,9 @@
     def recv(self, buffersize, flags=None):
         if Mocket.r_fd and Mocket.w_fd:
             return os.read(Mocket.r_fd, buffersize)
-        if self.fd:
-            data = self.read(buffersize)
-            if data:
-                return data
+        data = self.read(buffersize)
+        if data:
+            return data
         # used by Redis mock
         exc = BlockingIOError()
         exc.errno = errno.EWOULDBLOCK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/mocket.egg-info/PKG-INFO 
new/mocket-3.9.4/mocket.egg-info/PKG-INFO
--- old/mocket-3.9.3/mocket.egg-info/PKG-INFO   2020-11-09 11:51:48.000000000 
+0100
+++ new/mocket-3.9.4/mocket.egg-info/PKG-INFO   2020-12-02 23:09:34.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mocket
-Version: 3.9.3
+Version: 3.9.4
 Summary: Socket Mock Framework - for all kinds of socket animals, web-clients 
included -         with gevent/asyncio/SSL support
 Home-page: https://github.com/mindflayer/python-mocket
 Author: Giorgio Salluzzo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/mocket.egg-info/SOURCES.txt 
new/mocket-3.9.4/mocket.egg-info/SOURCES.txt
--- old/mocket-3.9.3/mocket.egg-info/SOURCES.txt        2020-11-09 
11:51:48.000000000 +0100
+++ new/mocket-3.9.4/mocket.egg-info/SOURCES.txt        2020-12-02 
23:09:34.000000000 +0100
@@ -1,5 +1,6 @@
 LICENSE
 MANIFEST.in
+Pipfile
 README.rst
 requirements.txt
 setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/mocket.egg-info/requires.txt 
new/mocket-3.9.4/mocket.egg-info/requires.txt
--- old/mocket-3.9.3/mocket.egg-info/requires.txt       2020-11-09 
11:51:48.000000000 +0100
+++ new/mocket-3.9.4/mocket.egg-info/requires.txt       2020-12-02 
23:09:34.000000000 +0100
@@ -1,8 +1,8 @@
-decorator==4.4.2
-http-parser==0.9.0
-python-magic==0.4.18
-six==1.15.0
-urllib3==1.25.11
+decorator>=4.0.0
+http-parser>=0.9.0
+python-magic>=0.4.5
+six>=1.5.0
+urllib3>=1.25.3
 
 [dev]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mocket-3.9.3/requirements.txt 
new/mocket-3.9.4/requirements.txt
--- old/mocket-3.9.3/requirements.txt   2020-11-09 11:51:45.000000000 +0100
+++ new/mocket-3.9.4/requirements.txt   2020-12-02 23:09:34.000000000 +0100
@@ -1,6 +1,5 @@
--i https://pypi.python.org/simple
-decorator==4.4.2
-http-parser==0.9.0
-python-magic==0.4.18
-six==1.15.0
-urllib3==1.25.11
+python-magic>=0.4.5
+six>=1.5.0
+decorator>=4.0.0
+urllib3>=1.25.3
+http-parser>=0.9.0
_______________________________________________
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