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 12 additions and 117 deletions

View File

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

View File

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

View File

@@ -1,106 +1,3 @@
-------------------------------------------------------------------
Fri Jan 16 13:45:07 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 6.0.0:
* Add architecture detection: aarch64, arm, armv6l, armv7l,
armv8l, i386, i586, i686, loongarch64, mips, mips64, mips64el,
mipsel, ppc, ppc64, ppc64le, riscv32, riscv64, s390x, sparc,
sparc64, unknown_architecture, wasm32, wasm64, x86_64.
* Architectures, platforms and CI systems are now known as
traits.
* Add new current_traits() method to return all traits matching
the current environment: architecture, platforms and CI
systems. Deprecate current_platforms() in favor of it.
* Add new current_architecture() and current_ci() methods to
return the current architecture and CI system.
* Rename:
- current_os() to current_platform().
- platforms_from_ids() to traits_from_ids().
- CI group to ALL_CI. CI now refers to the CI(Trait) class.
- ALL_PLATFORM_IDS constant to ALL_TRAIT_IDS.
- Group.platforms to Group.members.
- Group.platform_ids to Group.member_ids.
- Group._extract_platforms() to Group._extract_members()
* Group.members is now an immutable MappingProxyType.
* Add more in-place operators (|=, &=, -=, ^=) and set-like
behavior to Group.
* Add canonical attribute to Group.
* Add new ALL_ARCHITECTURES, ANY_ARM, X86, LOONGARCH, ANY_MIPS,
POWERPC, RISCV, ANY_SPARC, IBM_MAINFRAME, WEBASSEMBLY and
ALL_TRAITS groups.
* Deprecate ALL_PLATFORMS_WITHOUT_CI group is favor of
ALL_PLATFORMS.
* Add new ALL_ARCHITECTURE_GROUPS, ALL_PLATFORM_GROUPS and
ALL_CI_GROUPS collections of groups.
* Remove utilization workaround for macos-15-intel.
* Replace deprecated codecov/test-results-action by
codecov/codecov-action.
* Move auto-lock time from 8:43 to 4:43.
- switch to tarball from GitHub, as the one from PyPi does no
longer container the tests directory
-------------------------------------------------------------------
Tue Dec 9 06:44:50 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 5.1.0:
* Change Amazon Linux icon.
* Add cooldown period for dependabot and uv.lock updates.
* Merge all label jobs into a single one.
* Change the test, typing and docs extra dependency groups into
development dependency groups.
* Uncap all dependencies.
* Run tests on Python 3.14t and 3.15t free-threaded variants.
* Run tests on ubuntu-slim GitHub Actions runner.
* Run docs update job on ubuntu-slim runner.
* Unlock a CPU core stuck at 100% utilization on macos-15-intel.
-------------------------------------------------------------------
Mon Nov 17 06:55:54 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 5.0.1:
* Add detection of CachyOS. Closes #341.
-------------------------------------------------------------------
Tue Nov 4 16:54:46 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 5.0.0
* Changes
- Relax dependencies to support Python 3.10.
- Re-introduce tomli dependency for Python 3.10 users.
- Skip tests on intermediate Python versions (3.11, 3.12 and 3.13)
to reduce CI load.
-------------------------------------------------------------------
Sun Nov 2 16:01:14 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.1.1:
* Add detection of Ultramarine Linux. Closes #329.
-------------------------------------------------------------------
Wed Oct 22 04:46:43 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.1.0:
* Add new invalidate_caches() method to invalidate internal
caches used for platform detection.
* Remove dependency on boltons.
* Add all Operating System :: trove classifiers.
* Add all platform names as package keywords.
- update to 4.0.0:
* Fix detection of GNU/Hurd. Closes #308.
* Move all typing-related imports behind a hard-coded
TYPE_CHECKING guard to avoid runtime imports.
* Remove maximum capped version of all dependencies (relax all ~=
specifiers to >=). This gives more freedom to downstream and
upstream packagers. Document each minimal version choice.
* Add official support of Python 3.14.
* Run tests on Python 3.15.
* Skip tests on Python 3.12 and 3.13 to reduce CI load.
* Use astral-sh/setup-uv action to install uv instead of manually
installing it with pip.
* Run tests on macos-26 and macos-15-intel runners.
* Remove tests on EOL'ed windows-2019 and macos-13.
* Support GitHub admonitions in Sphinx/MyST documentation.
-------------------------------------------------------------------
Wed Aug 6 05:28:30 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-extra-platforms
#
# Copyright (c) 2026 SUSE LLC and contributors
# 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,29 +18,27 @@
%{?sle15_python_module_pythons}
Name: python-extra-platforms
Version: 6.0.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://github.com/kdeldycke/extra-platforms/archive/refs/tags/v%{version}.tar.gz#/extra_platforms-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
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 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: %{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 tomli >= 2.3.0 if %python-base < 3.11}
# /SECTION
BuildRequires: fdupes
Requires: python-boltons >= 25.0.0
Requires: python-distro >= 1.9.0
BuildArch: noarch
%python_subpackages
@@ -49,7 +47,7 @@ BuildArch: noarch
Detect platforms and group them by family
%prep
%autosetup -p1 -n extra-platforms-%{version}
%autosetup -p1 -n extra_platforms-%{version}
%build
%pyproject_wheel
@@ -66,7 +64,7 @@ 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 -k "(not test_pypoject_classifiers)"
%pytest
%files %{python_files}
%{python_sitelib}/extra_platforms