代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
Name: python-cachetools
Version: 6.2.2
Release: 1
Summary: Extensible memoizing collections and decorators
License: MIT
URL: https://github.com/tkem/cachetools/
Source0: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz
BuildArch: noarch
%description
This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's `@lru_cache`_
function decorator.
%package -n python3-cachetools
Summary: Extensible memoizing collections and decorators
Provides: python-cachetools
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pytest
BuildRequires: pyproject-rpm-macros
%description -n python3-cachetools
This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's `@lru_cache`_
function decorator.
%package help
Summary: Extensible memoizing collections and decorators
Provides: python3-cachetools-doc
%description help
This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's `@lru_cache`_
function decorator.
%prep
%autosetup -n cachetools-%{version}
%build
%pyproject_wheel
%install
%pyproject3_install
%pyproject_save_files -l cachetools
%check
%pytest
%files -n python3-cachetools -f %{pyproject_files}
%doc CHANGELOG.rst README.rst
%changelog
* Thu Nov 27 2025 zhangzeyang0718 <zhangzeyang@kylinos.cn> - 6.2.2-1
- Update to 6.2.2
* Tue Nov 4 2025 Hann <hannannan@kylinos.cn> - 6.2.1-1
- Update package to version 6.2.1
- Add support for Python 3.14
- Improve documentation
- Update CI environment
* Mon Sep 01 2025 liudy <liudingyao@kylinos.cn> - 6.2.0-1
- Update package to version 6.2.0
- Add more unit tests
- Improve general ``RRCache`` performance by storing cache keys in an
additional sequence container.
* Wed Aug 20 2025 yaoxin <1024769339@qq.com> - 6.1.0-1
- Update to 6.1.0:
* Improve LFUCache insertion performance by switching to an
implementation based on the cacheing library.
* Require Python 3.9 or later (breaking change).
* Thu Jun 12 2025 yaoxin <1024769339@qq.com> - 6.0.0-2
- Switch to pytest to fix build failure
* Thu May 29 2025 hexun <hex@teligen.net> - 6.0.0-1
- Update package to version 6.0.0
* Wed May 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 5.5.2-1
- Update to version 5.5.2
Add note about maxsize being an actual number
Reduce number of decorator lock/unlock operations in case of cache miss
Add test case for decorator lock/unlock operations
Show missing lines in tox coverage report
Add documentation regarding caching of exceptions
Officially support Python 3.13
* Fri Oct 11 2024 lixiaoyong <lixiaoyong@kylinos.cn> - 5.5.0-1
- Update to version 5.5.0
- ``TTLCache.expire()`` returns iterable of expired ``(key, value)``
pairs
- ``TLRUCache.expire()`` returns iterable of expired ``(key, value)``
pairs
- Documentation improvements
- Update CI environment
* Thu Jul 18 2024 liudy <liudingyao@kylinos.cn> - 5.4.0-1
- Update package to version 5.4.0
- Add the keys.typedmethodkey decorator
- Deprecate MRUCache class
- Deprecate @func.mru_cache decorator
- Update CI environment
* Mon Nov 20 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.3.2-1
- Update package to version 5.3.2
* Tue Jun 27 2023 ZixuanChen <chenzixuan@kylinos.cn> - 5.3.1-1
- Upgrade to version 5.3.1
* Fri Apr 07 2023 xu_ping <707078654@qq.com> - 5.3.0-1
- Upgrade to version 5.3.0
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 5.2.0-1
- Upgrade to version 5.2.0
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 4.2.1-1
- Upgrade to version 4.2.1
* Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。