%global modname dogpile.cache %global sum A caching front-end based on the Dogpile lock %global desc Dogpile consists of two subsystems, one building on top of the other.\ \ dogpile provides the concept of a "dogpile lock", a control structure\ which allows a single thread of execution to be selected as the\ "creator" of some resource, while allowing other threads of execution to\ refer to the previous version of this resource as the creation proceeds;\ if there is no previous version, then those threads block until the\ object is available.\ \ dogpile.cache is a caching API which provides a generic interface to\ caching backends of any variety, and additionally provides API hooks\ which integrate these cache backends with the locking mechanism of\ dogpile.\ \ Overall, dogpile.cache is intended as a replacement to the Beaker\ caching system, the internals of which are written by the same author.\ All the ideas of Beaker which "work" are re- implemented in\ dogpile.cache in a more efficient and succinct manner, and all the cruft\ (Beaker\'s internals were first written in 2005) relegated to the trash\ heap. Name: python-dogpile-cache Version: 1.2.2 Release: 3%{?dist} Summary: %{sum} License: MIT URL: https://pypi.io/project/dogpile.cache Source0: https://pypi.io/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-decorator >= 4.0.0 BuildRequires: python3-devel BuildRequires: python3-mako BuildRequires: python3-pytest-cov BuildRequires: python3-setuptools BuildRequires: python3-stevedore BuildRequires: python3-typing-extensions %description %{desc} %package -n python3-dogpile-cache Summary: %{sum} Requires: python3-mako %{?python_provide:%python_provide python3-dogpile-cache} Provides: python3-dogpile-core = %{version}-%{release} Obsoletes: python3-dogpile-core < 0.4.1-12 %description -n python3-dogpile-cache %{desc} %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} %check # Package is currently FTBFS because of some failing tests. # In order to continue with bootstrap sequence of Python 3.10, we are disabling them. # Once it is fixed it can be again enabled. # Downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1958192 %{__python3} -m pytest -k "not test_cache_preserve_sig and not test_cache_multi_preserve_sig" %files -n python3-dogpile-cache %license LICENSE %doc README.rst %{python3_sitelib}/dogpile %{python3_sitelib}/%{modname}-%{version}-* %changelog * Fri Jul 21 2023 Fedora Release Engineering - 1.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Jonathan Wright - 1.2.2-2 - Add missing BR * Fri Jul 14 2023 Jonathan Wright - 1.2.2-1 - Update to 1.2.2 rhbz#2208776 * Thu Jun 15 2023 Python Maint - 1.2.0-3 - Rebuilt for Python 3.12 * Thu Apr 27 2023 Jonathan Wright - 1.2.0-2 - remove unnecessary BR on python3-mock * Thu Apr 27 2023 Jonathan Wright - 1.2.0-1 - Update to 1.2.0 rhbz#2189978 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 18 2022 Kevin Fenzi - 1.1.8-1 - Update to 1.1.8. Fixes rhbz#2095790 * Fri Jul 22 2022 Fedora Release Engineering - 1.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 1.1.5-2 - Rebuilt for Python 3.11 * Mon Feb 07 2022 Joel Capitao - 1.1.5-1 - Update to 1.1.5. Fixes rhbz#2000647 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.1.3-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 26 2021 siddharthvipul - 1.1.3-1 - Update to 1.1.3. Fixes rhbz#1962945 * Fri Jun 04 2021 Python Maint - 1.1.2-2 - Rebuilt for Python 3.10 * Thu Jan 28 2021 Kevin Fenzi - 1.1.2-1 - Update to 1.1.2. Fixes rhbz#1920627 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 01 2021 Kevin Fenzi - 1.1.1-1 - Upgrade to 1.1.1. Fixes rhbz#1897941 * Sat Oct 10 2020 Kevin Fenzi - 1.0.2-1 - Update to 1.0.2. - Add patch to use older python-stevedore package in fedora for now for tests. * Sat Aug 01 2020 Fedora Release Engineering - 0.9.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Miro Hrončok - 0.9.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 15 2019 Randy Barlow - 0.9.0-1 - Update to 0.9.0 (#1766238). - https://dogpilecache.sqlalchemy.org/en/latest/changelog.html#change-0.9.0 * Fri Sep 27 2019 Randy Barlow - 0.8.0-1 - Update to 0.8.0 (#1754092). - https://dogpilecache.sqlalchemy.org/en/latest/changelog.html * Mon Sep 09 2019 Randy Barlow - 0.6.8-3 - Drop python2-dogpile-cache (#1748419). * Sat Aug 17 2019 Miro Hrončok - 0.6.8-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 06 2019 Alfredo Moralejo - 0.6.8-1 - Update to 0.6.8. * Sat Feb 02 2019 Fedora Release Engineering - 0.6.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 09 2018 Randy Barlow - 0.6.7-1 - Update to 0.6.7 (#1609253). - https://dogpilecache.readthedocs.io/en/latest/changelog.html#change-0.6.7 * Mon Jul 23 2018 Kevin Fenzi - 0.6.6-1 - Fix FTBFS bug #1605662 - Update to 0.6.6. * Sat Jul 14 2018 Fedora Release Engineering - 0.6.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Miro Hrončok - 0.6.5-2 - Rebuilt for Python 3.7 * Thu Apr 12 2018 Ralph Bean - 0.6.5-1 - new version * Mon Feb 12 2018 Iryna Shcherbina - 0.6.4-5 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild