Accepting request 1313183 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1313183 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extra-platforms?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5e563eefc855593d9efe760e8509e2f3c213458744cb1dfc2917dd21b417694
|
||||
size 41099
|
||||
3
extra_platforms-4.1.0.tar.gz
Normal file
3
extra_platforms-4.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d99c2fb8fdadeb2e47747c40033465ca551fc57287a547d2de07c0875aefed8
|
||||
size 47038
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -18,19 +18,20 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-extra-platforms
|
||||
Version: 3.2.3
|
||||
Version: 4.1.0
|
||||
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 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}
|
||||
@@ -38,7 +39,6 @@ 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 >= 25.0.0
|
||||
Requires: python-distro >= 1.9.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -64,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
|
||||
%pytest -k "(not test_pypoject_classifiers)"
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/extra_platforms
|
||||
|
||||
Reference in New Issue
Block a user