Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mocket for openSUSE:Factory checked in at 2022-05-18 13:13:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mocket (Old) and /work/SRC/openSUSE:Factory/.python-mocket.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mocket" Wed May 18 13:13:12 2022 rev:22 rq:977875 version:3.10.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mocket/python-mocket.changes 2022-05-04 15:10:47.552145604 +0200 +++ /work/SRC/openSUSE:Factory/.python-mocket.new.1538/python-mocket.changes 2022-05-18 13:13:21.746671730 +0200 @@ -1,0 +2,16 @@ +Wed May 18 06:31:34 UTC 2022 - [email protected] + +- version update to 3.10.6 + No need for the external mock dependency +- deleted patches + - python-mocket-no-mock.patch (upstreamed) + +------------------------------------------------------------------- +Tue May 17 13:29:27 UTC 2022 - [email protected] + +- do not require python-mock for build +- added patches + fix https://github.com/mindflayer/python-mocket/issues/178 + + python-mocket-no-mock.patch + +------------------------------------------------------------------- Old: ---- mocket-3.10.5.tar.gz New: ---- mocket-3.10.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mocket.spec ++++++ --- /var/tmp/diff_new_pack.LJwsSl/_old 2022-05-18 13:13:22.266672188 +0200 +++ /var/tmp/diff_new_pack.LJwsSl/_new 2022-05-18 13:13:22.270672192 +0200 @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.10.5 +Version: 3.10.6 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -35,6 +35,7 @@ Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz # PATCH-FIX-OPENSUSE recording-urllib3-brotli.patch -- our urllib has different default headers than upstreams test reference, [email protected] Patch0: recording-urllib3-brotli.patch +# https://github.com/mindflayer/python-mocket/issues/178 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -57,7 +58,6 @@ BuildRequires: %{python_module decorator} BuildRequires: %{python_module gevent} BuildRequires: %{python_module http-parser >= 0.9.0} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pook} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pytest} ++++++ mocket-3.10.5.tar.gz -> mocket-3.10.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.10.5/PKG-INFO new/mocket-3.10.6/PKG-INFO --- old/mocket-3.10.5/PKG-INFO 2022-04-25 08:58:09.638920800 +0200 +++ new/mocket-3.10.6/PKG-INFO 2022-05-17 21:03:53.772195000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: mocket -Version: 3.10.5 +Version: 3.10.6 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 Author-email: [email protected] License: BSD -Platform: UNKNOWN Classifier: Development Status :: 6 - Mature Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent @@ -39,6 +38,9 @@ .. image:: https://app.codacy.com/project/badge/Grade/6327640518ce42adaf59368217028f14 :target: https://www.codacy.com/gh/mindflayer/python-mocket/dashboard +.. image:: https://img.shields.io/pypi/dm/mocket + :target: https://pypistats.org/packages/mocket + A socket mock framework ------------------------- @@ -385,5 +387,3 @@ - Video: https://www.youtube.com/watch?v=-LvXbl5d02U - Slides: https://prezi.com/tmuiaugamsti/mocket/ - Slides as PDF: https://ep2013.europython.eu/media/conference/slides/mocket-a-socket-mock-framework.pdf - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.10.5/README.rst new/mocket-3.10.6/README.rst --- old/mocket-3.10.5/README.rst 2022-04-25 08:34:32.000000000 +0200 +++ new/mocket-3.10.6/README.rst 2022-04-27 19:42:15.000000000 +0200 @@ -11,6 +11,9 @@ .. image:: https://app.codacy.com/project/badge/Grade/6327640518ce42adaf59368217028f14 :target: https://www.codacy.com/gh/mindflayer/python-mocket/dashboard +.. image:: https://img.shields.io/pypi/dm/mocket + :target: https://pypistats.org/packages/mocket + A socket mock framework ------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.10.5/mocket/__init__.py new/mocket-3.10.6/mocket/__init__.py --- old/mocket-3.10.5/mocket/__init__.py 2022-04-25 08:51:32.000000000 +0200 +++ new/mocket-3.10.6/mocket/__init__.py 2022-05-17 21:03:18.000000000 +0200 @@ -3,4 +3,4 @@ __all__ = ("async_mocketize", "mocketize", "Mocket", "MocketEntry", "Mocketizer") -__version__ = "3.10.5" +__version__ = "3.10.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.10.5/mocket.egg-info/PKG-INFO new/mocket-3.10.6/mocket.egg-info/PKG-INFO --- old/mocket-3.10.5/mocket.egg-info/PKG-INFO 2022-04-25 08:58:09.000000000 +0200 +++ new/mocket-3.10.6/mocket.egg-info/PKG-INFO 2022-05-17 21:03:53.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: mocket -Version: 3.10.5 +Version: 3.10.6 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 Author-email: [email protected] License: BSD -Platform: UNKNOWN Classifier: Development Status :: 6 - Mature Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent @@ -39,6 +38,9 @@ .. image:: https://app.codacy.com/project/badge/Grade/6327640518ce42adaf59368217028f14 :target: https://www.codacy.com/gh/mindflayer/python-mocket/dashboard +.. image:: https://img.shields.io/pypi/dm/mocket + :target: https://pypistats.org/packages/mocket + A socket mock framework ------------------------- @@ -385,5 +387,3 @@ - Video: https://www.youtube.com/watch?v=-LvXbl5d02U - Slides: https://prezi.com/tmuiaugamsti/mocket/ - Slides as PDF: https://ep2013.europython.eu/media/conference/slides/mocket-a-socket-mock-framework.pdf - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.10.5/tests/main/test_http.py new/mocket-3.10.6/tests/main/test_http.py --- old/mocket-3.10.5/tests/main/test_http.py 2022-04-25 08:34:32.000000000 +0200 +++ new/mocket-3.10.6/tests/main/test_http.py 2022-05-17 21:03:18.000000000 +0200 @@ -5,12 +5,11 @@ import socket import tempfile import time -from unittest import TestCase +from unittest import TestCase, mock from urllib.error import HTTPError from urllib.parse import urlencode from urllib.request import urlopen -import mock import pytest import requests
