15
0

- Skip some tests that are failing for python 3.12, because it tries

to install setuptools package during tests.
  * test_main_example
  * test_specific_version
  * test_pkgname_with_dashes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=29
This commit is contained in:
2024-02-29 14:12:52 +00:00
committed by Git OBS Bridge
parent 586575000a
commit 6fee0336f0
2 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 29 14:11:26 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Skip some tests that are failing for python 3.12, because it tries
to install setuptools package during tests.
* test_main_example
* test_specific_version
* test_pkgname_with_dashes
-------------------------------------------------------------------
Sat Nov 25 13:49:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-devpi-client
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -47,7 +47,7 @@ Requires: python-pluggy >= 0.6.0
Requires: python-tox >= 3.1.0
Requires: python-virtualenv
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Recommends: git-core
Recommends: python-Sphinx
BuildArch: noarch
@@ -101,6 +101,8 @@ donttest+=" or test_main_example_with_basic_auth"
donttest+=" or test_derive_devpi_token or test_derive_legacy_token or test_derive_token"
# error deleting VIRTUAL_ENV
donttest+=" or test_simple_install_missing_venvdir"
# Broken tests with python3.12 because missing setuptools
donttest+=" or test_main_example or test_specific_version or test_pkgname_with_dashes"
%pytest -k "not ($donttest)"
%endif