Compare commits
15 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fecd1074e0 | |||
| 6d74d57eed | |||
| 73fcaa12a5 | |||
| f1730cb4f1 | |||
| 79626ed924 | |||
| 766eff9c3d | |||
| c713d05606 | |||
| a5f12def16 | |||
| e524b134db | |||
| f023c8433a | |||
| 7d75595374 | |||
| 8e58683c48 | |||
| 2aabe0904e | |||
| 9a316d4237 | |||
| e2a52849a6 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dbef8d68019362690bd87fcb98ea287e7d381d7b1758a500d66abea320485234
|
|
||||||
size 40464
|
|
||||||
3
extra_platforms-3.2.3.tar.gz
Normal file
3
extra_platforms-3.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c5e563eefc855593d9efe760e8509e2f3c213458744cb1dfc2917dd21b417694
|
||||||
|
size 41099
|
||||||
@@ -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>
|
Thu Nov 28 10:31:10 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-extra-platforms
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,35 +18,28 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-extra-platforms
|
Name: python-extra-platforms
|
||||||
Version: 1.6.0
|
Version: 3.2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Detect platforms and group them by family
|
Summary: Detect platforms and group them by family
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/kdeldycke/extra-platforms
|
URL: https://github.com/kdeldycke/extra-platforms
|
||||||
Source: https://files.pythonhosted.org/packages/source/e/extra-platforms/extra_platforms-%{version}.tar.gz
|
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 pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module boltons >= 24.1.0}
|
BuildRequires: %{python_module pytest >= 8.3.5}
|
||||||
BuildRequires: %{python_module distro >= 1.9.0}
|
|
||||||
BuildRequires: %{python_module pytest >= 8.3.1}
|
|
||||||
BuildRequires: %{python_module pytest-randomly >= 3.16.0}
|
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
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-boltons >= 24.1.0
|
Requires: python-boltons >= 25.0.0
|
||||||
Requires: python-distro >= 1.9.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
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -67,6 +60,10 @@ Detect platforms and group them by family
|
|||||||
# remove coverage configuration
|
# remove coverage configuration
|
||||||
sed -i '/cov=/d' pyproject.toml
|
sed -i '/cov=/d' pyproject.toml
|
||||||
sed -i '/cov-report=/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
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
|||||||
Reference in New Issue
Block a user