public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simon de Vlieger <cmdr@supakeen.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-token-bucket] rawhide: update to 0.4.0
Date: Sun, 08 Nov 2026 07:30:48 GMT [thread overview]
Message-ID: <179412304894.1.10854059197231873653.rpms-python-token-bucket-bc82344fd169@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-token-bucket
Branch : rawhide
Commit : bc82344fd169b2e38f8db97bca656144ed3f9bac
Author : Simon de Vlieger <cmdr@supakeen.com>
Date : 2026-11-08T08:30:30+01:00
Stats : +7/-62 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-token-bucket/c/bc82344fd169b2e38f8db97bca656144ed3f9bac?branch=rawhide
Log:
update to 0.4.0
Update to upstream release 0.4.0.
Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
---
diff --git a/.gitignore b/.gitignore
index 649c5ff..df5712a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/0.3.0.tar.gz
+/0.4.0.tar.gz
diff --git a/0000-py312-imp.patch b/0000-py312-imp.patch
deleted file mode 100644
index 6e31afa..0000000
--- a/0000-py312-imp.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 892fd32..ee93ccc 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1,12 +1,19 @@
--import imp
-+import importlib.machinery
-+import importlib.util
- import io
- from os import path
-
- from setuptools import find_packages, setup
-
--VERSION = imp.load_source('version', path.join('.', 'token_bucket', 'version.py'))
--VERSION = VERSION.__version__
-+loader = importlib.machinery.SourceFileLoader(
-+ 'version', path.join('.', 'token_bucket', 'version.py')
-+)
-+spec = importlib.util.spec_from_loader(loader.name, loader)
-+module = importlib.util.module_from_spec(spec)
-+
-+loader.exec_module(module)
-
-+VERSION = module.__version__
-
- setup(
- name='token_bucket',
diff --git a/0001-Drop-pytest-runner-and-setup.py-test-support.patch b/0001-Drop-pytest-runner-and-setup.py-test-support.patch
deleted file mode 100644
index e8b52c6..0000000
--- a/0001-Drop-pytest-runner-and-setup.py-test-support.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From ad374beaac38cecdad786ea0a7eceb3f7ad2614c Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 4 Mar 2025 14:48:23 -0500
-Subject: [PATCH] Drop pytest-runner and "setup.py test" support
-
----
- setup.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 127dbd5..353cd2f 100644
---- a/setup.py
-+++ b/setup.py
-@@ -42,6 +42,4 @@ setup(
- packages=find_packages(exclude=['tests']),
- python_requires='>=3.5',
- install_requires=[],
-- setup_requires=['pytest-runner'],
-- tests_require=['pytest'],
- )
---
-2.48.1
-
diff --git a/python-token-bucket.spec b/python-token-bucket.spec
index 34c80e9..4d13c8c 100644
--- a/python-token-bucket.spec
+++ b/python-token-bucket.spec
@@ -1,6 +1,6 @@
Name: python-token-bucket
-Version: 0.3.0
-Release: 20%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Summary: A Token Bucket implementation
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
@@ -11,15 +11,6 @@ Source0: %{url}/archive/refs/tags/%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
-# Temporary, until https://github.com/falconry/token-bucket/pull/24 gets
-# merged upstream.
-Patch0: 0000-py312-imp.patch
-# Drop pytest-runner and "setup.py test" support
-# https://github.com/falconry/token-bucket/pull/28
-# Cherry-picked on 0.3.0
-# https://fedoraproject.org/wiki/Changes/DeprecatePythonPytestRunner
-Patch1: 0001-Drop-pytest-runner-and-setup.py-test-support.patch
-
%global _description %{expand:
The token-bucket package provides an implementation of the token bucket
algorithm suitable for use in web applications for shaping or policing
@@ -55,6 +46,9 @@ Summary: %{summary}
%license LICENSE
%changelog
+* Sun Nov 08 2026 Simon de Vlieger <cmdr@supakeen.com> - 0.4.0-1
+- Update to upstream release 0.4.0
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 70ca778..e71edfb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (0.3.0.tar.gz) = 751d327680eb0caccaa175f9e63f93dbc7f517ed6525d777bd1c722925e5fb05f1480ab54e6072aa8815a2ddd97d35ce4fa9cb48c460a3eb72283eee884460a3
+SHA512 (0.4.0.tar.gz) = cdce8e343c3e92d35789401a96287841c6ee37f201dc6ec763d5a766161f737eee03426a7810064f74fd30ac153858be9487edd890ffff2c7cd18d6eb2100cf2
reply other threads:[~2026-11-08 7:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179412304894.1.10854059197231873653.rpms-python-token-bucket-bc82344fd169@fedoraproject.org \
--to=cmdr@supakeen.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox