Accepting request 1105478 from home:mcalabkova:branches:devel:languages:python:setuptools

- update to 7.2.2
  * Drop Python 3.8 support.
  * Require Pygments 2.14 or later.
  * Deprecate sphinx.util.md5 and sphinx.util.sha1. Use hashlib instead.
  * Deprecate sphinx.testing.path. Use os.path or pathlib instead.
  * Support os.PathLike types and pathlib.Path objects in many more places.
  * Add the :no-typesetting: option to suppress textual output and only 
    create a linkable anchor.
  * Allow running Sphinx with python -m sphinx build
  * graphviz: Fix relative links from within the graph.
  * pytest: Fail tests on “XPASS”, Set PYTHONWARNINGS=error, set strict config
  * Restored the the str interface of the asset classes (_CascadingStyleSheet 
    and _JavaScript), which several extensions relied upon. This will be 
    removed in Sphinx 9.
  * Many more changes (even deprecations), see upstream changelog

OBS-URL: https://build.opensuse.org/request/show/1105478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=247
This commit is contained in:
Markéta Machová 2023-08-23 12:29:29 +00:00 committed by Git OBS Bridge
parent 6696c2f52a
commit 96f1267e79
6 changed files with 29 additions and 10 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Aug 23 12:06:50 UTC 2023 - Markéta Machová <mmachova@suse.com>
- update to 7.2.2
* Drop Python 3.8 support.
* Require Pygments 2.14 or later.
* Deprecate sphinx.util.md5 and sphinx.util.sha1. Use hashlib instead.
* Deprecate sphinx.testing.path. Use os.path or pathlib instead.
* Support os.PathLike types and pathlib.Path objects in many more places.
* Add the :no-typesetting: option to suppress textual output and only
create a linkable anchor.
* Allow running Sphinx with python -m sphinx build
* graphviz: Fix relative links from within the graph.
* pytest: Fail tests on “XPASS”, Set PYTHONWARNINGS=error, set strict config
* Restored the the str interface of the asset classes (_CascadingStyleSheet
and _JavaScript), which several extensions relied upon. This will be
removed in Sphinx 9.
* Many more changes (even deprecations), see upstream changelog
-------------------------------------------------------------------
Mon Aug 7 08:18:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-Sphinx%{psuffix}
Version: 7.1.2
Version: 7.2.2
Release: 0
Summary: Python documentation generator
License: BSD-2-Clause
@ -54,7 +54,7 @@ BuildRequires: python3-pip
#!BuildIgnore: texinfo
Requires: python-Babel >= 1.3
Requires: python-Jinja2 >= 2.3
Requires: python-Pygments >= 2.1
Requires: python-Pygments >= 2.14
Requires: python-alabaster >= 0.7
Requires: python-docutils >= 0.12
Requires: python-imagesize
@ -91,7 +91,6 @@ BuildRequires: %{python_module sphinxcontrib-websupport}
BuildRequires: %{python_module testsuite}
BuildRequires: ImageMagick
BuildRequires: graphviz
BuildRequires: (python3-typed-ast if python3-base < 3.8)
# For PNG format
BuildRequires: graphviz-gd
# For PDF format (!?)
@ -314,6 +313,7 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta
%check
%if %{with test}
export PYTHONPATH=.
export LC_ALL="C.utf8"
# test_latex_images test downloading a remote image
# test_signature_annotations doesnt work

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52bebd8bb6e646503e18c5192244051c749b1f2705422ec8024f3a7e26f1c967
size 132495
oid sha256:1652d0b5f3a6069b9ed1136846b8df85cf566ea4b4f8629e34e002c82f93d3b0
size 133083

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:422f585af5f8b5c01f00846a33f858598e48d878df319746cc9386de01af2658
size 25516
oid sha256:570e11bf97bb177694148ec8d97033bd2d52ca145afff4bbf3149d74b0ff6328
size 25655

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:780f4d32f1d7d1126576e0e5ecc19dc32ab76cd24e950228dcf7b1f6d3d9e22f
size 6828258

3
sphinx-7.2.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c0abe6d4de7a6b2c2b109a2e18387bf27b240742e1b34ea42ac3ed2ac99978c
size 7009578