Upstream update available: python3-PyNaCl 1.5.0 → 1.6.2 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/high
security-release
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-PyNaCl#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-PyNaCl1.5.0→1.6.2Package
python3-PyNaClpython3-PyNaClniceos-5.21.5.0-1minorpython_rpmleafstandardUpstream
pypi-1.6.21.6.2pypi_json2026-01-01T17:48:10.851767ZFalseSignals
TrueFalse-ai-summary, bot, needs-build, needs-triage, priority/high, security-release, update/minor, upstream-update, upstream/pypiNiceSOFT AI preliminary analysis
1. Краткий вывод
Upstream обновил PyNaCl с 1.5.0 до 1.6.2, включив исправление уязвимости CVE-2025-69277 через обновление зависимости libsodium до версии 1.0.20-stable. Обновление также содержит изменения в поддержке версий Python (удаление 3.6/3.7, добавление 3.14) и новых архитектурных платформ. Текущая версия дистрибутива (1.5.0) не поддерживает Python 3.14, но совместима с Python 3.8+.
2. Риск для НАЙС.ОС
medium.
Обновление критически важно для безопасности (исправление CVE), однако оно меняет требования к окружению сборки и исполнению. Если НАЙС.ОС использует Python 3.14 или планирует его поддержку, обновление необходимо. Если дистрибутив ограничен Python 3.8–3.12, обновление функционально возможно, но требует проверки совместимости с текущей вертой libsodium в системе, так как PyNaCl теперь жестко привязан к 1.0.20-stable.
3. Security/CVE
Во входных данных явно указано исправление уязвимости CVE-2025-69277 в разделе changelog версии 1.6.2. Уязвимость связана с библиотекой
libsodium, которая является ядром криптографических функций PyNaCl.4. ABI/API риск
В changelog версии 1.6.0 указано: "BACKWARDS INCOMPATIBLE: Removed support for Python 3.6 and 3.7". Версия 1.5.0 (текущая) уже не поддерживает Python 2.7 и 3.5. Переход на 1.6.2 не отменяет поддержку Python 3.8+, но добавляет поддержку Python 3.14. Поскольку PyNaCl связывается с C-библиотекой libsodium, изменение версии этой библиотеки (с 1.0.18 на 1.0.20) может повлиять на ABI, если в системе используется системная libsodium, отличная от встроенной. Необходим ручной анализ совместимости ABI между встроенным libsodium в пакете и системным, если используется опция
SODIUM_INSTALL=system.5. Риск для RPM-сборки
Пакет PyNaCl часто содержит встроенную копию libsodium. Обновление до 1.6.2 требует наличия
GNU Make (gmake)для сборки (упомянуто в release notes). В spec-файле необходимо проверить наличиеBuildRequires: make(илиgmake) и убедиться, что переменные окружения (LIBSODIUM_MAKE_ARGS,MAKE) корректно обрабатываются при сборке. Также нужно проверить, не конфликтует ли новая версия встроенного libsodium с системными заголовками или библиотеками, если они используются другими пакетами.6. Проверки мейнтейнера
gmakeвBuildRequiresspec-файла.%checkсекции (если есть тесты).libsodium, если в spec-файле есть логика использования системной версии.7. Рекомендация
update candidate
8. Основание рекомендации
Обновление содержит исправление критической уязвимости (CVE-2025-69277), что делает его обязательным для безопасности. Несмотря на изменения в поддержке версий Python, текущая версия дистрибутива (1.5.0) полностью совместима с минимальной поддерживаемой версией Python 3.8 для новой версии (1.6.2). Риск слома сборки минимален при наличии
gmake, а функциональные изменения (поддержка 3.14) не нарушают работу на существующих версиях Python. Автоматическое обновление безопасно после стандартной проверки сборки.Upstream release notes / description
Python binding to the Networking and Cryptography (NaCl) library
===============================================
PyNaCl: Python binding to the libsodium library
.. image:: https://img.shields.io/pypi/v/pynacl.svg
:target: https://pypi.org/project/PyNaCl/
:alt: Latest Version
PyNaCl is a Python binding to
libsodium, which is a fork of theNetworking and Cryptography library. These libraries have a stated goal ofimproving usability, security and speed. It supports Python 3.8+ as well as
PyPy 3.
.. _libsodium: https://github.com/jedisct1/libsodium
.. _Networking and Cryptography library: https://nacl.cr.yp.to/
Features
Changelog_.. _Changelog: https://pynacl.readthedocs.io/en/latest/changelog/
Installation
Binary wheel install
PyNaCl ships as a binary wheel on macOS, Windows and Linux
manylinux1[#many]_ ,so all dependencies are included. Make sure you have an up-to-date pip
and run:
.. code-block:: console
Faster wheel build
You can define the environment variable
LIBSODIUM_MAKE_ARGSto pass arguments tomakeand enable
parallelization_:.. code-block:: console
Linux source build
PyNaCl relies on
libsodium_, a portable C library. A copy is bundledwith PyNaCl so to install you can run:
.. code-block:: console
If you'd prefer to use the version of
libsodiumprovided by yourdistribution, you can disable the bundled copy during install by running:
.. code-block:: console
.. warning:: Usage of the legacy
easy_installcommand provided by setuptoolsis generally discouraged, and is completely unsupported in PyNaCl's case.
.. _parallelization: https://www.gnu.org/software/make/manual/html_node/Parallel.html
.. _libsodium: https://github.com/jedisct1/libsodium
.. [#many]
manylinux1 wheels <https://www.python.org/dev/peps/pep-0513/>_are built on a baseline linux environment based on Centos 5.11
and should work on most x86 and x86_64 glibc based linux environments.
GNU Make (gmake) may be required for newer versions of PyNaCl. You can
set the binary to use by setting the
MAKEenvironment variable:.. code-block:: console
Changelog
1.6.2 (2026-01-01)
libsodiumto 1.0.20-stable (2025-12-31 build) to resolveCVE-2025-69277.1.6.1 (2025-11-10)
MAKEenvironment variable can now be used to specify themakebinary that should be used in the build process.
1.6.0 (2025-09-11)
crypto_core_ed25519_from_uniform.libsodiumto 1.0.20-stable (2025-08-27 build).1.5.0 (2022-01-07)
manylinux1wheels.
manylinux2014,manylinux_2_24,musllinux, and macOSuniversal2wheels (the latter supports macOSarm64).libsodiumto 1.0.18-stable (July 25, 2021 release).1.4.0 (2020-05-25)
libsodiumto 1.0.18.manylinux1wheels. Continuing to produce them was a maintenance burden.
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-28T16:00:56Z