Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-idna for openSUSE:Factory checked in at 2026-06-16 18:42:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-idna (Old) and /work/SRC/openSUSE:Factory/.python-idna.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-idna" Tue Jun 16 18:42:03 2026 rev:23 rq:1359264 version:3.18 Changes: -------- --- /work/SRC/openSUSE:Factory/python-idna/python-idna.changes 2026-05-20 16:48:27.766027658 +0200 +++ /work/SRC/openSUSE:Factory/.python-idna.new.1981/python-idna.changes 2026-06-16 18:42:05.837503664 +0200 @@ -1,0 +2,15 @@ +Sun Jun 14 15:30:00 UTC 2026 - Dirk Müller <[email protected]> + +- Update to 3.18: + * Add a display argument to decode() that passes through invalid + labels rather than raising an exception. + * Substantial 75% reduction in memory usage through new data + structures and processing speed optimizations. + * Added a general 1024-character input length cap to the public + validation, conversion, and codec entry points. + * Add a command-line interface (python -m idna, also available as + the idna script). + * Raise the minimum supported Python version to 3.9. + * Various code quality improvements. + +------------------------------------------------------------------- Old: ---- idna-3.15.tar.gz New: ---- idna-3.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-idna.spec ++++++ --- /var/tmp/diff_new_pack.q6n4Ew/_old 2026-06-16 18:42:09.053638613 +0200 +++ /var/tmp/diff_new_pack.q6n4Ew/_new 2026-06-16 18:42:09.073639452 +0200 @@ -16,9 +16,14 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-idna -Version: 3.15 +Version: 3.18 Release: 0 Summary: Internationalized Domain Names in Applications (IDNA) License: BSD-3-Clause @@ -30,6 +35,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20220106.80d3756 BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -51,14 +63,25 @@ %install %pyproject_install +%python_clone -a %{buildroot}%{_bindir}/idna %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pyunittest discover -v +%pre +%python_libalternatives_reset_alternative idna + +%post +%python_install_alternative idna + +%postun +%python_uninstall_alternative idna + %files %{python_files} %license LICENSE.md %doc README.md HISTORY.md +%python_alternative %{_bindir}/idna %{python_sitelib}/idna %{python_sitelib}/idna-%{version}*-info ++++++ idna-3.15.tar.gz -> idna-3.18.tar.gz ++++++ ++++ 30519 lines of diff (skipped)
