17
0

Accepting request 1335734 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1335734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=15
This commit is contained in:
2026-03-02 16:40:42 +00:00
committed by Git OBS Bridge
4 changed files with 33 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ad8db04ae2378667a49c9e047dcc381c1b50965d462526b92c772ec3a853a46
size 218889

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:614156b8ad27067c55b4c592f3d9648aa11db4c5b0b5dec33f9e4c93f40b0138
size 215691

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Mon Mar 2 07:05:46 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 11.0.0:
* Switch license from GPL-2.0+ to Apache-2.0
-------------------------------------------------------------------
Mon Mar 2 06:41:52 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 10.0.0:
* Replace distro dependency with built-in /etc/os-release parser,
making the package dependency-free. macOS Platform.info() now
returns distro_id: None instead of distro_id: "darwin".
* Add new Agent trait type for detecting AI coding agents.
* Add 3 agent definitions: CLAUDE_CODE, CLINE, CURSOR.
* Add current_agent() detection function.
* Add agent group: ALL_AGENTS.
* Add @skip_<agent> and @unless_<agent> pytest decorators for all
agents and agent groups.
* Add GENERIC_LINUX platform for Linux environments where distro
cannot identify the specific distribution (e.g., minimal
containers or build chroots without /etc/os-release). Closes
#479.
* Show detected agent in extra-platforms CLI output.
* Use TERM, CI, and LLM environment variables to distinguish
unrecognized terminals, CI systems, and agents from absent
ones.
-------------------------------------------------------------------
Tue Feb 17 05:59:05 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -23,10 +23,10 @@
%bcond_with libalternatives
%endif
Name: python-extra-platforms
Version: 9.2.0
Version: 11.0.0
Release: 0
Summary: Detect platforms and group them by family
License: GPL-2.0-or-later
License: Apache-2.0
URL: https://github.com/kdeldycke/extra-platforms
Source: https://github.com/kdeldycke/extra-platforms/archive/refs/tags/v%{version}.tar.gz#/extra_platforms-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
@@ -35,9 +35,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module uv-build}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION runtime requirements
BuildRequires: %{python_module distro >= 1.9.0}
# /SECTION
# SECTION test requirements
BuildRequires: openSUSE-release
BuildRequires: %{python_module Sphinx}
@@ -51,7 +48,6 @@ 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