diff --git a/mocket-3.12.8.tar.gz b/mocket-3.12.8.tar.gz deleted file mode 100644 index 82306a3..0000000 --- a/mocket-3.12.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbecc65cbb50d35b2b985d04a9416a6b187e9a73735bc233606d51ccd1935e4c -size 73169 diff --git a/mocket-3.12.9.tar.gz b/mocket-3.12.9.tar.gz new file mode 100644 index 0000000..2195134 --- /dev/null +++ b/mocket-3.12.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a26dd098325a3d83f3ea82510172feb5281d4eed8f4d0b535e3646d8e78752f +size 73303 diff --git a/python-mocket.changes b/python-mocket.changes index c208c7b..22e99e8 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 3 07:23:27 UTC 2024 - Sebastian Wagner + +- Update to version 3.12.9: + * Replacing httptools with h11 + ------------------------------------------------------------------- Tue Jun 4 08:17:14 UTC 2024 - Dirk Müller diff --git a/python-mocket.spec b/python-mocket.spec index b321a29..2f0c389 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -1,5 +1,5 @@ # -# spec file for package python-mocket +# spec file # # Copyright (c) 2024 SUSE LLC # @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-mocket%{psuffix} -Version: 3.12.8 +Version: 3.12.9 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -40,7 +40,7 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-decorator >= 4 -Requires: python-httptools +Requires: python-h11 Requires: python-python-magic >= 0.4.5 Requires: python-urllib3 >= 1.25.3 Suggests: python-pook >= 0.2.1 @@ -72,8 +72,7 @@ included, with gevent/asyncio/SSL support. %prep %autosetup -p1 -n mocket-%{version} -#sed -i '/cov/ d' setup.cfg -#sed -i '/pipenv/ d' setup.py +sed -i 's/--cov[^ ]*//g' pyproject.toml %build %if !%{with test} @@ -110,8 +109,8 @@ donttest="test_asyncio_record_replay or test_truesendall_with_dump_from_recordin 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" -%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} +#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" +%pytest -rfEs -k "not ($donttest)" ${pytest_$python_ignore} tests %endif %if !%{with test}