Upstream update available: python3-docutils 0.21.2 → 0.22.4 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/medium
update/minor
upstream-update
upstream/pypi
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/python3-docutils#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream update available:
python3-docutils0.21.2→0.22.4Package
python3-docutilspython3-docutilsniceos-5.20.21.2-1minorpython_rpmleafstandardUpstream
pypi-0.22.40.22.4pypi_json2025-12-18T19:00:26.443107ZFalseSignals
FalseFalse-ai-summary, bot, needs-build, needs-triage, priority/medium, update/minor, upstream-update, upstream/pypiNiceSOFT AI preliminary analysis
1. Краткий вывод
Предлагается обновление библиотеки
python3-docutilsс версии 0.21.2 до 0.22.4. Обновление классифицируется как минорное (minor), однако релиз-ноты указывают на введение синтаксиса подсказок типов (type hints) для Python 3.10, что потенциально затрагивает совместимость с более старыми версиями интерпретатора. Автоматическое обновление не рекомендуется без предварительной проверки требований к версии Python в системе.2. Риск для НАЙС.ОС
medium.
Хотя обновление помечено как минорное, введение поддержки синтаксиса Python 3.10 в type hints может вызвать проблемы при компиляции или загрузке модуля, если в дистрибутиве используются Python версии ниже 3.10 и не настроена переменная окружения
TYPE_CHECKING. Также требуется убедиться, что зависимые пакеты поддерживают изменения API/ABI, если они были внесены в рамках этого релиза.3. Security/CVE
Во входных данных отсутствуют явные указания на уязвимости безопасности. Поле
security_keywords_detected_by_scriptравноFalse, а в тексте релиз-нот не упоминаются исправления уязвимостей (CVE) или изменения в механизмах обработки ввода/вывода, характерные для security-патчей.4. ABI/API риск
Нужен ручной ABI/API анализ.
Релиз-ноты явно упоминают добавление type hints с использованием синтаксиса Python 3.10. Это может привести к ошибкам импорта (
SyntaxError) в средах с Python < 3.10, если код не обернут в проверкуif sys.version_info >= (3, 10)или если переменнаяTYPE_CHECKINGне установлена корректно. Необходимо проверить, как пакет обрабатывает старые версии Python и нет ли изменений в публичном API, влияющих на внешних потребителей.5. Риск для RPM-сборки
Возможен сбой сборки или проверки (
%check), если:BuildRequiresилиRequiresне указана жесткая зависимость отpython3 >= 3.10(если пакет перестал поддерживать старые версии).setuptoolsилиwheel), которые могут отсутствовать в текущей сборочной среде.6. Проверки мейнтейнера
specфайле корректно заданы зависимости от Python, соответствующие новой версии пакета.%checkсекцию на тестовой машине с минимальной поддерживаемой версией Python.docutils(например,python3-sphinx,python3-pygments).7. Рекомендация
update candidate
8. Основание рекомендации
Обновление является минорным и не содержит критических security-уязвимостей согласно предоставленным данным. Несмотря на потенциальные нюансы с type hints для Python 3.10, пакет остается функциональным инструментом, и риск блокирующего сбоя низок при условии корректной настройки зависимостей от Python. Рекомендуется включить в очередь кандидатов на обновление после прохождения стандартных проверок совместимости.
Upstream release notes / description
Docutils -- Python Documentation Utilities
=========================
README: Docutils 0.22.4
:Author: David Goodger
:Contact: goodger@python.org
:Date:
Date: 2025-12-18 19:44:54 +0100 (Do, 18. Dez 2025):Web site: https://docutils.sourceforge.io/
:Copyright: This document has been placed in the public domain.
:Abstract: Docutils is a modular system for processing documentation into
useful formats, such as HTML, XML, and LaTeX.
For input Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.
.. contents::
Quick-Start
This is for those who want to get up & running quickly.
Docutils requires Python, available from
https://www.python.org/.
See Dependencies_ below for details.
Install the latest stable release from PyPi with pip_::
For alternatives and details, see section
Installation_ below.Use the
front-end scripts_ to convert reStructuredText documents.Try for example::
See Usage_ below for details.
Purpose
The purpose of the Docutils project is to provide a set of tools for
processing plaintext documentation into useful formats, such as HTML,
LaTeX, troff (man pages), OpenOffice, and native XML. Support for the
following sources has been implemented:
Standalone files.
PEPs (Python Enhancement Proposals)_.Support for the following sources is planned or provided by
third party tools_:Inline documentation from Python modules and packages, extracted
with namespace context.
Email (RFC-822 headers, quoted excerpts, signatures, MIME parts).
Wikis, with global reference lookups of "wiki links".
Compound documents, such as multiple chapter files merged into a
book.
And others as discovered.
.. _PEPs (Python Enhancement Proposals):
https://peps.python.org/pep-0012
.. _third party tools: docs/user/links.html#related-applications
Dependencies
To run the code, Python_ must be installed.
(Python is pre-installed with most Linux distributions.)
The type hints added in version 0.22 use Python 3.10 syntax.
However, the Python interpreter treats them as annotations
unless
typing.TYPE_CHECKINGis set toTrue... _Python: https://www.python.org/.
Recommendations
Docutils uses the following packages for enhanced functionality, if they
are installed:
The recommended installer is pip_, setuptools_ works, too.
The
Python Imaging Library_ (PIL) is used for some imagemanipulation operations.
The
Pygments_ package provides syntax highlight of "code" directivesand roles.
The
myst,pycmark, orrecommonmark_ parsers can be used toparse input in "Markdown" (CommonMark_) format.
The
Docutils Link List <docs/user/links.html>__ records projects thatusers of Docutils and reStructuredText may find useful.
.. _pip: https://pypi.org/project/pip/
.. _setuptools: https://pypi.org/project/setuptools/
.. _Python Imaging Library: http://www.pythonware.com/products/pil/
.. _Pygments: https://pypi.org/project/Pygments/
.. _myst: https://pypi.org/project/myst-docutils/
.. _pycmark: https://pypi.org/project/pycmark/
.. _recommonmark: https://github.com/rtfd/recommonmark
.. _CommonMark: https://spec.commonmark.org/0.30/
Installation
The
Python Packaging User Guide_ gives details how touse pip for installing_.The simplest way is to install the latest stable release from PyPi::
To install a pre-relase, append the option
--pre.To install a
development version_ from source:Open a shell
Go to the directory containing the
pyproject.tomlfile.Install the package with one of the
NiceOS maintainer checklist
Versionand related fields inSPECS/*.speconly if policy allows it.SOURCES/sources.lock.json, manifests, metadata and SBOM.Bot metadata
niceos_upstream_monitor.py 1.42026-04-27T22:48:34Z