diff --git a/mocket-3.12.0.tar.gz b/mocket-3.12.0.tar.gz deleted file mode 100644 index 745f8c6..0000000 --- a/mocket-3.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ebbc15b04d64f617fbac54146bef0cfd2f491cb785f515d765e26bb92d410d0 -size 591080 diff --git a/mocket-3.12.3.tar.gz b/mocket-3.12.3.tar.gz new file mode 100644 index 0000000..c73fc75 --- /dev/null +++ b/mocket-3.12.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dc7a2d3c28cf1b87b114a54e9190f8fd9bd2087eb9f1f9f14d61329860eaa86 +size 71386 diff --git a/python-mocket.changes b/python-mocket.changes index e752a31..979eb86 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Jan 22 08:43:05 UTC 2024 - Sebastian Wagner + +- add pytest-asyncio and psutil to test build requirements +- skip test_truesendall_with_dump_from_recording and test_no_dangling_fds as they require internet connection + +------------------------------------------------------------------- +Sat Jan 20 19:40:29 UTC 2024 - Dirk Müller + +- update to 3.12.3: + * Fixes for allowing making a mixture of unmocked and mocked + HTTPS requests using aiohttp + * Merging external contribution + * Adding testcase for proving #209 was fixed + +------------------------------------------------------------------- +Sat Jan 13 20:23:20 UTC 2024 - Dirk Müller + +- update to 3.12.2: + * Pook is now compatible with modern Python versions + * Excluding venvs from dist packages + ------------------------------------------------------------------- Fri Dec 29 16:14:00 UTC 2023 - Antonio Larrosa @@ -364,7 +386,7 @@ Tue Aug 11 07:17:16 UTC 2020 - Benjamin Greiner * This version ships the change to support the libmagic wrapper distributed with file's command. -------------------------------------------------------------------- +------------------------------------------------------------------- Tue Aug 11 07:08:04 UTC 2020 - Tomáš Chvátal - Switch to multibuild as we create cycle with python-pook otherwise diff --git a/python-mocket.spec b/python-mocket.spec index 7e03e57..f591b88 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-mocket%{psuffix} -Version: 3.12.0 +Version: 3.12.3 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -54,6 +54,8 @@ BuildRequires: %{python_module gevent} BuildRequires: %{python_module httptools} BuildRequires: %{python_module mocket = %{version}} BuildRequires: %{python_module pook >= 0.2.1} +BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module redis} BuildRequires: %{python_module requests} @@ -102,7 +104,7 @@ trap "kill $victims || true" EXIT sleep 2 # Checks the ability to record a real request and response. Not available inside obs. -donttest="test_asyncio_record_replay" +donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recording or test_no_dangling_fds" # The reference recording has different headers in this case %if %{pkg_vcmp python311-httpx < 0.23} donttest="$donttest or test_truesendall_with_dump_from_recording"