diff --git a/mocket-3.12.9.tar.gz b/mocket-3.12.9.tar.gz deleted file mode 100644 index 2195134..0000000 --- a/mocket-3.12.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a26dd098325a3d83f3ea82510172feb5281d4eed8f4d0b535e3646d8e78752f -size 73303 diff --git a/mocket-3.13.0.tar.gz b/mocket-3.13.0.tar.gz new file mode 100644 index 0000000..c7dff3a --- /dev/null +++ b/mocket-3.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:185cc80d213ed3d2f8442e70e21ddfaa0abd964c8e563ab924dfbe64d6c759cf +size 73320 diff --git a/python-mocket.changes b/python-mocket.changes index 22e99e8..5ddc570 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 1 09:18:21 UTC 2024 - Markéta Machová + +- Skip test failing with new aiohttp + +------------------------------------------------------------------- +Thu Sep 26 08:25:18 UTC 2024 - Sebastian Wagner + +- update to version 3.13.0: + - Adding Python 3.13 support by @mindflayer in #242 + ------------------------------------------------------------------- Tue Sep 3 07:23:27 UTC 2024 - Sebastian Wagner @@ -128,14 +139,14 @@ Sun Jan 1 18:43:24 UTC 2023 - Ben Greiner - Add missing fastapi test dependency ------------------------------------------------------------------- -Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner +Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner - update to version 3.10.8: - Support for calls made by fastapi (#188) * Introduce a `socket.socketpair()` function that acts as the real one ------------------------------------------------------------------- -Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner +Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner - update to version 3.10.7: - Adding support for `httpx` (#183) @@ -164,7 +175,7 @@ Tue May 17 13:29:27 UTC 2022 - pgajdos@suse.com + python-mocket-no-mock.patch ------------------------------------------------------------------- -Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner +Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner - - Bump Mocket version - MocketEntry.request_class str vs bytes (#177) @@ -207,7 +218,7 @@ Mon Apr 18 19:31:43 UTC 2022 - Ben Greiner Python 3.7 test is skipped by name globally) ------------------------------------------------------------------- -Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner +Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner - - Add Mocket "strict mode" (#171) * Add Mocket "strict mode". @@ -223,7 +234,7 @@ Sun Jan 9 19:21:59 UTC 2022 - Sebastian Wagner Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> ------------------------------------------------------------------- -Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner +Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner - - Introducing `request_list()` method (#170) * Introducing `request_list()` method. @@ -236,7 +247,7 @@ Sat Jan 8 21:39:28 UTC 2022 - Sebastian Wagner Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> ------------------------------------------------------------------- -Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner +Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner - Update to version 3.10.2: - Help the user to spot issues (#166) @@ -265,7 +276,7 @@ Wed Dec 1 21:17:39 UTC 2021 - Sebastian Wagner - In PYPI the package is old and broken ------------------------------------------------------------------- -Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner +Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner - Update to version 3.10.1: - Multi `register()` (#159) @@ -277,7 +288,7 @@ Sat Nov 27 10:12:44 UTC 2021 - Sebastian Wagner - In PYPI the package is old and broken ------------------------------------------------------------------- -Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner +Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner - update to version 3.10.0: - Fix for version number @@ -287,12 +298,12 @@ Fri Sep 24 19:50:05 UTC 2021 - Sebastian Wagner - Update main.yml ------------------------------------------------------------------- -Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner +Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner - remove obsolete kwsyntax.patch. ------------------------------------------------------------------- -Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner +Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner - Update to version 3.9.44: - Update __init__.py @@ -309,7 +320,7 @@ Thu Aug 5 15:22:22 UTC 2021 - Markéta Machová - Add kwsyntax.patch to fix test failure with new decorator. ------------------------------------------------------------------- -Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner +Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner - Update to version 3.9.42: - Mock check_hostname everywhere (#152) @@ -317,7 +328,7 @@ Sat Jul 3 20:16:19 UTC 2021 - Sebastian Wagner * Complete refactoring. ------------------------------------------------------------------- -Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner +Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner - update to version 3.9.41: - A few refactors. @@ -326,19 +337,19 @@ Fri May 21 16:02:54 UTC 2021 - Sebastian Wagner - Avoid decorator>=5 as dependency. (#149) ------------------------------------------------------------------- -Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner +Tue Feb 2 21:33:54 UTC 2021 - Sebastian Wagner - disable test test_asyncio_record_replay as it requires DNS. ------------------------------------------------------------------- -Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner +Sat Jan 23 19:20:19 UTC 2021 - Sebastian Wagner - Update to version 3.9.40: - Fix for asyncio.open_connection() (#144) - fix UT for 3.5 support ------------------------------------------------------------------- -Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner +Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner - update to version 3.9.39: - Use MocketSocket as context manager (#141) @@ -356,7 +367,7 @@ Fri Jan 15 16:56:37 UTC 2021 - Sebastian Wagner - Refactor. (#136) ------------------------------------------------------------------- -Sun Jan 3 10:37:41 UTC 2021 - Sebastian Wagner +Sun Jan 3 10:37:41 UTC 2021 - Sebastian Wagner - update to version 3.9.35: - Removing Python 2 compatibility layer (#134). @@ -381,7 +392,7 @@ Thu Dec 10 01:45:45 UTC 2020 - Benjamin Greiner does not interfere with other packages ------------------------------------------------------------------- -Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner +Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner - Update to version 3.9.3: * Fix for `.makefile()` as reported by @KyleKing. @@ -391,14 +402,14 @@ Mon Nov 9 20:23:21 UTC 2020 - Sebastian Wagner * Fix for Python 2. ------------------------------------------------------------------- -Sun Oct 11 07:03:02 UTC 2020 - Sebastian Wagner +Sun Oct 11 07:03:02 UTC 2020 - Sebastian Wagner - Update to version 3.9.1: - Multiple HTTP writes (#125) - Fix for #111. ------------------------------------------------------------------- -Sat Sep 26 07:39:57 UTC 2020 - Sebastian Wagner +Sat Sep 26 07:39:57 UTC 2020 - Sebastian Wagner - Update to version 3.9.0: - MockHTTP uses `http-parser` as parser @@ -422,12 +433,12 @@ Tue Aug 11 07:08:04 UTC 2020 - Tomáš Chvátal - Switch to multibuild as we create cycle with python-pook otherwise ------------------------------------------------------------------- -Sat Aug 8 13:00:29 UTC 2020 - Sebastian Wagner +Sat Aug 8 13:00:29 UTC 2020 - Sebastian Wagner - Change requirements version specifier from == to >=. ------------------------------------------------------------------- -Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner +Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner - Update to version 3.8.6: - No upstream changelog available diff --git a/python-mocket.spec b/python-mocket.spec index 2f0c389..6d78523 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-mocket # # Copyright (c) 2024 SUSE LLC # @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-mocket%{psuffix} -Version: 3.12.9 +Version: 3.13.0 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -108,8 +108,8 @@ donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recordin %if %{pkg_vcmp python311-httpx < 0.23} donttest="$donttest or test_truesendall_with_dump_from_recording" %endif -# these fail after the python 3.11 patches -#donttest="$donttest or test_http_session or test_https_session or test_httprettish_session or test_truesendall or test_wrongpath_truesendall or test_real_request_session or test_multiple_socket_connections or test_intermittent_strict_mode or test_strict_mode_exceptions or test_err or test_get or test_hm or test_incr or test_lrange or test_select_db or test_set or test_shutdown or test_hgetall or test_raise_exception" +# fails with new incompatible aiohttp version https://github.com/mindflayer/python-mocket/issues/247 +donttest="$donttest or test_aiohttp" %pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests %endif