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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ceffea7b3721b937442a7961c83e0dfe1d0f43523696c4fa6c201552905e08e
|
||||
size 43683
|
||||
3
extra_platforms-2.0.0.tar.gz
Normal file
3
extra_platforms-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f26d83800eaa71ef70ba61e338ef0065c34e817746f15cbd35912c1315821f52
|
||||
size 47029
|
||||
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-extra-platforms
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-extra-platforms
|
||||
Version: 1.7.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Detect platforms and group them by family
|
||||
License: GPL-2.0-or-later
|
||||
@@ -59,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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user