From bafc03c05db41cf3c7835f32260a58cfe02678ec2141f316a889833ecab4b012 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 28 May 2025 15:22:24 +0000 Subject: [PATCH] - Update to 1.8.0 * Added support for Python 3.13 and PyPy 3.11 * Removed support for Python 3.8 * Queue classes now accept ``os.PathLike`` paths * Fixed test failures on Windows * Switched the build system to ``hatchling`` * Improved linting and CI configuration - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Update BuildRequires from pyproject.toml OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-queuelib?expand=0&rev=13 --- python-queuelib.changes | 19 +++++++++++++++++++ python-queuelib.spec | 13 ++++++++----- queuelib-1.7.0.tar.gz | 3 --- queuelib-1.8.0.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 8 deletions(-) delete mode 100644 queuelib-1.7.0.tar.gz create mode 100644 queuelib-1.8.0.tar.gz diff --git a/python-queuelib.changes b/python-queuelib.changes index 29bda40..ece3032 100644 --- a/python-queuelib.changes +++ b/python-queuelib.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed May 28 08:41:24 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.8.0 + * Added support for Python 3.13 and PyPy 3.11 + * Removed support for Python 3.8 + * Queue classes now accept ``os.PathLike`` paths + * Fixed test failures on Windows + * Switched the build system to ``hatchling`` + * Improved linting and CI configuration +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Mon Jun 10 09:52:31 UTC 2024 - Dirk Müller diff --git a/python-queuelib.spec b/python-queuelib.spec index a500b5b..950e6ab 100644 --- a/python-queuelib.spec +++ b/python-queuelib.spec @@ -1,7 +1,7 @@ # # spec file for package python-queuelib # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-queuelib -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Collection of Persistent (Disk-Based) Queues License: BSD-2-Clause URL: https://github.com/scrapy/queuelib Source: https://files.pythonhosted.org/packages/source/q/queuelib/queuelib-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -45,10 +48,10 @@ Queuelib goals are speed and simplicity. It was originally part of the %setup -q -n queuelib-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check diff --git a/queuelib-1.7.0.tar.gz b/queuelib-1.7.0.tar.gz deleted file mode 100644 index 85e1748..0000000 --- a/queuelib-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2855162096cf0230510890b354379ea1c0ff19d105d3147d349d2433bb222b08 -size 13291 diff --git a/queuelib-1.8.0.tar.gz b/queuelib-1.8.0.tar.gz new file mode 100644 index 0000000..eba235b --- /dev/null +++ b/queuelib-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:582bc65514481100b0539bd671da6b355b878869cfc77d92c63b75fcc9cf8e27 +size 11675