Upstream update available: python3-pycodestyle 2.12.1 → 2.14.0 #1

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

Upstream update available: python3-pycodestyle 2.12.12.14.0

Package

  • Package: python3-pycodestyle
  • RPM name: python3-pycodestyle
  • Branch: niceos-5.2
  • Current EVR: 2.12.1-1
  • Update class: minor
  • 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/medium, update/minor, upstream-update, upstream/pypi

NiceSOFT AI preliminary analysis

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

Предлагается обновление пакета python3-pycodestyle с версии 2.12.1 до 2.14.0. Обновление классифицируется как минорное (minor), не содержит обнаруженных уязвимостей безопасности и не блокируется политикой дистрибутива.

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

low. Обновление касается инструмента статического анализа кода (pycodestyle), который является утилитарным пакетом. Минорная версия обычно содержит исправления багов или небольшие улучшения функциональности, не влияющие на стабильность системы в целом. Отсутствие тегов безопасности подтверждает низкий профиль риска.

3. Security/CVE

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

4. ABI/API риск

Пакет pycodestyle является инструментом командной строки и библиотекой для проверки стиля кода. Он не предоставляет публичного API, от которого зависят другие компоненты системы (unstable ABI). Однако изменение номера версии может теоретически повлиять на поведение плагинов или скриптов, использующих внутренние функции. Для полной уверенности требуется ручной анализ изменений в коде между версиями 2.12.1 и 2.14.0, но исходя из типа пакета, риск критического нарушения совместимости минимален.

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

Вероятность поломки сборки низка. Пакет зависит только от стандартной библиотеки Python (requires: python3), что не меняется при минорных обновлениях. В release notes отсутствуют указания на смену зависимостей (BuildRequires) или необходимость применения новых патчей. Тестовый набор (%check) должен пройти успешно, если логика проверки стиля не была изменена кардинально.

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

  • Запустить rpmbuild с флагом -v для детального просмотра логов сборки.
  • Выполнить %check этап сборки локально.
  • Сравнить хеш-суммы исходного кода (tarball) с ожидаемыми значениями для версии 2.14.0.
  • Проверить наличие новых файлов в распакованном архиве, которые могут потребовать добавления в %files.
  • Убедиться, что файл pycodestyle.py (или модуль) корректно импортируется после установки.

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

update candidate

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

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

Upstream release notes / description

Python style guide checker

pycodestyle (formerly called pep8) - Python style guide checker

.. image:: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml/badge.svg
:target: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml
:alt: Build status

.. image:: https://readthedocs.org/projects/pycodestyle/badge/?version=latest
:target: https://pycodestyle.pycqa.org
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/wheel/pycodestyle.svg
:target: https://pypi.org/project/pycodestyle/
:alt: Wheel Status

.. image:: https://badges.gitter.im/PyCQA/pycodestyle.svg
:alt: Join the chat at https://gitter.im/PyCQA/pycodestyle
:target: https://gitter.im/PyCQA/pycodestyle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

pycodestyle is a tool to check your Python code against some of the style
conventions in PEP 8_.

.. _PEP 8: http://www.python.org/dev/peps/pep-0008/

.. note::

This package used to be called ``pep8`` but was renamed to ``pycodestyle``
to reduce confusion. Further discussion can be found `in the issue where
Guido requested this
change <https://github.com/PyCQA/pycodestyle/issues/466>`_, or in the
lightning talk at PyCon 2016 by @IanLee1521:
`slides <https://speakerdeck.com/ianlee1521/pep8-vs-pep-8>`_
`video <https://youtu.be/PulzIT8KYLk?t=36m>`_.

Features

  • Plugin architecture: Adding new checks is easy.

  • Parseable output: Jump to error location in your editor.

  • Small: Just one Python file, requires only stdlib. You can use just
    the pycodestyle.py file for this purpose.

  • Comes with a comprehensive test suite.

Installation

You can install, upgrade, and uninstall pycodestyle.py with these commands::

$ pip install pycodestyle
$ pip install --upgrade pycodestyle
$ pip uninstall pycodestyle

There's also a package for Debian/Ubuntu, but it's not always the
latest version.

Example usage and output

::

$ pycodestyle --first optparse.py
optparse.py:69:11: E401 multiple imports on one line
optparse.py:77:1: E302 expected 2 blank lines, found 1
optparse.py:88:5: E301 expected 1 blank line, found 0
optparse.py:347:31: E211 whitespace before '('
optparse.py:357:17: E201 whitespace after '{'
optparse.py:472:29: E221 multiple spaces before operator

You can also make pycodestyle.py show the source code for each error, and
even the relevant text from PEP 8::

$ pycodestyle --show-source --show-pep8 testing/data/E40.py
testing/data/E40.py:2:10: E401 multiple imports on one line
import os, sys
^
Imports should usually be on separate lines.

  Okay: import os\nimport sys
  E401: import sys, os

Or you can display how often each error was found::

$ pycodestyle --statistics -qq Python-2.5/Lib
232 E201 whitespace after '['
599 E202 whitespace before ')'
631 E203 whitespace before ','
842 E211 whitespace before '('
2531 E221 multiple spaces before operator
4473 E301 expected 1 blank line, found 0
4006 E302 expected 2 blank lines, found 1
165 E303 too many blank lines (4)
325 E401 multiple imports on one line
3615 E501 line too long (82 characters)

  • Read the documentation <https://pycodestyle.pycqa.org/>_

  • Fork me on GitHub <http://github.com/PyCQA/pycodestyle>_

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:59:46Z
<!-- niceos-upstream-monitor:fingerprint=upstream-update:python3-pycodestyle:2.14.0 --> <!-- niceos-upstream-monitor:package=python3-pycodestyle --> <!-- niceos-upstream-monitor:current=2.12.1 --> <!-- niceos-upstream-monitor:latest=2.14.0 --> # Upstream update available: `python3-pycodestyle` `2.12.1` → `2.14.0` ## Package - Package: `python3-pycodestyle` - RPM name: `python3-pycodestyle` - Branch: `niceos-5.2` - Current EVR: `2.12.1-1` - Update class: `minor` - Compare method: `python_rpm` - Update policy: `leaf` - Risk tags: `standard` ## Upstream - Upstream type: `pypi` - Upstream project: `-` - Upstream URL: https://files.pythonhosted.org/packages/43/aa/210b2c9aedd8c1cbeea31a50e42050ad56187754b34eb214c46709445801/pycodestyle-2.12.1.tar.gz - Detected version: `2.14.0` - Tag/release: `2.14.0` - Source: `pypi_json` - Published: `2025-06-20T18:49:48.750360Z` - Release URL: https://pypi.org/project/pycodestyle/ - Source URL: https://files.pythonhosted.org/packages/11/e0/abfd2a0d2efe47670df87f3e3a0e2edda42f055053c85361f19c0e2c1ca8/pycodestyle-2.14.0.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/medium, update/minor, upstream-update, upstream/pypi` ## NiceSOFT AI preliminary analysis ### 1. Краткий вывод Предлагается обновление пакета `python3-pycodestyle` с версии 2.12.1 до 2.14.0. Обновление классифицируется как минорное (minor), не содержит обнаруженных уязвимостей безопасности и не блокируется политикой дистрибутива. ### 2. Риск для НАЙС.ОС **low**. Обновление касается инструмента статического анализа кода (`pycodestyle`), который является утилитарным пакетом. Минорная версия обычно содержит исправления багов или небольшие улучшения функциональности, не влияющие на стабильность системы в целом. Отсутствие тегов безопасности подтверждает низкий профиль риска. ### 3. Security/CVE Во входных данных отсутствуют признаки уязвимостей безопасности. Поле `security_keywords_detected_by_script` имеет значение `False`, а в разделе `Release notes` нет упоминаний исправлений CVE или критических проблем безопасности. ### 4. ABI/API риск Пакет `pycodestyle` является инструментом командной строки и библиотекой для проверки стиля кода. Он не предоставляет публичного API, от которого зависят другие компоненты системы (unstable ABI). Однако изменение номера версии может теоретически повлиять на поведение плагинов или скриптов, использующих внутренние функции. Для полной уверенности требуется ручной анализ изменений в коде между версиями 2.12.1 и 2.14.0, но исходя из типа пакета, риск критического нарушения совместимости минимален. ### 5. Риск для RPM-сборки Вероятность поломки сборки низка. Пакет зависит только от стандартной библиотеки Python (`requires: python3`), что не меняется при минорных обновлениях. В release notes отсутствуют указания на смену зависимостей (`BuildRequires`) или необходимость применения новых патчей. Тестовый набор (`%check`) должен пройти успешно, если логика проверки стиля не была изменена кардинально. ### 6. Проверки мейнтейнера - [ ] Запустить `rpmbuild` с флагом `-v` для детального просмотра логов сборки. - [ ] Выполнить `%check` этап сборки локально. - [ ] Сравнить хеш-суммы исходного кода (tarball) с ожидаемыми значениями для версии 2.14.0. - [ ] Проверить наличие новых файлов в распакованном архиве, которые могут потребовать добавления в `%files`. - [ ] Убедиться, что файл `pycodestyle.py` (или модуль) корректно импортируется после установки. ### 7. Рекомендация update candidate ### 8. Основание рекомендации Обновление классифицировано как минорное, не несет рисков безопасности, не нарушает политику дистрибутива и не требует автоматического отклонения. Пакет является утилитарным, и вероятность негативного влияния на систему крайне мала. Рекомендуется включить в очередь кандидатов на обновление после прохождения стандартных проверок сборки. ## Upstream release notes / description Python style guide checker pycodestyle (formerly called pep8) - Python style guide checker =============================================================== .. image:: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml/badge.svg :target: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml :alt: Build status .. image:: https://readthedocs.org/projects/pycodestyle/badge/?version=latest :target: https://pycodestyle.pycqa.org :alt: Documentation Status .. image:: https://img.shields.io/pypi/wheel/pycodestyle.svg :target: https://pypi.org/project/pycodestyle/ :alt: Wheel Status .. image:: https://badges.gitter.im/PyCQA/pycodestyle.svg :alt: Join the chat at https://gitter.im/PyCQA/pycodestyle :target: https://gitter.im/PyCQA/pycodestyle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge pycodestyle is a tool to check your Python code against some of the style conventions in `PEP 8`_. .. _PEP 8: http://www.python.org/dev/peps/pep-0008/ .. note:: This package used to be called ``pep8`` but was renamed to ``pycodestyle`` to reduce confusion. Further discussion can be found `in the issue where Guido requested this change <https://github.com/PyCQA/pycodestyle/issues/466>`_, or in the lightning talk at PyCon 2016 by @IanLee1521: `slides <https://speakerdeck.com/ianlee1521/pep8-vs-pep-8>`_ `video <https://youtu.be/PulzIT8KYLk?t=36m>`_. Features -------- * Plugin architecture: Adding new checks is easy. * Parseable output: Jump to error location in your editor. * Small: Just one Python file, requires only stdlib. You can use just the ``pycodestyle.py`` file for this purpose. * Comes with a comprehensive test suite. Installation ------------ You can install, upgrade, and uninstall ``pycodestyle.py`` with these commands:: $ pip install pycodestyle $ pip install --upgrade pycodestyle $ pip uninstall pycodestyle There's also a package for Debian/Ubuntu, but it's not always the latest version. Example usage and output ------------------------ :: $ pycodestyle --first optparse.py optparse.py:69:11: E401 multiple imports on one line optparse.py:77:1: E302 expected 2 blank lines, found 1 optparse.py:88:5: E301 expected 1 blank line, found 0 optparse.py:347:31: E211 whitespace before '(' optparse.py:357:17: E201 whitespace after '{' optparse.py:472:29: E221 multiple spaces before operator You can also make ``pycodestyle.py`` show the source code for each error, and even the relevant text from PEP 8:: $ pycodestyle --show-source --show-pep8 testing/data/E40.py testing/data/E40.py:2:10: E401 multiple imports on one line import os, sys ^ Imports should usually be on separate lines. Okay: import os\nimport sys E401: import sys, os Or you can display how often each error was found:: $ pycodestyle --statistics -qq Python-2.5/Lib 232 E201 whitespace after '[' 599 E202 whitespace before ')' 631 E203 whitespace before ',' 842 E211 whitespace before '(' 2531 E221 multiple spaces before operator 4473 E301 expected 1 blank line, found 0 4006 E302 expected 2 blank lines, found 1 165 E303 too many blank lines (4) 325 E401 multiple imports on one line 3615 E501 line too long (82 characters) Links ----- * `Read the documentation <https://pycodestyle.pycqa.org/>`_ * `Fork me on GitHub <http://github.com/PyCQA/pycodestyle>`_ ## 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:59:46Z`
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-pycodestyle#1
No description provided.