Upstream update available: python3-autopep8 2.3.1 → 2.3.2 #1

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

Upstream update available: python3-autopep8 2.3.12.3.2

Package

  • Package: python3-autopep8
  • RPM name: python3-autopep8
  • Branch: niceos-5.2
  • Current EVR: 2.3.1-1
  • Update class: patch
  • 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/patch, upstream-update, upstream/pypi

NiceSOFT AI preliminary analysis

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

Доступны данные о переходе с версии 2.3.1 на 2.3.2, классифицированные как патч-обновление (patch) без обнаруженных ключевых слов безопасности. В предоставленном тексте релизов отсутствует описание конкретных изменений кода или исправлений уязвимостей, характерных для этой версии.

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

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

3. Security/CVE

Во входных данных отсутствуют явные указания на наличие CVE, уязвимостей безопасности или критических исправлений безопасности. Скрипт детектирования безопасности не нашел соответствующих ключевых слов.

4. ABI/API риск

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

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

В предоставленных данных нет информации о специфических проблемах сборки, изменении зависимостей (BuildRequires) или сбое проверок (%check). Стандартные патчи обычно не ломают сборку, но отсутствие детального лога изменений делает невозможным исключение скрытых проблем с зависимостями.

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

  • Сверить хеш-сумму скачанного архива с ожидаемой для версии 2.3.2.
  • Провести локальную сборку RPM из исходников версии 2.3.2.
  • Запустить тесты пакета (если они есть в %check) на собранном RPM.
  • Проверить, не изменились ли зависимости в файле MANIFEST.in или setup.py относительно текущей версии.
  • Убедиться, что файл changelog обновлен после применения патча.

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

update candidate

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

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

Upstream release notes / description

A tool that automatically formats Python code to conform to the PEP 8 style guide

========
autopep8

.. image:: https://img.shields.io/pypi/v/autopep8.svg
:target: https://pypi.org/project/autopep8/
:alt: PyPI Version

.. image:: https://github.com/hhatto/autopep8/workflows/Python%20package/badge.svg
:target: https://github.com/hhatto/autopep8/actions
:alt: Build status

.. image:: https://codecov.io/gh/hhatto/autopep8/branch/main/graph/badge.svg
:target: https://codecov.io/gh/hhatto/autopep8
:alt: Code Coverage

autopep8 automatically formats Python code to conform to the PEP 8_ style
guide. It uses the pycodestyle_ utility to determine what parts of the code
needs to be formatted. autopep8 is capable of fixing most of the formatting
issues_ that can be reported by pycodestyle.

.. _PEP 8: https://www.python.org/dev/peps/pep-0008/
.. _issues: https://pycodestyle.readthedocs.org/en/latest/intro.html#error-codes

.. contents::

Installation

From pip::

$ pip install --upgrade autopep8

Consider using the --user option_.

.. _option: https://pip.pypa.io/en/latest/user_guide/#user-installs

Requirements

autopep8 requires pycodestyle_.

.. _pycodestyle: https://github.com/PyCQA/pycodestyle

Usage

To modify a file in place (with aggressive level 2)::

$ autopep8 --in-place --aggressive --aggressive <filename>

Before running autopep8.

.. code-block:: python

import math, sys;

def example1():
    ####This is a long comment. This should be wrapped to fit within 72 characters.
    some_tuple=(   1,2, 3,'a'  );
    some_variable={'long':'Long code lines should be wrapped within 79 characters.',
    'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'],
    'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1,
    20,300,40000,500000000,60000000000000000]}}
    return (some_tuple, some_variable)
def example2(): return {'has_key() is deprecated':True}.has_key({'f':2}.has_key(''));
class Example3(   object ):
    def __init__    ( self, bar ):
     #Comments should have a space after the hash.
     if bar : bar+=1;  bar=bar* bar   ; return bar
     else:
                    some_string = """
		           Indentation in multiline strings should not be touched.
Only actual code should be reindented.
"""
                    return (sys.path, some_string)

After running autopep8.

.. code-block:: python

import math
import sys


def example1():
    # This is a long comment. This should be wrapped to fit within 72
    # characters.
    some_tuple = (1, 2, 3, 'a')
    some_variable = {
        'long': 'Long code lines should be wrapped within 79 characters.',
        'other': [
            math.pi,
            100,
            200,
            300,
            9876543210,
            'This is a long string that goes on'],
        'more': {
            'inner': 'This whole logical line should be wrapped.',
            some_tuple: [
                1,
                20,
                300,
                40000,
                500000000,
                60000000000000000]}}
    return (some_tuple, some_variable)


def example2(): return ('' in {'f': 2}) in {'has_key() is deprecated': True}


class Example3(object):
    def __init__(self, bar):
        # Comments should have a space after the hash.
        if bar:
            bar += 1
            bar = bar * bar
            return bar
        else:
            some_string = """
		           Indentation in multiline strings should not be touched.
Only actual code should be reindented.
"""
            return (sys.path, some_string)

Options::

usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename]
                [--ignore-local-config] [-r] [-j n] [-p n] [-a]
                [--exp

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:43:55Z
<!-- niceos-upstream-monitor:fingerprint=upstream-update:python3-autopep8:2.3.2 --> <!-- niceos-upstream-monitor:package=python3-autopep8 --> <!-- niceos-upstream-monitor:current=2.3.1 --> <!-- niceos-upstream-monitor:latest=2.3.2 --> # Upstream update available: `python3-autopep8` `2.3.1` → `2.3.2` ## Package - Package: `python3-autopep8` - RPM name: `python3-autopep8` - Branch: `niceos-5.2` - Current EVR: `2.3.1-1` - Update class: `patch` - Compare method: `python_rpm` - Update policy: `leaf` - Risk tags: `standard` ## Upstream - Upstream type: `pypi` - Upstream project: `-` - Upstream URL: https://files.pythonhosted.org/packages/6c/52/65556a5f917a4b273fd1b705f98687a6bd721dbc45966f0f6687e90a18b0/autopep8-2.3.1.tar.gz - Detected version: `2.3.2` - Tag/release: `2.3.2` - Source: `pypi_json` - Published: `2025-01-14T14:46:18.454210Z` - Release URL: https://pypi.org/project/autopep8/ - Source URL: https://files.pythonhosted.org/packages/50/d8/30873d2b7b57dee9263e53d142da044c4600a46f2d28374b3e38b023df16/autopep8-2.3.2.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/patch, upstream-update, upstream/pypi` ## NiceSOFT AI preliminary analysis ### 1. Краткий вывод Доступны данные о переходе с версии 2.3.1 на 2.3.2, классифицированные как патч-обновление (patch) без обнаруженных ключевых слов безопасности. В предоставленном тексте релизов отсутствует описание конкретных изменений кода или исправлений уязвимостей, характерных для этой версии. ### 2. Риск для НАЙС.ОС low. Обновление помечено как патч (patch), а не мажорное или минорное изменение функциональности. Отсутствие флагов безопасности и блокировка политикой не активна, что указывает на низкий профиль риска для стабильности дистрибутива. ### 3. Security/CVE Во входных данных отсутствуют явные указания на наличие CVE, уязвимостей безопасности или критических исправлений безопасности. Скрипт детектирования безопасности не нашел соответствующих ключевых слов. ### 4. ABI/API риск Данных недостаточно для оценки рисков изменения ABI/API. Поскольку это обновление библиотеки Python внутри дистрибутива, потенциальные изменения в сигнатурах функций или поведении модуля требуют проверки, если пакет используется другими компонентами системы. ### 5. Риск для RPM-сборки В предоставленных данных нет информации о специфических проблемах сборки, изменении зависимостей (BuildRequires) или сбое проверок (%check). Стандартные патчи обычно не ломают сборку, но отсутствие детального лога изменений делает невозможным исключение скрытых проблем с зависимостями. ### 6. Проверки мейнтейнера - Сверить хеш-сумму скачанного архива с ожидаемой для версии 2.3.2. - Провести локальную сборку RPM из исходников версии 2.3.2. - Запустить тесты пакета (если они есть в %check) на собранном RPM. - Проверить, не изменились ли зависимости в файле MANIFEST.in или setup.py относительно текущей версии. - Убедиться, что файл changelog обновлен после применения патча. ### 7. Рекомендация update candidate ### 8. Основание рекомендации Обновление классифицировано как патч (patch) с низким уровнем риска, политика обновления не блокирует его, и скрипты безопасности не выявили угроз. Рекомендуется включить в очередь кандидатов на обновление после стандартной процедуры тестирования сборки. ## Upstream release notes / description A tool that automatically formats Python code to conform to the PEP 8 style guide ======== autopep8 ======== .. image:: https://img.shields.io/pypi/v/autopep8.svg :target: https://pypi.org/project/autopep8/ :alt: PyPI Version .. image:: https://github.com/hhatto/autopep8/workflows/Python%20package/badge.svg :target: https://github.com/hhatto/autopep8/actions :alt: Build status .. image:: https://codecov.io/gh/hhatto/autopep8/branch/main/graph/badge.svg :target: https://codecov.io/gh/hhatto/autopep8 :alt: Code Coverage autopep8 automatically formats Python code to conform to the `PEP 8`_ style guide. It uses the pycodestyle_ utility to determine what parts of the code needs to be formatted. autopep8 is capable of fixing most of the formatting issues_ that can be reported by pycodestyle. .. _PEP 8: https://www.python.org/dev/peps/pep-0008/ .. _issues: https://pycodestyle.readthedocs.org/en/latest/intro.html#error-codes .. contents:: Installation ============ From pip:: $ pip install --upgrade autopep8 Consider using the ``--user`` option_. .. _option: https://pip.pypa.io/en/latest/user_guide/#user-installs Requirements ============ autopep8 requires pycodestyle_. .. _pycodestyle: https://github.com/PyCQA/pycodestyle Usage ===== To modify a file in place (with aggressive level 2):: $ autopep8 --in-place --aggressive --aggressive <filename> Before running autopep8. .. code-block:: python import math, sys; def example1(): ####This is a long comment. This should be wrapped to fit within 72 characters. some_tuple=( 1,2, 3,'a' ); some_variable={'long':'Long code lines should be wrapped within 79 characters.', 'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], 'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, 20,300,40000,500000000,60000000000000000]}} return (some_tuple, some_variable) def example2(): return {'has_key() is deprecated':True}.has_key({'f':2}.has_key('')); class Example3( object ): def __init__ ( self, bar ): #Comments should have a space after the hash. if bar : bar+=1; bar=bar* bar ; return bar else: some_string = """ Indentation in multiline strings should not be touched. Only actual code should be reindented. """ return (sys.path, some_string) After running autopep8. .. code-block:: python import math import sys def example1(): # This is a long comment. This should be wrapped to fit within 72 # characters. some_tuple = (1, 2, 3, 'a') some_variable = { 'long': 'Long code lines should be wrapped within 79 characters.', 'other': [ math.pi, 100, 200, 300, 9876543210, 'This is a long string that goes on'], 'more': { 'inner': 'This whole logical line should be wrapped.', some_tuple: [ 1, 20, 300, 40000, 500000000, 60000000000000000]}} return (some_tuple, some_variable) def example2(): return ('' in {'f': 2}) in {'has_key() is deprecated': True} class Example3(object): def __init__(self, bar): # Comments should have a space after the hash. if bar: bar += 1 bar = bar * bar return bar else: some_string = """ Indentation in multiline strings should not be touched. Only actual code should be reindented. """ return (sys.path, some_string) Options:: usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename] [--ignore-local-config] [-r] [-j n] [-p n] [-a] [--exp ## 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:43:55Z`
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-autopep8#1
No description provided.