diff --git a/mocket-3.11.1.tar.gz b/mocket-3.11.1.tar.gz deleted file mode 100644 index ffabe25..0000000 --- a/mocket-3.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b043cb50df67a1de0029872808d419e0505b95408b08f5757453ab342eb10d6a -size 76391 diff --git a/mocket-3.12.0.tar.gz b/mocket-3.12.0.tar.gz new file mode 100644 index 0000000..745f8c6 --- /dev/null +++ b/mocket-3.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ebbc15b04d64f617fbac54146bef0cfd2f491cb785f515d765e26bb92d410d0 +size 591080 diff --git a/python-mocket.changes b/python-mocket.changes index 6447f2e..713ca70 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Oct 31 17:34:29 UTC 2023 - Sebastian Wagner + +- Update to version 3.12.0: + * Support for Python 3.12 (#204) + * Fix for Python 3.12 + * Getting rid of Python 3.7, since it's not supported anymore. + * Precommit hooks' autoupdate. + * Disabling `aiohttp` for testing Python 3.12. + ------------------------------------------------------------------- Tue Oct 24 10:15:32 UTC 2023 - Daniel Garcia diff --git a/python-mocket.spec b/python-mocket.spec index 18febf2..f6d333d 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -27,13 +27,16 @@ %define skip_python2 1 Name: python-mocket%{psuffix} -Version: 3.11.1 +Version: 3.12.0 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause URL: https://github.com/mindflayer/python-mocket Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-decorator >= 4 @@ -67,19 +70,19 @@ 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 '/cov/ d' setup.cfg +#sed -i '/pipenv/ d' setup.py %build %if !%{with test} export LANG=en_US.UTF-8 -%python_build +%pyproject_wheel %endif %install %if !%{with test} export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -114,7 +117,7 @@ donttest="$donttest or test_truesendall_with_dump_from_recording" %doc README.rst %license LICENSE %{python_sitelib}/mocket -%{python_sitelib}/mocket-%{version}-py*.egg-info +%{python_sitelib}/mocket-%{version}.dist-info %endif %changelog