Accepting request 1131205 from devel:languages:python

- avoid xdist - not used by upstream and unstable (and not
  improving the build time by more than 25%)

- remove setuptools requires

OBS-URL: https://build.opensuse.org/request/show/1131205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=102
This commit is contained in:
Ana Guerrero 2023-12-07 18:08:55 +00:00 committed by Git OBS Bridge
commit 14e9a71cb8
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Dec 5 20:12:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- avoid xdist - not used by upstream and unstable (and not
improving the build time by more than 25%)
-------------------------------------------------------------------
Fri Dec 1 19:19:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove setuptools requires
-------------------------------------------------------------------
Thu Sep 14 10:17:06 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -45,7 +45,6 @@ Source99: python-Sphinx.keyring
BuildRequires: %{python_module base}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -60,7 +59,6 @@ Requires: python-docutils >= 0.12
Requires: python-imagesize
Requires: python-packaging
Requires: python-requests >= 2.5.0
Requires: python-setuptools
Requires: python-snowballstemmer >= 1.1
Requires: python-sphinx_rtd_theme
Requires: python-sphinxcontrib-applehelp
@ -85,7 +83,6 @@ BuildRequires: %{python_module Sphinx = %{version}}
BuildRequires: %{python_module Sphinx-latex = %{version}}
BuildRequires: %{python_module filelock}
BuildRequires: %{python_module html5lib}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sphinxcontrib-websupport}
BuildRequires: %{python_module testsuite}
@ -317,7 +314,7 @@ export PYTHONPATH=.
export LC_ALL="C.utf8"
# test_latex_images test downloading a remote image
# test_signature_annotations doesnt work
%pytest tests -k 'not (linkcheck or test_latex_images or test_signature_annotations or test_copy_images)' -n auto --dist=loadfile
%pytest tests -k 'not (linkcheck or test_latex_images or test_signature_annotations or test_copy_images)'
%endif
%if ! %{with test}