Upstream update available: python3-cachetools 5.5.0 → 7.0.6 #1

Open
opened 2026-04-28 01:46:15 +03:00 by sbelikov · 0 comments
Owner

Upstream update available: python3-cachetools 5.5.07.0.6

Package

  • Package: python3-cachetools
  • RPM name: python3-cachetools
  • Branch: niceos-5.2
  • Current EVR: 5.5.0-1
  • Update class: major
  • Compare method: python_rpm
  • Update policy: leaf
  • Risk tags: standard

Upstream

Signals

  • Security-relevant keywords detected: False
  • Policy blocked: False
  • Policy reason: -
  • Labels: ai-summary, bot, needs-build, needs-triage, priority/high, update/major, upstream-update, upstream/pypi

NiceSOFT AI preliminary analysis

1. Краткий вывод

Предлагается обновление библиотеки python3-cachetools с версии 5.5.0 до 7.0.6, что является мажорным обновлением (major update). В предоставленных данных отсутствуют конкретные списки изменений (changelog), детали миграции или информация о совместимости API между этими версиями.

2. Риск для НАЙС.ОС

medium. Обновление классифицировано как major, что подразумевает потенциальные изменения в публичном API или поведении библиотеки. Поскольку это библиотека кэширования, используемая другими пакетами, любые скрытые изменения в сигнатурах функций или логике работы кэша могут вызвать сбои у зависимостей внутри дистрибутива.

3. Security/CVE

Во входных данных отсутствуют признаки уязвимостей безопасности или упоминания CVE. Поле security_keywords_detected_by_script равно False.

4. ABI/API риск

Данных недостаточно для оценки риска. Разница между версиями 5.x и 7.x часто означает изменение интерфейса. Необходимо вручную проверить документацию на предмет изменений в классах LRUCache, TTLCache и декораторе cached, а также наличие бэкенда для старых версий (backport) или требований по миграции кода.

5. Риск для RPM-сборки

Возможен риск несовместимости при сборке, если зависимости пакета требуют специфических версий типовых стенов (type stubs) или если в коде пакета используются функции, удаленные или измененные в версии 7.0.6. Также стоит проверить, не изменились ли требования к Python версии (%requires python3) в upstream.

6. Проверки мейнтейнера

  • Получить полный changelog для версии 7.0.6 и сравнить его с 5.5.0.
  • Проверить наличие breaking changes в публичном API (сигнатуры функций, параметры классов).
  • Убедиться, что все пакеты, зависящие от python3-cachetools в репозитории НАЙС.ОС, протестированы после обновления.
  • Проверить совместимость с текущей минимальной поддерживаемой версией Python в дистрибутиве.
  • Проверить лицензию (MIT) на отсутствие изменений или условий, противоречащих политике дистрибутива.

7. Рекомендация

blocked manual review

8. Основание рекомендации

Мажорное обновление библиотеки без явного списка изменений и информации о совместимости требует ручного анализа документации и тестирования зависимых пакетов перед включением в репозиторий. Автоматическое обновление рискованно из-за вероятности нарушения ABI/API.

Upstream release notes / description

Extensible memoizing collections and decorators

cachetools

.. image:: https://img.shields.io/pypi/v/cachetools
:target: https://pypi.org/project/cachetools/
:alt: Latest PyPI version

.. image:: https://img.shields.io/github/actions/workflow/status/tkem/cachetools/ci.yml
:target: https://github.com/tkem/cachetools/actions/workflows/ci.yml
:alt: CI build status

.. image:: https://img.shields.io/readthedocs/cachetools
:target: https://cachetools.readthedocs.io/
:alt: Documentation build status

.. image:: https://img.shields.io/codecov/c/github/tkem/cachetools/master.svg
:target: https://codecov.io/gh/tkem/cachetools
:alt: Test coverage

.. image:: https://img.shields.io/librariesio/sourcerank/pypi/cachetools
:target: https://libraries.io/pypi/cachetools
:alt: Libraries.io SourceRank

.. image:: https://img.shields.io/github/license/tkem/cachetools
:target: https://raw.github.com/tkem/cachetools/master/LICENSE
:alt: License

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: black

This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's @lru_cache_
function decorator.

.. code-block:: python

from cachetools import cached, LRUCache, TTLCache

speed up calculating Fibonacci numbers with dynamic programming

@cached(cache={})
def fib(n):
return n if n < 2 else fib(n - 1) + fib(n - 2)

cache least recently used Python Enhancement Proposals

@cached(cache=LRUCache(maxsize=32))
def get_pep(num):
url = 'http://www.python.org/dev/peps/pep-%04d/' % num
with urllib.request.urlopen(url) as s:
return s.read()

cache weather data for no longer than ten minutes

@cached(cache=TTLCache(maxsize=1024, ttl=600))
def get_weather(place):
return owm.weather_at_place(place).get_weather()

For the purpose of this module, a cache is a mutable_ mapping_ of a
fixed maximum size. When the cache is full, i.e. by adding another
item the cache would exceed its maximum size, the cache must choose
which item(s) to discard based on a suitable cache algorithm_.

This module provides multiple cache classes based on different cache
algorithms, as well as decorators for easily memoizing function and
method calls.

Installation

cachetools is available from PyPI_ and can be installed by running::

pip install cachetools

Typing stubs for this package are provided by typeshed_ and can be
installed by running::

pip install types-cachetools

Project Resources

  • Documentation_
  • Issue tracker_
  • Source code_
  • Change log_
  • asyncache_: Helpers to use cachetools_ with asyncio.
  • cachetools-async_: Helpers to use cachetools_ with asyncio.
  • cacheing_: Pure Python Cacheing Library.
  • CacheToolsUtils_: Stackable cache classes for sharing, encryption,
    statistics and more on top of cachetools_, redis_ and memcached_.
  • shelved-cache_: Persistent cache implementation for Python
    cachetools_.

License

Copyright (c) 2014-2026 Thomas Kemmer.

Licensed under the MIT License_.

.. _@lru_cache: https://docs.python.org/3/library/functools.html#functools.lru_cache
.. _mutable: https://docs.python.org/dev/glossary.html#term-mutable
.. _mapping: https://docs.python.org/dev/glossary.html#term-mapping
.. _cache algorithm: https://en.wikipedia.org/wiki/Cache_algorithms

.. _PyPI: https://pypi.org/project/cachetools/
.. _typeshed: https://github.com/python/typeshed/
.. _Documentation: https://cachetools.readthedocs.io/
.. _Issue tracker: https://github.com/tkem/cachetools/issu

NiceOS maintainer checklist

  • Confirm that the detected version is a stable upstream release.
  • Check upstream changelog for security fixes, ABI/API changes and build-system changes.
  • Check ABI/API compatibility and reverse dependencies.
  • Download source into NiceOS lookaside storage.
  • Update Version and related fields in SPECS/*.spec only if policy allows it.
  • Regenerate SOURCES/sources.lock.json, manifests, metadata and SBOM.
  • Build SRPM/RPM in a clean NiceOS buildroot.
  • Run package smoke tests.
  • Link PR/build logs and close this issue after update or triage.

Bot metadata

  • Tool: niceos_upstream_monitor.py 1.4
  • Generated at: 2026-04-27T22:46:14Z
<!-- niceos-upstream-monitor:fingerprint=upstream-update:python3-cachetools:7.0.6 --> <!-- niceos-upstream-monitor:package=python3-cachetools --> <!-- niceos-upstream-monitor:current=5.5.0 --> <!-- niceos-upstream-monitor:latest=7.0.6 --> # Upstream update available: `python3-cachetools` `5.5.0` → `7.0.6` ## Package - Package: `python3-cachetools` - RPM name: `python3-cachetools` - Branch: `niceos-5.2` - Current EVR: `5.5.0-1` - Update class: `major` - Compare method: `python_rpm` - Update policy: `leaf` - Risk tags: `standard` ## Upstream - Upstream type: `pypi` - Upstream project: `-` - Upstream URL: https://files.pythonhosted.org/packages/c3/38/a0f315319737ecf45b4319a8cd1f3a908e29d9277b46942263292115eee7/cachetools-5.5.0.tar.gz - Detected version: `7.0.6` - Tag/release: `7.0.6` - Source: `pypi_json` - Published: `2026-04-20T19:02:23.289201Z` - Release URL: https://pypi.org/project/cachetools/ - Source URL: https://files.pythonhosted.org/packages/76/7b/1755ed2c6bfabd1d98b37ae73152f8dcf94aa40fee119d163c19ed484704/cachetools-7.0.6.tar.gz - Pre-release: `False` ## Signals - Security-relevant keywords detected: `False` - Policy blocked: `False` - Policy reason: `-` - Labels: `ai-summary, bot, needs-build, needs-triage, priority/high, update/major, upstream-update, upstream/pypi` ## NiceSOFT AI preliminary analysis ### 1. Краткий вывод Предлагается обновление библиотеки `python3-cachetools` с версии 5.5.0 до 7.0.6, что является мажорным обновлением (major update). В предоставленных данных отсутствуют конкретные списки изменений (changelog), детали миграции или информация о совместимости API между этими версиями. ### 2. Риск для НАЙС.ОС **medium**. Обновление классифицировано как `major`, что подразумевает потенциальные изменения в публичном API или поведении библиотеки. Поскольку это библиотека кэширования, используемая другими пакетами, любые скрытые изменения в сигнатурах функций или логике работы кэша могут вызвать сбои у зависимостей внутри дистрибутива. ### 3. Security/CVE Во входных данных отсутствуют признаки уязвимостей безопасности или упоминания CVE. Поле `security_keywords_detected_by_script` равно `False`. ### 4. ABI/API риск Данных недостаточно для оценки риска. Разница между версиями 5.x и 7.x часто означает изменение интерфейса. Необходимо вручную проверить документацию на предмет изменений в классах `LRUCache`, `TTLCache` и декораторе `cached`, а также наличие бэкенда для старых версий (backport) или требований по миграции кода. ### 5. Риск для RPM-сборки Возможен риск несовместимости при сборке, если зависимости пакета требуют специфических версий типовых стенов (type stubs) или если в коде пакета используются функции, удаленные или измененные в версии 7.0.6. Также стоит проверить, не изменились ли требования к Python версии (`%requires python3`) в upstream. ### 6. Проверки мейнтейнера - [ ] Получить полный changelog для версии 7.0.6 и сравнить его с 5.5.0. - [ ] Проверить наличие breaking changes в публичном API (сигнатуры функций, параметры классов). - [ ] Убедиться, что все пакеты, зависящие от `python3-cachetools` в репозитории НАЙС.ОС, протестированы после обновления. - [ ] Проверить совместимость с текущей минимальной поддерживаемой версией Python в дистрибутиве. - [ ] Проверить лицензию (MIT) на отсутствие изменений или условий, противоречащих политике дистрибутива. ### 7. Рекомендация blocked manual review ### 8. Основание рекомендации Мажорное обновление библиотеки без явного списка изменений и информации о совместимости требует ручного анализа документации и тестирования зависимых пакетов перед включением в репозиторий. Автоматическое обновление рискованно из-за вероятности нарушения ABI/API. ## Upstream release notes / description Extensible memoizing collections and decorators cachetools ======================================================================== .. image:: https://img.shields.io/pypi/v/cachetools :target: https://pypi.org/project/cachetools/ :alt: Latest PyPI version .. image:: https://img.shields.io/github/actions/workflow/status/tkem/cachetools/ci.yml :target: https://github.com/tkem/cachetools/actions/workflows/ci.yml :alt: CI build status .. image:: https://img.shields.io/readthedocs/cachetools :target: https://cachetools.readthedocs.io/ :alt: Documentation build status .. image:: https://img.shields.io/codecov/c/github/tkem/cachetools/master.svg :target: https://codecov.io/gh/tkem/cachetools :alt: Test coverage .. image:: https://img.shields.io/librariesio/sourcerank/pypi/cachetools :target: https://libraries.io/pypi/cachetools :alt: Libraries.io SourceRank .. image:: https://img.shields.io/github/license/tkem/cachetools :target: https://raw.github.com/tkem/cachetools/master/LICENSE :alt: License .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code style: black This module provides various memoizing collections and decorators, including variants of the Python Standard Library's `@lru_cache`_ function decorator. .. code-block:: python from cachetools import cached, LRUCache, TTLCache # speed up calculating Fibonacci numbers with dynamic programming @cached(cache={}) def fib(n): return n if n < 2 else fib(n - 1) + fib(n - 2) # cache least recently used Python Enhancement Proposals @cached(cache=LRUCache(maxsize=32)) def get_pep(num): url = 'http://www.python.org/dev/peps/pep-%04d/' % num with urllib.request.urlopen(url) as s: return s.read() # cache weather data for no longer than ten minutes @cached(cache=TTLCache(maxsize=1024, ttl=600)) def get_weather(place): return owm.weather_at_place(place).get_weather() For the purpose of this module, a *cache* is a mutable_ mapping_ of a fixed maximum size. When the cache is full, i.e. by adding another item the cache would exceed its maximum size, the cache must choose which item(s) to discard based on a suitable `cache algorithm`_. This module provides multiple cache classes based on different cache algorithms, as well as decorators for easily memoizing function and method calls. Installation ------------------------------------------------------------------------ cachetools is available from PyPI_ and can be installed by running:: pip install cachetools Typing stubs for this package are provided by typeshed_ and can be installed by running:: pip install types-cachetools Project Resources ------------------------------------------------------------------------ - `Documentation`_ - `Issue tracker`_ - `Source code`_ - `Change log`_ Related Projects ------------------------------------------------------------------------ - asyncache_: Helpers to use cachetools_ with asyncio. - cachetools-async_: Helpers to use cachetools_ with asyncio. - cacheing_: Pure Python Cacheing Library. - CacheToolsUtils_: Stackable cache classes for sharing, encryption, statistics *and more* on top of cachetools_, redis_ and memcached_. - shelved-cache_: Persistent cache implementation for Python cachetools_. License ------------------------------------------------------------------------ Copyright (c) 2014-2026 Thomas Kemmer. Licensed under the `MIT License`_. .. _@lru_cache: https://docs.python.org/3/library/functools.html#functools.lru_cache .. _mutable: https://docs.python.org/dev/glossary.html#term-mutable .. _mapping: https://docs.python.org/dev/glossary.html#term-mapping .. _cache algorithm: https://en.wikipedia.org/wiki/Cache_algorithms .. _PyPI: https://pypi.org/project/cachetools/ .. _typeshed: https://github.com/python/typeshed/ .. _Documentation: https://cachetools.readthedocs.io/ .. _Issue tracker: https://github.com/tkem/cachetools/issu ## NiceOS maintainer checklist - [ ] Confirm that the detected version is a stable upstream release. - [ ] Check upstream changelog for security fixes, ABI/API changes and build-system changes. - [ ] Check ABI/API compatibility and reverse dependencies. - [ ] Download source into NiceOS lookaside storage. - [ ] Update `Version` and related fields in `SPECS/*.spec` only if policy allows it. - [ ] Regenerate `SOURCES/sources.lock.json`, manifests, metadata and SBOM. - [ ] Build SRPM/RPM in a clean NiceOS buildroot. - [ ] Run package smoke tests. - [ ] Link PR/build logs and close this issue after update or triage. ## Bot metadata - Tool: `niceos_upstream_monitor.py 1.4` - Generated at: `2026-04-27T22:46:14Z`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rpms/python3-cachetools#1
No description provided.