Compare commits
15 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fecd1074e0 | |||
| 6d74d57eed | |||
| 73fcaa12a5 | |||
| f1730cb4f1 | |||
| 79626ed924 | |||
| 766eff9c3d | |||
| c713d05606 | |||
| a5f12def16 | |||
| e524b134db | |||
| f023c8433a | |||
| 7d75595374 | |||
| 8e58683c48 | |||
| 2aabe0904e | |||
| 9a316d4237 | |||
| e2a52849a6 |
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 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7d8b71cd29f1e65acb7adced16c3f55ee9a444727f3639ea596e9839318346dc
|
||||
size 138053
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user