diff --git a/python-uhashring.changes b/python-uhashring.changes index 1d15426..f578490 100644 --- a/python-uhashring.changes +++ b/python-uhashring.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed May 3 09:14:04 UTC 2023 - Dirk Müller + +- update to 2.3: + * support for python 3.11 + * support for python 3.10 + * drop support of EOL python 3.6 + * migrate to hatch + * fix test_distribution to be deterministic + (using randint causes a fai… (#17), by Ben Hockley + * ci: add github actions + ------------------------------------------------------------------- Mon Oct 3 09:22:52 UTC 2022 - Dirk Müller diff --git a/python-uhashring.spec b/python-uhashring.spec index 6dc88b8..4bfe4e1 100644 --- a/python-uhashring.spec +++ b/python-uhashring.spec @@ -1,7 +1,7 @@ # # spec file for package python-uhashring # -# 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 @@ -18,15 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-uhashring -Version: 2.1 +Version: 2.3 Release: 0 Summary: Full featured consistent hashing python library compatible with ketama License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/ultrabug/uhashring -Source: https://files.pythonhosted.org/packages/source/u/uhashring/uhashring-%{version}.tar.gz +Source: https://github.com/ultrabug/uhashring/archive/refs/tags/%{version}.tar.gz#/uhashring-%{version}-gh.tar.gz BuildRequires: %{python_module devel >= 3.6} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-memcached} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,14 +43,14 @@ Full featured consistent hashing python library compatible with ketama. %setup -q -n uhashring-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc README.rst diff --git a/uhashring-2.1.tar.gz b/uhashring-2.1.tar.gz deleted file mode 100644 index a11094d..0000000 --- a/uhashring-2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b21340d0d32497a67f34f5177a64908115fdc23264ed87fa7d1eca79ef9641fa -size 18288 diff --git a/uhashring-2.3-gh.tar.gz b/uhashring-2.3-gh.tar.gz new file mode 100644 index 0000000..2088a5b --- /dev/null +++ b/uhashring-2.3-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aeebb2a2b5014a78307d663807337c0de8be1ff27474ea6808928ca948e88381 +size 14332