public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-persist-queue] rawhide: Update to 1.1.0
Date: Thu, 02 Jul 2026 15:08:55 GMT [thread overview]
Message-ID: <178300493585.1.2130095725925932760.rpms-python-persist-queue-913d4ce0b388@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-persist-queue
Branch : rawhide
Commit : 913d4ce0b38808ac2f96f6c78b368e5537d394c0
Author : Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
Date : 2026-07-02T17:08:07+02:00
Stats : +43/-247 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-persist-queue/c/913d4ce0b38808ac2f96f6c78b368e5537d394c0?branch=rawhide
Log:
Update to 1.1.0
---
diff --git a/.gitignore b/.gitignore
index 3d7c0e5..e62f1fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/persist-queue-0.6.0.tar.gz
/persist-queue-0.7.0.tar.gz
/persist-queue-0.8.0.tar.gz
+/python-persist-queue-1.1.0.tar.gz
diff --git a/python-persist-queue.spec b/python-persist-queue.spec
index 3999005..f9b5585 100644
--- a/python-persist-queue.spec
+++ b/python-persist-queue.spec
@@ -1,265 +1,60 @@
-%if 0%{?fedora}
-%global with_python2 0
-%global with_python3 1
-%endif
+%global srcname persist-queue
-%global pypi_name persist-queue
+Name: python-%{srcname}
+Version: 1.1.0
+Release: %autorelease
+Summary: A thread-safe disk based persistent queue in Python
-Name: python-%{pypi_name}
-Version: 0.8.0
-Release: 16%{?dist}
-Summary: A single process, persistent multi-producer, multi-consumer queue
+License: BSD-3-Clause
+URL: https://github.com/peter-wangxu/persist-queue
+Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
-URL: https://pypi.python.org/pypi/%{pypi_name}
-Source0: https://pypi.io/packages/source/%(n=%{pypi_name}; echo ${n:0:1})/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-BuildArch: noarch
+BuildArch: noarch
-%description
-A single process, persistent multi-producer, multi-consumer queue
+BuildRequires: python3-devel
+# Without this I get errors like
+#E ModuleNotFoundError: No module named 'module_name'
+BuildRequires: python3dist(aiofiles)
+BuildRequires: python3dist(aiosqlite)
+BuildRequires: python3dist(cbor2)
+BuildRequires: python3dist(msgpack)
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pytest-asyncio)
-%if 0%{?with_python2}
-%package -n python2-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{pypi_name}}
+%global _description %{expand:
+persist-queue implements file-based and SQLite3-based persistent queues for
+Python. It provides thread-safe, disk-based queue implementations that survive
+process crashes and restarts.}
-BuildRequires: python2-devel
-BuildRequires: python2-mock
-BuildRequires: python2-setuptools
-BuildRequires: python2-nose2
-BuildRequires: python2-msgpack
+%description %{_description}
-Requires: python2-msgpack
+%package -n python3-%{srcname}
+Summary: %{summary}
-%description -n python2-%{pypi_name}
-A single process, persistent multi-producer, multi-consumer queue
-
-%endif
-
-%if 0%{?with_python3}
-%package -n python3-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
-
-BuildRequires: python3-devel
-BuildRequires: python3-nose2
-BuildRequires: python3-msgpack
-BuildRequires: python3-setuptools
-
-Requires: python3-msgpack
-
-%description -n python3-%{pypi_name}
-A single process, persistent multi-producer, multi-consumer queue
-
-%endif
+%description -n python3-%{srcname} %{_description}
%prep
-%setup -n %{pypi_name}-%{version}
+%autosetup -n %{srcname}-%{version}
-%build
-%if 0%{?with_python2}
-%py2_build
-%endif
+%generate_buildrequires
+%pyproject_buildrequires
-%if 0%{?with_python3}
-%py3_build
-%endif
+%build
+%pyproject_wheel
%install
-%if 0%{?with_python2}
-%py2_install
-%endif
-
-%if 0%{?with_python3}
-%py3_install
-%endif
+%pyproject_install
+%pyproject_save_files -l persistqueue
+# Disabled due to missing dbutils and pymsql dependencies.
+#%%pyproject_extras_subpkg -n python3-%%{srcname} extra
+%pyproject_extras_subpkg -n python3-%{srcname} async
%check
-%if 0%{?with_python2}
-nose2-2.7 persistqueue.tests.test_queue
-%endif
-%if 0%{?with_python3}
-nose2 persistqueue.tests.test_queue
-%endif
-
-%if 0%{?with_python2}
-%files -n python2-%{pypi_name}
-%license LICENSE
-%doc README.rst
-%{python2_sitelib}/*
-%exclude %{python2_sitelib}/tests
-%endif
+# test_mysqlqueue.py requires dbutils, which is unavailable and only an extra requirement.
+%pytest --ignore=persistqueue/tests/test_mysqlqueue.py
-%if 0%{?with_python3}
-%files -n python3-%{pypi_name}
-%license LICENSE
-%doc README.rst
-%{python3_sitelib}/*
-%exclude %{python3_sitelib}/tests
-%endif
+%files -n python3-%{srcname} -f %{pyproject_files}
+%doc README.rst docs/ASYNC_IMPLEMENTATION.md docs/async_api.md
%changelog
-* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.8.0-16
-- Rebuilt for Python 3.15
-
-* Wed Feb 11 2026 Michel Lind <salimma@fedoraproject.org> - 0.8.0-15
-- Rebuilt without python-mock
-
-* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.8.0-13
-- Rebuilt for Python 3.14.0rc3 bytecode
-
-* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.8.0-12
-- Rebuilt for Python 3.14.0rc2 bytecode
-
-* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-11
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
-
-* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.8.0-10
-- Rebuilt for Python 3.14
-
-* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-
-* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 0.8.0-8
-- convert license to SPDX
-
-* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 0.8.0-6
-- Rebuilt for Python 3.13
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Mon Jun 19 2023 Python Maint <python-maint@redhat.com> - 0.8.0-2
-- Rebuilt for Python 3.12
-
-* Thu Jan 26 2023 Eric Harney <eharney@redhat.com> - 0.8.0-1
-- Update to 0.8.0
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.0-2
-- Rebuilt for Python 3.11
-
-* Mon Jan 24 2022 Eric Harney <eharney@redhat.com> - 0.7.0-1
-- Update to 0.7.0
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.0-2
-- Rebuilt for Python 3.10
-
-* Wed Apr 07 2021 Eric Harney <eharney@redhat.com> - 0.6.0-1
-- Update to 0.6.0
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Mon Nov 09 2020 Eric Harney <eharney@redhat.com> - 0.5.1-1
-- Update to 0.5.1
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue Jun 23 2020 Eric Harney <eharney@redhat.com> - 0.5.0-4
-- Add python3-setuptools BuildRequires
-
-* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3
-- Rebuilt for Python 3.9
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Tue Nov 12 2019 Eric Harney <eharney@redhat.com> - 0.5.0-1
-- Update to 0.5.0
-
-* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.2-4
-- Rebuilt for Python 3.8.0rc1 (#1748018)
-
-* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.2-3
-- Rebuilt for Python 3.8
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Mon Feb 18 2019 Eric Harney <eharney@redhat.com> - 0.4.2-1
-- Update to 0.4.2
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Oct 03 2018 Eric Harney <eharney@redhat.com> - 0.4.0-4
-- Remove Python 2 packages for Fedora
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
-- Rebuilt for Python 3.7
-
-* Mon Jun 18 2018 Eric Harney <eharney@redhat.com> - 0.4.0-1
-- Update to 0.4.0
-
-* Tue May 15 2018 Eric Harney <eharney@redhat.com> - 0.3.6-1
-- Update to 0.3.6
-
-* Wed Feb 14 2018 Eric Harney <eharney@redhat.com> - 0.3.5-1
-- Update to 0.3.5
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Fri Jan 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.4-2
-- Update Python 2 dependency declarations to new packaging standards
- (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
-
-* Mon Dec 18 2017 Eric Harney <eharney@redhat.com> - 0.3.4-1
-- Update to 0.3.4
-
-* Thu Nov 09 2017 Eric Harney <eharney@redhat.com> - 0.3.3-1
-- Update to 0.3.3
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon Jun 05 2017 Eric Harney <eharney@redhat.com> - 0.2.3-1
-- Update to 0.2.3
-
-* Tue May 16 2017 Eric Harney <eharney@redhat.com> - 0.2.2-1
-- Update to 0.2.2
-
-* Tue Mar 14 2017 Eric Harney <eharney@redhat.com> - 0.2.1-1
-- Update to 0.2.1
-
-* Mon Mar 13 2017 Eric Harney <eharney@redhat.com> - 0.2.0-1
-- Update to 0.2.0
-
-* Fri Mar 10 2017 Eric Harney <eharney@redhat.com> - 0.1.6-1
-- Update to 0.1.6
-- License is now BSD
-
-* Wed Feb 15 2017 Eric Harney <eharney@redhat.com> - 0.1.5-1
-- Update to 0.1.5
-
-* Tue Feb 14 2017 Eric Harney <eharney@redhat.com> - 0.1.4-1
-- Initial package
+%autochangelog
diff --git a/sources b/sources
index bff3535..65b825a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (persist-queue-0.8.0.tar.gz) = 85a6f66df902ee45e07a8611930549d0c8ae028338b09e0408a3d47fd5989f72477a91965cbb8b4919d2be8b6306777d2f83346f7c0fa4e9601b2a4d15891121
+SHA512 (python-persist-queue-1.1.0.tar.gz) = aea8cad289194e1e810fd602185e14621c00308bcb819b6178fdded84ea4a9aa72502812011d7bd95824d1c11ecf3213b8a1ef66d251f601c17cd34903ab70eb
reply other threads:[~2026-07-02 15:08 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=178300493585.1.2130095725925932760.rpms-python-persist-queue-913d4ce0b388@fedoraproject.org \
--to=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