14
0

Accepting request 1084228 from devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1084228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uhashring?expand=0&rev=2
This commit is contained in:
2023-05-03 10:57:54 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 10 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed May 3 09:14:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b21340d0d32497a67f34f5177a64908115fdc23264ed87fa7d1eca79ef9641fa
size 18288

3
uhashring-2.3-gh.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aeebb2a2b5014a78307d663807337c0de8be1ff27474ea6808928ca948e88381
size 14332