diff --git a/pook-0.2.8.tar.gz b/pook-0.2.8.tar.gz deleted file mode 100644 index 447ea47..0000000 --- a/pook-0.2.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a46f5bf35176beb9348693751674dd614cd21c7dfed5cf57f0234eaabac20773 -size 39501 diff --git a/pook-1.0.0.tar.gz b/pook-1.0.0.tar.gz new file mode 100644 index 0000000..d5a56db --- /dev/null +++ b/pook-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e956e4fbe174eda6ad1d3b200818528e1829b1615d293e663c6e09af76390aae +size 40621 diff --git a/python-pook.changes b/python-pook.changes index 92ec282..3b29255 100644 --- a/python-pook.changes +++ b/python-pook.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 24 09:20:50 UTC 2020 - pgajdos@suse.com + +- version update to 1.0.0 + * fix(aiohttp): use latest version, allow Python 3.5+ for async http client +- drop python2 support, python-aiohttp required + ------------------------------------------------------------------- Wed Mar 18 08:39:21 UTC 2020 - Marketa Calabkova diff --git a/python-pook.spec b/python-pook.spec index 28be3b0..5846697 100644 --- a/python-pook.spec +++ b/python-pook.spec @@ -17,8 +17,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# requires python-aiohttp +%define skip_python2 1 Name: python-pook -Version: 0.2.8 +Version: 1.0.0 Release: 0 Summary: HTTP traffic mocking and expectations License: MIT @@ -26,8 +28,16 @@ Group: Development/Languages/Python URL: https://github.com/h2non/pook Source: https://files.pythonhosted.org/packages/source/p/pook/pook-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-aiohttp +Requires: python-furl >= 0.5.6 +Requires: python-jsonschema >= 2.5.1 +Requires: python-xmltodict >= 0.11.0 +Suggests: python-mock >= 2.0.0 +BuildArch: noarch # SECTION test requirements +BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module furl >= 0.5.6} BuildRequires: %{python_module jsonschema >= 2.5.1} BuildRequires: %{python_module mocket >= 1.6.0} @@ -38,13 +48,6 @@ BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module urllib3 >= 1.19.1} BuildRequires: %{python_module xmltodict >= 0.10.2} # /SECTION -BuildRequires: fdupes -Requires: python-furl >= 0.5.6 -Requires: python-jsonschema >= 2.5.1 -Requires: python-xmltodict >= 0.10.2 -Suggests: python-mock >= 2.0.0 -BuildArch: noarch - %python_subpackages %description