Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-extra-platforms for
openSUSE:Factory checked in at 2026-02-27 17:12:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-extra-platforms (Old)
and /work/SRC/openSUSE:Factory/.python-extra-platforms.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-extra-platforms"
Fri Feb 27 17:12:55 2026 rev:14 rq:1335428 version:9.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-extra-platforms/python-extra-platforms.changes
2026-01-17 14:57:11.397298368 +0100
+++
/work/SRC/openSUSE:Factory/.python-extra-platforms.new.29461/python-extra-platforms.changes
2026-02-27 17:14:03.626435403 +0100
@@ -1,0 +2,167 @@
+Tue Feb 17 05:59:05 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 9.2.0:
+ * Add new Terminal trait type for detecting terminal emulators.
+ Closes #459.
+ * Add 20 terminal definitions: ALACRITTY, APPLE_TERMINAL,
+ CONTOUR, FOOT, GHOSTTY, GNOME_TERMINAL, GNU_SCREEN, HYPER,
+ ITERM2, KITTY, KONSOLE, RIO, TABBY, TILIX, TMUX,
+ VSCODE_TERMINAL, WEZTERM, WINDOWS_TERMINAL, XTERM, ZELLIJ.
+ * Add current_terminal() detection function.
+ * Add terminal groups: ALL_TERMINALS, GPU_TERMINALS,
+ MULTIPLEXERS, NATIVE_TERMINALS, WEB_TERMINALS.
+ * Add @skip_<terminal> and @unless_<terminal> pytest decorators
+ for all terminals and terminal groups.
+ * Display all detected traits and groups in extra-platforms CLI.
+ * Fix emoji column alignment in CLI.
+- update to 9.1.0:
+ * Add extra-platforms CLI command.
+ * Skip Nuitka binary builds.
+ * Add new ALPINE, KALI, MANJARO, OPENWRT platform definitions.
+ * Replace filesystem-based shell detection with parent process
+ tree walking via /proc on Linux.
+ * Make is_powershell() detection cross-platform (Linux, macOS,
+ Windows) via PSModulePath environment variable and process tree
+ inspection.
+ * Fix CLI crash on Windows due to cp1252 encoding not supporting
+ Unicode output.
+ * Tweak some icons.
+ * Add issue template with detection results reporting.
+
+-------------------------------------------------------------------
+Thu Feb 12 06:39:16 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 9.0.0:
+ * Add new Shell trait type for detecting command-line
+ interpreters.
+ * Add 12 shell definitions: ASH, BASH, CMD, CSH, DASH, FISH, KSH,
+ NUSHELL, POWERSHELL, TCSH, XONSH, ZSH.
+ * Add current_shell() detection function.
+ * Add shell groups: ALL_SHELLS, BOURNE_SHELLS, C_SHELLS,
+ OTHER_SHELLS, WINDOWS_SHELLS.
+ * Add @skip_<shell> and @unless_<shell> pytest decorators for all
+ shells and shell groups.
+ * Fix icons conflicts.
+ * Fix crash in compiled binaries (Nuitka, PyInstaller, cx_Freeze)
+ caused by missing source files for docstring extraction.
+ * Force Sphinx documentation builds to use Python >= 3.12 via
+ [tool.uv.dependency-groups].
+ * Remove all deprecated backward-compatibility aliases:
+ - Remove ALL_PLATFORM_IDS (use ALL_TRAIT_IDS).
+ - Remove ALL_PLATFORMS_WITHOUT_CI (use ALL_PLATFORMS).
+ - Remove UNKNOWN_LINUX (use UNKNOWN_PLATFORM).
+ - Remove ANY_ARM, ANY_MIPS, ANY_SPARC, ANY_WINDOWS (use
+ ALL_ARM, ALL_MIPS, ALL_SPARC, ALL_WINDOWS).
+ - Remove OTHER_UNIX (use OTHER_POSIX).
+ - Remove current_os() (use current_platform()).
+ - Remove current_platforms() (use current_traits()).
+ - Remove platforms_from_ids() (use traits_from_ids()).
+ - Remove is_unknown_linux() (use is_unknown_platform()).
+ - Remove is_all_architectures(), is_all_platforms(),
+ is_all_ci(), is_all_traits() (use is_any_architecture(),
+ is_any_platform(), is_any_ci(), is_any_trait()).
+ - Remove is_all_platforms_without_ci() (use is_any_platform()).
+ - Remove is_ci() (use is_any_ci()).
+ - Remove is_other_unix() (use is_other_posix()).
+ - Remove is_bsd_without_macos() (use is_bsd_not_macos()).
+ - Remove is_unix_without_macos() (use is_unix_not_macos()).
+ - Remove Group._extract_members() and
+ Group._extract_platforms() (use extract_members()).
+ - Remove deprecated module shims for extra_platforms.platform
+ and extra_platforms.operations.
+ * Remove '_deprecated.py' module.
+
+-------------------------------------------------------------------
+Tue Feb 3 11:56:26 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 8.0.0:
+ * Add aliases field to Trait class, allowing alternative IDs that
+ resolve to the canonical ID.
+ * Add aliases for common architecture names:
+ - arm64 → aarch64
+ - amd64 → x86_64
+ - armhf, armv7 → armv7l
+ - i486 → i386
+ - powerpc64le, ppc64el → ppc64le
+ * Emit a UserWarning when an alias is used, encouraging use of
+ the canonical ID.
+ * Change Trait.aliases type from tuple to frozenset for better
+ semantics.
+ * Add new BIG_ENDIAN and LITTLE_ENDIAN groups to classify
+ architectures by endianness, with is_big_endian() and
+ is_little_endian() detection functions.
+ * Remove operations.py and move content to group and group_data
+ modules.
+ * Rename Group._extract_members() to extract_members() and make
+ it public.
+ * Simplify reduce() algorithm from brute-force enumeration to a
+ greedy approximation for better performance.
+ * Move current_*() and is_unknown_*() functions to detection.py
+ module.
+ * Create new platform_info.py module for platform-specific info
+ gathering.
+ * Add claude.md documentation file.
+
+-------------------------------------------------------------------
+Mon Jan 19 06:56:02 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 7.0.0:
+ - Add new ARMV5TEL architecture.
+ - Add new DRAGONFLY_BSD, HAIKU and ILLUMOS platforms.
+ - Add new ARCH_32_BIT, ARCH_64_BIT and UNKNOWN groups.
+ - Add new detection functions:
+ - is_armv5tel()
+ - is_dragonfly_bsd()
+ - is_haiku()
+ - is_illumos()
+ - is_arch_32_bit()
+ - is_arch_64_bit()
+ - is_unknown()
+ - Fix detection of AARCH64 on Windows ARM runners.
+ - Rename UNKNOWN_LINUX trait to UNKNOWN_PLATFORM.
+ - Remove UNKNOWN_ARCHITECTURE trait from ALL_ARCHITECTURES
+ group.
+ - Remove UNKNOWN_LINUX trait from ALL_PLATFORMS group.
+ - Remove UNKNOWN_CI trait from ALL_CI group.
+ - current_architecture(), current_platform() and current_ci()
+ functions now returns UNKNOWN_ARCHITECTURE, UNKNOWN_PLATFORM
+ and UNKNOWN_CI if detection fails. Add strict mode to raise
+ an exception instead.
+ - Rename groups:
+ - OTHER_UNIX → OTHER_POSIX
+ - ANY_ARM → ALL_ARM
+ - ANY_MIPS → ALL_MIPS
+ - ANY_SPARC → ALL_SPARC
+ - ANY_WINDOWS → ALL_WINDOWS
+ - Rename detection functions:
+ - is_other_unix() → is_other_posix()
+ - is_all_architectures() → is_any_architecture()
+ - is_all_platforms() → is_any_platform()
+ - is_all_ci() → is_any_ci()
+ - is_all_traits() → is_any_trait()
+ - is_unknown_linux() → is_unknown_platform()
+ - is_bsd_without_macos() → is_bsd_not_macos()
+ - is_unix_without_macos() → is_unix_not_macos()
+ - Re-introduce aliases removed in v6.0.0 for backward
+ compatibility:
+ - Group._extract_platforms() → Group._extract_members()
+ - is_all_platforms_without_ci() → is_any_platform()
+ - is_ci() → is_any_ci()
+ - Rename Pytest decorators:
+ - @skip/@unless_unknown_linux →
+ @skip/@unless_unknown_platform
+ - @skip/@unless_bsd_without_macos →
+ @skip/@unless_bsd_not_macos
+ - @skip/@unless_unix_without_macos →
+ @skip/@unless_unix_not_macos
+ - Deprecate renamed symbols and detection functions with
+ aliases.
+ - Pre-compute traits and groups metadata to enforce conventions
+ for data definitions, detection functions, Pytest decorators
+ and document generation.
+ - Mark all canonical groups with the ⬥ symbol everywhere in the
+ documentation.
+ - Cross-link all traits, groups and detection functions in the
+ documentation.
+
+-------------------------------------------------------------------
Old:
----
extra_platforms-6.0.0.tar.gz
New:
----
extra_platforms-9.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-extra-platforms.spec ++++++
--- /var/tmp/diff_new_pack.Hmw59I/_old 2026-02-27 17:14:04.290462885 +0100
+++ /var/tmp/diff_new_pack.Hmw59I/_new 2026-02-27 17:14:04.290462885 +0100
@@ -17,8 +17,13 @@
%{?sle15_python_module_pythons}
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
Name: python-extra-platforms
-Version: 6.0.0
+Version: 9.2.0
Release: 0
Summary: Detect platforms and group them by family
License: GPL-2.0-or-later
@@ -34,15 +39,27 @@
BuildRequires: %{python_module distro >= 1.9.0}
# /SECTION
# SECTION test requirements
+BuildRequires: openSUSE-release
+BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module myst-parser}
BuildRequires: %{python_module pytest >= 8.3.5}
BuildRequires: %{python_module pytest-randomly >= 3.16.0}
BuildRequires: %{python_module pytest-xdist >= 3.8.0}
BuildRequires: %{python_module requests >= 2.32.3 with %python-requests <
2.33}
+BuildRequires: %{python_module tabulate >= 0.9}
BuildRequires: %{python_module tomli >= 2.3.0 if %python-base < 3.11}
+BuildRequires: %{python_module wcmatch >= 10.0}
# /SECTION
BuildRequires: fdupes
Requires: python-distro >= 1.9.0
BuildArch: noarch
+%if %{with libalternatives}
+Requires: alts
+BuildRequires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%python_subpackages
%description
@@ -57,6 +74,7 @@
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/extra-platforms
%check
# remove coverage configuration
@@ -66,9 +84,26 @@
sed -i '/--cov-precision=2/d' pyproject.toml
# do not run tests that try to connect to websites
rm -f tests/test_platform_data.py
-%pytest -k "(not test_pypoject_classifiers)"
+# remove sphinx tests
+rm -f tests/test_sphinx_crossrefs.py
+
+IGNORED_CHECKS="test_pyproject_classifiers"
+%pytest -k "not (${IGNORED_CHECKS})"
+
+%if %{with libalternatives}
+%pre
+%python_libalternatives_reset_alternative extra-platforms
+%else
+
+%post
+%python_install_alternative extra-platforms
+
+%postun
+%python_uninstall_alternative extra-platforms
+%endif
%files %{python_files}
+%python_alternative %{_bindir}/extra-platforms
%{python_sitelib}/extra_platforms
%{python_sitelib}/extra_platforms-%{version}.dist-info
++++++ extra_platforms-6.0.0.tar.gz -> extra_platforms-9.2.0.tar.gz ++++++
++++ 21289 lines of diff (skipped)