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 2025-10-20 13:35:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mocket (Old) and /work/SRC/openSUSE:Factory/.python-mocket.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mocket" Mon Oct 20 13:35:05 2025 rev:47 rq:1312140 version:3.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mocket/python-mocket.changes 2025-09-01 17:16:56.731778654 +0200 +++ /work/SRC/openSUSE:Factory/.python-mocket.new.18484/python-mocket.changes 2025-10-20 13:35:06.650695131 +0200 @@ -1,0 +2,7 @@ +Sat Oct 11 07:44:50 UTC 2025 - Sebastian Wagner <[email protected]> + +- Update to version 3.14.0: + - Add support for Python 3.14 + - Add pre-commit for validating rst files + +------------------------------------------------------------------- Old: ---- mocket-3.13.11.tar.gz New: ---- mocket-3.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mocket.spec ++++++ --- /var/tmp/diff_new_pack.3scHMS/_old 2025-10-20 13:35:08.062754893 +0200 +++ /var/tmp/diff_new_pack.3scHMS/_new 2025-10-20 13:35:08.066755063 +0200 @@ -36,7 +36,7 @@ %{?sle15_python_module_pythons} Name: python-mocket%{psuffix} -Version: 3.13.11 +Version: 3.14.0 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause ++++++ mocket-3.13.11.tar.gz -> mocket-3.14.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.13.11/PKG-INFO new/mocket-3.14.0/PKG-INFO --- old/mocket-3.13.11/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/mocket-3.14.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: mocket -Version: 3.13.11 +Version: 3.14.0 Summary: Socket Mock Framework - for all kinds of socket animals, web-clients included - with gevent/asyncio/SSL support Project-URL: Homepage, https://pypi.org/project/mocket Project-URL: Repository, https://github.com/mindflayer/python-mocket @@ -29,6 +29,7 @@ Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development @@ -69,9 +70,9 @@ Requires-Dist: xxhash; extra == 'test' Description-Content-Type: text/x-rst -=============== -mocket /mɔˈkɛt/ -=============== +================ +mocket /ˈmɔ.kɛt/ +================ .. image:: https://github.com/mindflayer/python-mocket/actions/workflows/main.yml/badge.svg?branch=main :target: https://github.com/mindflayer/python-mocket/actions?query=workflow%3A%22Mocket%27s+CI%22 @@ -85,6 +86,9 @@ .. image:: https://img.shields.io/pypi/dm/mocket :target: https://pypistats.org/packages/mocket +.. image:: https://deepwiki.com/badge.svg + :target: https://deepwiki.com/mindflayer/python-mocket + .. image:: https://raw.githubusercontent.com/mindflayer/python-mocket/main/mocket.png :height: 256px :width: 256px @@ -296,8 +300,8 @@ with self.assertRaises(requests.exceptions.ConnectionError): requests.get(url) -Example of how to mock a call with a custom `can_handle` function -================================================================= +Example of how to mock a call with a custom request matching logic +================================================================== .. code-block:: python import json @@ -408,11 +412,11 @@ .. code-block:: python # `aiohttp` creates SSLContext instances at import-time - # that's why Mocket would get stuck when dealing with HTTP + # that's why Mocket would get stuck when dealing with HTTPS # Importing the module while Mocket is in control (inside a # decorated test function or using its context manager would # be enough for making it work), the alternative is using a - # custom TCPConnector which always return a FakeSSLContext + # custom TCPConnector which always returns a FakeSSLContext # from Mocket like this example is showing. import aiohttp import pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.13.11/README.rst new/mocket-3.14.0/README.rst --- old/mocket-3.13.11/README.rst 2020-02-02 01:00:00.000000000 +0100 +++ new/mocket-3.14.0/README.rst 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ -=============== -mocket /mɔˈkɛt/ -=============== +================ +mocket /ˈmɔ.kɛt/ +================ .. image:: https://github.com/mindflayer/python-mocket/actions/workflows/main.yml/badge.svg?branch=main :target: https://github.com/mindflayer/python-mocket/actions?query=workflow%3A%22Mocket%27s+CI%22 @@ -14,6 +14,9 @@ .. image:: https://img.shields.io/pypi/dm/mocket :target: https://pypistats.org/packages/mocket +.. image:: https://deepwiki.com/badge.svg + :target: https://deepwiki.com/mindflayer/python-mocket + .. image:: https://raw.githubusercontent.com/mindflayer/python-mocket/main/mocket.png :height: 256px :width: 256px @@ -225,8 +228,8 @@ with self.assertRaises(requests.exceptions.ConnectionError): requests.get(url) -Example of how to mock a call with a custom `can_handle` function -================================================================= +Example of how to mock a call with a custom request matching logic +================================================================== .. code-block:: python import json @@ -337,11 +340,11 @@ .. code-block:: python # `aiohttp` creates SSLContext instances at import-time - # that's why Mocket would get stuck when dealing with HTTP + # that's why Mocket would get stuck when dealing with HTTPS # Importing the module while Mocket is in control (inside a # decorated test function or using its context manager would # be enough for making it work), the alternative is using a - # custom TCPConnector which always return a FakeSSLContext + # custom TCPConnector which always returns a FakeSSLContext # from Mocket like this example is showing. import aiohttp import pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.13.11/mocket/__init__.py new/mocket-3.14.0/mocket/__init__.py --- old/mocket-3.13.11/mocket/__init__.py 2020-02-02 01:00:00.000000000 +0100 +++ new/mocket-3.14.0/mocket/__init__.py 2020-02-02 01:00:00.000000000 +0100 @@ -31,4 +31,4 @@ "FakeSSLContext", ) -__version__ = "3.13.11" +__version__ = "3.14.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.13.11/mocket/mocket.py new/mocket-3.14.0/mocket/mocket.py --- old/mocket-3.13.11/mocket/mocket.py 2020-02-02 01:00:00.000000000 +0100 +++ new/mocket-3.14.0/mocket/mocket.py 2020-02-02 01:00:00.000000000 +0100 @@ -19,7 +19,7 @@ class Mocket: _socket_pairs: ClassVar[dict[Address, tuple[int, int]]] = {} - _address: ClassVar[Address] = (None, None) + _address: ClassVar[Address | tuple[None, None]] = (None, None) _entries: ClassVar[dict[Address, list[MocketEntry]]] = collections.defaultdict(list) _requests: ClassVar[list] = [] _record_storage: ClassVar[MocketRecordStorage | None] = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mocket-3.13.11/pyproject.toml new/mocket-3.14.0/pyproject.toml --- old/mocket-3.13.11/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 +++ new/mocket-3.14.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 @@ -6,7 +6,7 @@ requires-python = ">=3.8" name = "mocket" description = "Socket Mock Framework - for all kinds of socket animals, web-clients included - with gevent/asyncio/SSL support" -readme = { file = "README.rst", content-type = "text/x-rst" } +readme = "README.rst" license = { file = "LICENSE" } authors = [{ name = "Giorgio Salluzzo", email = "[email protected]" }] classifiers = [ @@ -19,6 +19,7 @@ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development",
