17
0

Compare commits

15 Commits

Author SHA256 Message Date
fecd1074e0 Accepting request 1297990 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=8
2025-08-07 14:48:42 +00:00
6d74d57eed Accepting request 1297859 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 3.2.2

OBS-URL: https://build.opensuse.org/request/show/1297859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=17
2025-08-06 16:14:43 +00:00
73fcaa12a5 Accepting request 1280079 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1280079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=7
2025-05-26 16:39:57 +00:00
f1730cb4f1 Accepting request 1279899 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 3.2.2

OBS-URL: https://build.opensuse.org/request/show/1279899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=15
2025-05-26 08:19:50 +00:00
79626ed924 Accepting request 1278329 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=6
2025-05-20 07:38:12 +00:00
766eff9c3d Accepting request 1278196 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 3.2.1

OBS-URL: https://build.opensuse.org/request/show/1278196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=13
2025-05-19 07:46:44 +00:00
c713d05606 Accepting request 1250390 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1250390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=5
2025-03-05 13:28:07 +00:00
a5f12def16 Accepting request 1250389 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 3.1.0

OBS-URL: https://build.opensuse.org/request/show/1250389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=11
2025-03-05 11:00:34 +00:00
e524b134db Accepting request 1247628 from devel:languages:python
- update to 2.1.0:
  * Add new platforms_from_ids and groups_from_ids methods to
    retrieve platforms and groups from a collection of IDs.
  * Allow a platform to be fetched by its ID from a group with the
    group[platform_id] item getter syntax.
  * Add new ALL_PLATFORM_IDS, ALL_GROUP_IDS and ALL_IDS constants.
  * Removes ALL_OS_LABELS.
  * Add windows-2025 to the test matrix.
  * Mark Python 3.14 tests as stable.

OBS-URL: https://build.opensuse.org/request/show/1247628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=4
2025-02-21 20:37:41 +00:00
f023c8433a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=9 2025-02-21 12:35:14 +00:00
7d75595374 Accepting request 1247479 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.1.0

OBS-URL: https://build.opensuse.org/request/show/1247479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=8
2025-02-21 10:28:19 +00:00
8e58683c48 Accepting request 1234707 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1234707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=3
2025-01-05 14:30:12 +00:00
2aabe0904e Accepting request 1234693 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.0.0

OBS-URL: https://build.opensuse.org/request/show/1234693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=6
2025-01-03 09:56:29 +00:00
9a316d4237 Accepting request 1227982 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=2
2024-12-03 19:47:36 +00:00
e2a52849a6 Accepting request 1227958 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.7.0

OBS-URL: https://build.opensuse.org/request/show/1227958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=4
2024-12-03 12:33:05 +00:00
4 changed files with 114 additions and 19 deletions

View File

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

View File

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

View File

@@ -1,3 +1,101 @@
-------------------------------------------------------------------
Wed Aug 6 05:28:30 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.2.3:
* Add detection of macOS Tahoe (v26.x)
-------------------------------------------------------------------
Sun May 25 07:58:30 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.2.2:
* Fix detection of UNKNOWN_CI
-------------------------------------------------------------------
Sun May 18 06:25:24 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.2.1:
* Add convenient ALL_PLATFORMS_WITHOUT_CI group to exclude all CI
systems from ALL_PLATFORMS
-------------------------------------------------------------------
Sun May 18 06:03:14 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.2.0:
* Add detection of CI systems: GITHUB_CI, GITLAB_CI and
UNKNOWN_CI.
* Add new CI group to group all CI platforms.
* Move OS families diagrams to group documentation page.
* Remove ALL_PLATFORMS from Sankey diagram.
* Run tests on windows-11-arm runners.
* Remove tests on EOL ubuntu-20-04.
-------------------------------------------------------------------
Wed Mar 5 10:53:54 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.1.0:
* Allow platform ID membership test on groups.
* Add items() method to Group.
* Allow None values in nested references to platforms and groups.
* Keep initial order of data from platforms_from_ids() and
groups_from_ids() results.
* Allow arbitrary arguments number in Group._extract_platforms().
-------------------------------------------------------------------
Wed Mar 5 10:51:41 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 3.0.0:
* Allow set operations to resolve group and Platform IDs.
* Make resolution of platform and group IDs case-insensitive.
* Only runs website tests on Linux to prevent DOSing them.
* Drop supports for Python 3.10.
* Remove tomli dependency.
-------------------------------------------------------------------
Thu Feb 20 18:31:07 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 2.1.0:
* Add new platforms_from_ids and groups_from_ids methods to
retrieve platforms and groups from a collection of IDs.
* Allow a platform to be fetched by its ID from a group with the
group[platform_id] item getter syntax.
* Add new ALL_PLATFORM_IDS, ALL_GROUP_IDS and ALL_IDS constants.
* Removes ALL_OS_LABELS.
* Add windows-2025 to the test matrix.
* Mark Python 3.14 tests as stable.
-------------------------------------------------------------------
Fri Jan 3 08:46:58 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 2.0.0:
* Add support for Nobara detection.
* Fix current_os() to always return a single platform. Closes
#158.
* Add new current_platforms() method to return all platforms
matching the current environment.
* Generate a pair of Pytest @skip_<id>/@unless_<id> decorators
for each platform and group.
* Change all group membership check utilities to be functions
instead of variables. You now have to call is_<group_id>()
instead of is_<group_id>.
* Cache the result of is_<group_id>() group membership check
utilities.
* Do not call all detection heuristics on module import. Instead,
call them lazily when needed.
* Make URLs required on all platforms.
* Invite users in error messages and logs to contribute back
edge-cases to improve detection heuristics.
* Upload test results to coverage.
-------------------------------------------------------------------
Tue Dec 3 08:39:24 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 1.7.0:
* Display the hierarchy of non-overlapping groups as a mindmap.
* Add URL on all platforms.
* Add support for openSUSE Tumbleweed detection. Closes #133.
* Do not allow icons on platforms and groups to be empty.
* Run tests in parallel to speed up CI.
-------------------------------------------------------------------
Thu Nov 28 10:31:10 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-extra-platforms
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,35 +18,28 @@
%{?sle15_python_module_pythons}
Name: python-extra-platforms
Version: 1.6.0
Version: 3.2.3
Release: 0
Summary: Detect platforms and group them by family
License: GPL-2.0-or-later
URL: https://github.com/kdeldycke/extra-platforms
Source: https://files.pythonhosted.org/packages/source/e/extra-platforms/extra_platforms-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.11}
BuildRequires: %{python_module boltons >= 25.0.0}
BuildRequires: %{python_module distro >= 1.9.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module boltons >= 24.1.0}
BuildRequires: %{python_module distro >= 1.9.0}
BuildRequires: %{python_module pytest >= 8.3.1}
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}
# /SECTION
BuildRequires: fdupes
Requires: python-boltons >= 24.1.0
Requires: python-boltons >= 25.0.0
Requires: python-distro >= 1.9.0
Suggests: python-pytest >= 8
Suggests: python-furo >= 2024.8.6
Suggests: python-myst-parser >= 4.0.0
Suggests: python-sphinx >= 8.1.3
Suggests: python-sphinx-autodoc-typehints >= 2.5.0
Suggests: python-sphinx-copybutton >= 0.5.2
Suggests: python-sphinx-design >= 0.6.0
Suggests: python-sphinx-issues >= 5.0.0
Suggests: python-sphinxcontrib-mermaid >= 1.0.0
Suggests: python-sphinxext-opengraph >= 0.9.0
BuildArch: noarch
%python_subpackages
@@ -67,6 +60,10 @@ Detect platforms and group them by family
# remove coverage configuration
sed -i '/cov=/d' pyproject.toml
sed -i '/cov-report=/d' pyproject.toml
sed -i '/--cov-branch/d' pyproject.toml
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
%files %{python_files}