15
0

Accepting request 1218421 from home:yeey:OpenWebUI

- Enable sle15_python_module_pythons.
- Disable test_utils_load_pkg_resource_fallback test case because
  of pkg_resource and setuptools incompatibility.

OBS-URL: https://build.opensuse.org/request/show/1218421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=22
This commit is contained in:
2024-10-28 10:16:44 +00:00
committed by Git OBS Bridge
parent 189962a1fd
commit 6b47b1aac9
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 26 18:44:11 UTC 2024 - Guang Yee <gyee@suse.com>
- Enable sle15_python_module_pythons.
- Disable test_utils_load_pkg_resource_fallback test case because
of pkg_resource and setuptools incompatibility.
-------------------------------------------------------------------
Mon Mar 18 10:39:45 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-fake-useragent
Version: 1.5.1
@@ -54,7 +54,10 @@ rm pytest.ini
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# NOTE: disable "test_utils_load_pkg_resource_fallback" test case as it is
# testing using pkg_resource, which conflicts with setuptools.
# See https://github.com/pypa/setuptools/issues/4487
%pytest -k "(not test_utils_load_pkg_resource_fallback)"
%files %{python_files}
%license LICENSE