diff --git a/python-uhashring.spec b/python-uhashring.spec index ea55257c4c6dcc638645c3e87028ab6c40dbc2f6..c18a3c23d56d7607cbbf006ffede468078225c28 100644 --- a/python-uhashring.spec +++ b/python-uhashring.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-uhashring -Version: 2.1 +Version: 2.3 Release: 1 Summary: Full featured consistent hashing python library compatible with ketama. License: BSD URL: https://github.com/ultrabug/uhashring -Source0: https://files.pythonhosted.org/packages/b5/39/1d56c749f455f9a6439492cfa35aa2e34e76a2d3a33718273b665c96eaf2/uhashring-2.1.tar.gz +Source0: https://files.pythonhosted.org/packages/21/03/73622724451565a553759f021c15cbaf286ea343c5593879cf8a0d01f402/uhashring-2.3.tar.gz BuildArch: noarch %description uhashring implements consistent hashing in pure Python. @@ -21,6 +21,9 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pytest BuildRequires: python3-memcached +BuildRequires: python3-hatchling +BuildRequires: python3-hatch-vcs + %description -n python3-uhashring uhashring implements consistent hashing in pure Python. @@ -34,10 +37,10 @@ uhashring implements consistent hashing in pure Python. %autosetup -n uhashring-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -75,6 +78,15 @@ pytest %{_docdir}/* %changelog +* Mon Dec 16 2024 wanggang - 2.3-1 +- Upgrade package python3-uhashring to version 2.3 +- support for python 3.10、3.11 +- drop support of EOL python 3.6 +- migrate to hatch +- add CHANGELOG +- fix test_distribution to be deterministic (using randint causes a fai… (#17), by Ben Hockley +- ci: add github actions + * Wed May 18 2022 OpenStack_SIG - 2.1-1 - Upgrade package python3-uhashring to version 2.1 diff --git a/uhashring-2.1.tar.gz b/uhashring-2.1.tar.gz deleted file mode 100644 index 86f7c6d237260fe2b2ee8e12773e2d07dbf1d6ff..0000000000000000000000000000000000000000 Binary files a/uhashring-2.1.tar.gz and /dev/null differ diff --git a/uhashring-2.3.tar.gz b/uhashring-2.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2936ec3f61d3cd2d8c98b0b4a45b6456a8cf694f Binary files /dev/null and b/uhashring-2.3.tar.gz differ