| |
@@ -24,7 +24,7 @@
|
| |
%global upstream_name Sphinx
|
| |
|
| |
Name: python-sphinx
|
| |
- %global general_version 5.1.1
|
| |
+ %global general_version 5.3.0
|
| |
#global prerel ...
|
| |
%global upstream_version %{general_version}%{?prerel}
|
| |
Version: %{general_version}%{?prerel:~%{prerel}}
|
| |
@@ -249,11 +249,6 @@
|
| |
rm tests/test_ext_imgconverter.py
|
| |
%endif
|
| |
|
| |
- # Don't measure coverage:
|
| |
- sed -i '/pytest-cov/d' setup.py
|
| |
- # Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
|
| |
- sed -i '/typed_ast/d' setup.py
|
| |
-
|
| |
|
| |
%generate_buildrequires
|
| |
%pyproject_buildrequires -r %{?with_tests:-x test}
|
| |
@@ -331,9 +326,11 @@
|
| |
%if %{with tests}
|
| |
%check
|
| |
# Currently, all linkcheck tests and test_latex_images need internet
|
| |
+ # test_build_latex_doc needs internet to download pictures,
|
| |
+ # but fails also with it enabled, we decided to skip it entirely
|
| |
%pytest \
|
| |
%if %{without internet}
|
| |
- -k "not linkcheck and not test_latex_images" \
|
| |
+ -k "not linkcheck and not test_latex_images and not test_build_latex_doc" \
|
| |
%endif
|
| |
;
|
| |
%endif
|
| |
@@ -345,7 +342,7 @@
|
| |
%{_bindir}/sphinx-*
|
| |
%{python3_sitelib}/sphinx/
|
| |
%dir %{python3_sitelib}/sphinxcontrib/
|
| |
- %{python3_sitelib}/Sphinx-%{upstream_version}.dist-info/
|
| |
+ %{python3_sitelib}/sphinx-%{upstream_version}.dist-info/
|
| |
%dir %{_datadir}/sphinx/
|
| |
%dir %{_datadir}/sphinx/locale
|
| |
%dir %{_datadir}/sphinx/locale/*
|
| |
@@ -362,6 +359,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue Nov 08 2022 Karolina Surma <ksurma@redhat.com> - 1:5.3.0-1
|
| |
+ - Update to 5.3.0
|
| |
+ - Fixes rhbz#2129546
|
| |
+
|
| |
* Mon Aug 15 2022 Karolina Surma <ksurma@redhat.com> - 1:5.1.1-1
|
| |
- Update to 5.1.1
|
| |
- Fixes rhbz#2110473
|
| |
This requires https://src.fedoraproject.org/rpms/python-imagesize/pull-request/2 to be available.
I'll run the impact check in Copr.
Sphinx has moved from setuptools to
pyproject.toml
and flit as the build backend. Patches to setup.py are no longer needed. We don't need to patch outpytest-cov
andtyped_ast
frompyproject.toml
, they're not dragged into the build environment anymore.