From fbf353bb7514cbf5e7bad08b7ded1c2c75bee81f89443873a3bb80f1cbcd1697 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 23 Jan 2021 19:21:51 +0000 Subject: [PATCH 1/2] - Update to version 3.9.40: - Fix for asyncio.open_connection() (#144) - fix UT for 3.5 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=26 --- mocket-3.9.39.tar.gz | 3 --- mocket-3.9.40.tar.gz | 3 +++ python-mocket.changes | 7 +++++++ python-mocket.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 mocket-3.9.39.tar.gz create mode 100644 mocket-3.9.40.tar.gz diff --git a/mocket-3.9.39.tar.gz b/mocket-3.9.39.tar.gz deleted file mode 100644 index c271065..0000000 --- a/mocket-3.9.39.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4419ab395fcaa8914b6964e2ebf24282f9f65ded08cf4d8afd9cbb1dbc7b6cd5 -size 74996 diff --git a/mocket-3.9.40.tar.gz b/mocket-3.9.40.tar.gz new file mode 100644 index 0000000..befa20b --- /dev/null +++ b/mocket-3.9.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe4349a0ed30ed0c5d04684dd5d98517f8d1e4585fe0da4832747e2f01f3c18 +size 75609 diff --git a/python-mocket.changes b/python-mocket.changes index e0f7b16..367de9d 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-mocket.spec b/python-mocket.spec index 8fb2282..35412d2 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-mocket%{psuffix} -Version: 3.9.39 +Version: 3.9.40 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause From e2090403eaafe1e03794c3abf615f1dad58f21d4eef47e614b9ad773f19c1f9e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 2 Feb 2021 21:34:29 +0000 Subject: [PATCH 2/2] - disable test test_asyncio_record_replay as it requires DNS. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=28 --- python-mocket.changes | 5 +++++ python-mocket.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-mocket.changes b/python-mocket.changes index 367de9d..1872345 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-mocket.spec b/python-mocket.spec index 35412d2..a60f2df 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -106,7 +106,8 @@ pytest_python36_ignore="--ignore tests/tests38" %if %{python3_version_nodots} < 38 pytest_python3_ignore="--ignore tests/tests38" %endif -%pytest -k 'not RedisTestCase' ${pytest_$python_ignore} +# test_asyncio_record_replay requires DNS ("Temporary failure in name resolution") +%pytest -k 'not RedisTestCase and not test_asyncio_record_replay' ${pytest_$python_ignore} %endif %if !%{with test}