From 3eba86ad2360a35bbe4e4bbba4694af945bd7b6c3360c844acbc376c4b89c7bc Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 3 Dec 2024 12:33:05 +0000 Subject: [PATCH] update to 1.7.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?expand=0&rev=4 --- extra_platforms-1.6.0.tar.gz | 3 --- extra_platforms-1.7.0.tar.gz | 3 +++ python-extra-platforms.changes | 10 ++++++++++ python-extra-platforms.spec | 20 +++++++------------- 4 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 extra_platforms-1.6.0.tar.gz create mode 100644 extra_platforms-1.7.0.tar.gz diff --git a/extra_platforms-1.6.0.tar.gz b/extra_platforms-1.6.0.tar.gz deleted file mode 100644 index abf542b..0000000 --- a/extra_platforms-1.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dbef8d68019362690bd87fcb98ea287e7d381d7b1758a500d66abea320485234 -size 40464 diff --git a/extra_platforms-1.7.0.tar.gz b/extra_platforms-1.7.0.tar.gz new file mode 100644 index 0000000..26bab21 --- /dev/null +++ b/extra_platforms-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ceffea7b3721b937442a7961c83e0dfe1d0f43523696c4fa6c201552905e08e +size 43683 diff --git a/python-extra-platforms.changes b/python-extra-platforms.changes index 7d7f496..c918805 100644 --- a/python-extra-platforms.changes +++ b/python-extra-platforms.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Dec 3 08:39:24 UTC 2024 - Johannes Kastl + +- 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 diff --git a/python-extra-platforms.spec b/python-extra-platforms.spec index e64019f..9ec42a3 100644 --- a/python-extra-platforms.spec +++ b/python-extra-platforms.spec @@ -18,35 +18,27 @@ %{?sle15_python_module_pythons} Name: python-extra-platforms -Version: 1.6.0 +Version: 1.7.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 boltons >= 24.1.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-randomly >= 3.16.0} +BuildRequires: %{python_module pytest-xdist >= 3.6.1} +BuildRequires: %{python_module requests >= 2.32.3 with %python-requests < 2.33} # /SECTION BuildRequires: fdupes Requires: python-boltons >= 24.1.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 +59,8 @@ Detect platforms and group them by family # remove coverage configuration sed -i '/cov=/d' pyproject.toml sed -i '/cov-report=/d' pyproject.toml +# do not run tests that try to connect to websites +rm -f tests/test_platform_data.py %pytest %files %{python_files}