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-05-31 18:29:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-extra-platforms (Old)
and /work/SRC/openSUSE:Factory/.python-extra-platforms.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-extra-platforms"
Sun May 31 18:29:48 2026 rev:24 rq:1356073 version:13.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-extra-platforms/python-extra-platforms.changes
2026-05-04 12:57:48.864091406 +0200
+++
/work/SRC/openSUSE:Factory/.python-extra-platforms.new.1937/python-extra-platforms.changes
2026-05-31 18:29:50.779936937 +0200
@@ -1,0 +2,58 @@
+Sat May 30 06:49:10 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 13.0.0:
+ * Add IBM i platform detection: OS400 / is_os400(), recognized
+ via sys.platform == "os400" (reported by Python 3.9+ in IBM i's
+ AIX-compatible PASE runtime). Grouped under UNIX_LAYERS
+ alongside Cygwin.
+ * Detect the active shell on Windows by walking the parent
+ process tree via the Win32 Tool Help API
+ (CreateToolhelp32Snapshot), where neither /proc nor ps exists.
+ is_powershell(), is_cmd(), Git Bash detection through
+ is_bash(), current_shell() arbitration, and
+ current_shell_path() now rely on the actual ancestor processes
+ rather than only the PROMPT/PSModulePath environment variables.
+ Executable paths are resolved with QueryFullProcessImageNameW.
+ The ctypes bindings live in a new extra_platforms._windows
+ module, imported lazily and only on Windows.
+ * Add current_shell_path() returning the executable path of the
+ current shell (from the process tree when available, falling
+ back to SHELL). Shell.info() now exposes the running shell's
+ binary in its "path" field instead of always returning the
+ configured login shell from SHELL.
+ * Detect interpreter-hosted shells like Xonsh, which runs as a
+ Python script so the process tree shows python rather than
+ xonsh. The tree walk scans interpreter arguments for the
+ shell's launcher file, matching only an existing file named
+ exactly after the shell to avoid false positives. A new
+ interpreter field on Shell declares the host interpreter (XONSH
+ sets it to python).
+ * Recognize shells running under a user-mode CPU emulator: under
+ foreign-architecture emulation (like docker run --platform
+ linux/arm64 on an x86 host), the process tree shows
+ qemu-aarch64 /bin/bash … rather than bash; the walk strips a
+ leading qemu-<arch> (or rosetta) wrapper and reads the emulated
+ command, composing with interpreter-hosted detection.
+ * Detect the active shell on illumos, Solaris, and AIX/IBM i.
+ Their System V /proc exposes process status as binary pstatus_t
+ with no /proc/<pid>/cmdline or exe: the /proc walk previously
+ raised UnicodeDecodeError, crashing current_shell(). It now
+ reads /proc records as bytes and falls back to ps when /proc
+ yields nothing. The ps invocation uses the portable POSIX form
+ (-o pid=,ppid=,args=) with positional parsing of empty headers,
+ working across the System V ps of all three.
+ * Extend shell detection via the process tree to macOS and the
+ BSDs: the /proc-based walk was Linux-only, and the ps-based
+ fallback now covers macOS, FreeBSD, DragonFly, and other
+ systems without /proc. The walk also recognizes login shells
+ (argv[0] like -bash), survives an unreadable /proc/<pid>/exe
+ via /proc/<pid>/cmdline, and reads parent PIDs from BSD procfs
+ layout (/proc/<pid>/status).
+ * Render GitHub-style alerts (> [!NOTE], > [!WARNING], …) as
+ admonitions in the documentation by enabling MyST's alert
+ extension (requires myst-parser>=5.1).
+ * Drop the types-requests typing stub and the now-empty typing
+ dependency group, and require requests>=2.34, which ships
+ inline type hints (PEP 561).
+
+-------------------------------------------------------------------
@@ -11 +69 @@
-- upadte to 12.0.2:
+- update to 12.0.2:
Old:
----
extra_platforms-12.0.3.tar.gz
New:
----
extra_platforms-13.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-extra-platforms.spec ++++++
--- /var/tmp/diff_new_pack.QBtwQf/_old 2026-05-31 18:29:51.571969399 +0200
+++ /var/tmp/diff_new_pack.QBtwQf/_new 2026-05-31 18:29:51.575969563 +0200
@@ -23,7 +23,7 @@
%bcond_with libalternatives
%endif
Name: python-extra-platforms
-Version: 12.0.3
+Version: 13.0.0
Release: 0
Summary: Detect platforms and group them by family
License: Apache-2.0
@@ -40,7 +40,7 @@
BuildRequires: %{python_module pytest >= 8.3.5}
BuildRequires: %{python_module pytest-randomly >= 4}
BuildRequires: %{python_module pytest-xdist >= 3.8.0}
-BuildRequires: %{python_module requests >= 2.32.5}
+BuildRequires: %{python_module requests >= 2.34}
BuildRequires: %{python_module tabulate >= 0.9}
BuildRequires: %{python_module tomli >= 2.3.0 if %python-base < 3.11}
BuildRequires: %{python_module wcmatch >= 10.0}
++++++ extra_platforms-12.0.3.tar.gz -> extra_platforms-13.0.0.tar.gz ++++++
++++ 3065 lines of diff (skipped)