From fecef068db902febec1479a2a179e360cda36a7a7c6e376318e55737c30e4bd6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 17 Aug 2022 10:10:36 +0000 Subject: [PATCH 1/4] - update to version 3.10.7: - Adding support for `httpx` (#183) - Change methods not using its bound instance to staticmethods (#180) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=52 --- mocket-3.10.6.tar.gz | 3 --- mocket-3.10.7.tar.gz | 3 +++ python-mocket.changes | 7 +++++++ python-mocket.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 mocket-3.10.6.tar.gz create mode 100644 mocket-3.10.7.tar.gz diff --git a/mocket-3.10.6.tar.gz b/mocket-3.10.6.tar.gz deleted file mode 100644 index dbe6192..0000000 --- a/mocket-3.10.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a43e9688adce8030f65f2f6be7d28e07d4d3fcb36241afc35915c0fb0efaa1ef -size 76119 diff --git a/mocket-3.10.7.tar.gz b/mocket-3.10.7.tar.gz new file mode 100644 index 0000000..780b691 --- /dev/null +++ b/mocket-3.10.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95f466a67aaa0b5e1c3b0fa5751b15cf407365486b81023cff79875882b08edb +size 76658 diff --git a/python-mocket.changes b/python-mocket.changes index e21d55e..e5ccd2a 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 17 10:09:41 UTC 2022 - Sebastian Wagner + +- update to version 3.10.7: + - Adding support for `httpx` (#183) + - Change methods not using its bound instance to staticmethods (#180) + ------------------------------------------------------------------- Mon Jul 25 09:24:02 UTC 2022 - Ben Greiner diff --git a/python-mocket.spec b/python-mocket.spec index fdec178..94c4bd2 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.10.6 +Version: 3.10.7 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause From 8bfd7fd1ead9ca98785f1e6ad8ada98edd7f592015fcba0a944f5242e32ffd52 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 23 Aug 2022 18:52:14 +0000 Subject: [PATCH 2/4] - update to version 3.10.8: - Support for calls made by fastapi (#188) * Introduce a `socket.socketpair()` function that acts as the real one OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=53 --- mocket-3.10.6.tar.gz | 3 +++ mocket-3.10.7.tar.gz | 3 --- python-mocket.changes | 7 +++++++ python-mocket.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 mocket-3.10.6.tar.gz delete mode 100644 mocket-3.10.7.tar.gz diff --git a/mocket-3.10.6.tar.gz b/mocket-3.10.6.tar.gz new file mode 100644 index 0000000..dbe6192 --- /dev/null +++ b/mocket-3.10.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a43e9688adce8030f65f2f6be7d28e07d4d3fcb36241afc35915c0fb0efaa1ef +size 76119 diff --git a/mocket-3.10.7.tar.gz b/mocket-3.10.7.tar.gz deleted file mode 100644 index 780b691..0000000 --- a/mocket-3.10.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95f466a67aaa0b5e1c3b0fa5751b15cf407365486b81023cff79875882b08edb -size 76658 diff --git a/python-mocket.changes b/python-mocket.changes index e5ccd2a..0a0d5a2 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-mocket.spec b/python-mocket.spec index 94c4bd2..fdec178 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.10.7 +Version: 3.10.6 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause From 999c5902c0722742114b0b43f3896c77b2176b7f924ee214d475b711dd8bec09 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 31 Aug 2022 18:58:52 +0000 Subject: [PATCH 3/4] - remove obsolete patch remove-mock.patch - Update to version 1.19.4: * fix JSONDecodeError missing for py2.7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=54 --- mocket-3.10.6.tar.gz | 3 --- mocket-3.10.8.tar.gz | 3 +++ python-mocket.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 mocket-3.10.6.tar.gz create mode 100644 mocket-3.10.8.tar.gz diff --git a/mocket-3.10.6.tar.gz b/mocket-3.10.6.tar.gz deleted file mode 100644 index dbe6192..0000000 --- a/mocket-3.10.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a43e9688adce8030f65f2f6be7d28e07d4d3fcb36241afc35915c0fb0efaa1ef -size 76119 diff --git a/mocket-3.10.8.tar.gz b/mocket-3.10.8.tar.gz new file mode 100644 index 0000000..fb65718 --- /dev/null +++ b/mocket-3.10.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a2a1f28513d08f2cc5499be213e959ad252b15b87eee729bf92a9d70eddd851 +size 77138 diff --git a/python-mocket.spec b/python-mocket.spec index fdec178..d35faaf 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.10.6 +Version: 3.10.8 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause From d62182f130074768a49ea48ced54401a7d1133f23e44e9196484dbe0e93e138e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sun, 1 Jan 2023 19:33:44 +0000 Subject: [PATCH 4/4] Accepting request 1046026 from home:bnavigator:branches:devel:languages:python - Update to version 3.10.9 * Small improvement for socketpair by @mindflayer in #189 * Fix for an unconvential usage of Mocket by @mindflayer in #192 * Improve efficiency on CI by @amotl in #194 - Add missing fastapi test dependency OBS-URL: https://build.opensuse.org/request/show/1046026 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=55 --- mocket-3.10.8.tar.gz | 3 --- mocket-3.10.9.tar.gz | 3 +++ python-mocket.changes | 9 +++++++++ python-mocket.spec | 7 ++++--- 4 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 mocket-3.10.8.tar.gz create mode 100644 mocket-3.10.9.tar.gz diff --git a/mocket-3.10.8.tar.gz b/mocket-3.10.8.tar.gz deleted file mode 100644 index fb65718..0000000 --- a/mocket-3.10.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a2a1f28513d08f2cc5499be213e959ad252b15b87eee729bf92a9d70eddd851 -size 77138 diff --git a/mocket-3.10.9.tar.gz b/mocket-3.10.9.tar.gz new file mode 100644 index 0000000..199143a --- /dev/null +++ b/mocket-3.10.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c0570e56be924e213416a80f18e978bb41b6ae9d9d56197c40b943176e1f80c +size 77187 diff --git a/python-mocket.changes b/python-mocket.changes index 0a0d5a2..1c27de5 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 1 18:43:24 UTC 2023 - Ben Greiner + +- Update to version 3.10.9 + * Small improvement for socketpair by @mindflayer in #189 + * Fix for an unconvential usage of Mocket by @mindflayer in #192 + * Improve efficiency on CI by @amotl in #194 +- Add missing fastapi test dependency + ------------------------------------------------------------------- Tue Aug 23 18:47:07 UTC 2022 - Sebastian Wagner diff --git a/python-mocket.spec b/python-mocket.spec index d35faaf..44f0798 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,10 +24,10 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} + %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.10.8 +Version: 3.10.9 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -46,6 +46,7 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module async_timeout} +BuildRequires: %{python_module fastapi} BuildRequires: %{python_module gevent} BuildRequires: %{python_module mocket = %{version}} BuildRequires: %{python_module pook >= 0.2.1}