Bug 2221985 - python-mplcairo fails to build with Sphinx 7.x
Summary: python-mplcairo fails to build with Sphinx 7.x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mplcairo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2221987
Blocks: 2188968
TreeView+ depends on / blocked
 
Reported: 2023-07-11 12:21 UTC by Karolina Surma
Modified: 2023-09-16 05:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-16 05:04:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-07-11 12:21:17 UTC
python-mplcairo fails to build with Sphinx 7.x in Fedora 39 (currently Rawhide).

The issue detected - 6 tests fail

=================================== FAILURES ===================================
________________________________ test_tinypages ________________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0')

    def test_tinypages(tmp_path):
        shutil.copytree(Path(__file__).parent / 'tinypages', tmp_path,
                        dirs_exist_ok=True)
        html_dir = tmp_path / '_build' / 'html'
        img_dir = html_dir / '_images'
        doctree_dir = tmp_path / 'doctrees'
        # Build the pages with warnings turned into errors
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir),
               str(Path(__file__).parent / 'tinypages'), str(html_dir)]
        # On CI, gcov emits warnings (due to agg headers being included with the
        # same name in multiple extension modules -- but we don't care about their
        # coverage anyways); hide them using GCOV_ERROR_FILE.
        proc = Popen(
            cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
            env={**os.environ, "MPLBACKEND": "", "GCOV_ERROR_FILE": os.devnull})
        out, err = proc.communicate()
    
        # Build the pages with warnings turned into errors
>       build_sphinx_html(tmp_path, doctree_dir, html_dir)

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0/_build/html')
extra_args = []

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
_______________________ test_plot_html_show_source_link ________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0')

    def test_plot_html_show_source_link(tmp_path):
        parent = Path(__file__).parent
        shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
        shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
        doctree_dir = tmp_path / 'doctrees'
        (tmp_path / 'index.rst').write_text("""
    .. plot::
    
        plt.plot(range(2))
    """)
        # Make sure source scripts are created by default
        html_dir1 = tmp_path / '_build' / 'html1'
>       build_sphinx_html(tmp_path, doctree_dir, html_dir1)

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:133: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0/_build/html1')
extra_args = []

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
________________________ test_show_source_link_true[0] _________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0')
plot_html_show_source_link = 0

    @pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
    def test_show_source_link_true(tmp_path, plot_html_show_source_link):
        # Test that a source link is generated if :show-source-link: is true,
        # whether or not plot_html_show_source_link is true.
        parent = Path(__file__).parent
        shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
        shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
        doctree_dir = tmp_path / 'doctrees'
        (tmp_path / 'index.rst').write_text("""
    .. plot::
        :show-source-link: true
    
        plt.plot(range(2))
    """)
        html_dir = tmp_path / '_build' / 'html'
>       build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
            '-D', f'plot_html_show_source_link={plot_html_show_source_link}'])

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:158: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=0']

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
________________________ test_show_source_link_true[1] _________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0')
plot_html_show_source_link = 1

    @pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
    def test_show_source_link_true(tmp_path, plot_html_show_source_link):
        # Test that a source link is generated if :show-source-link: is true,
        # whether or not plot_html_show_source_link is true.
        parent = Path(__file__).parent
        shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
        shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
        doctree_dir = tmp_path / 'doctrees'
        (tmp_path / 'index.rst').write_text("""
    .. plot::
        :show-source-link: true
    
        plt.plot(range(2))
    """)
        html_dir = tmp_path / '_build' / 'html'
>       build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
            '-D', f'plot_html_show_source_link={plot_html_show_source_link}'])

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:158: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=1']

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
________________________ test_show_source_link_false[0] ________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0')
plot_html_show_source_link = 0

    @pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
    def test_show_source_link_false(tmp_path, plot_html_show_source_link):
        # Test that a source link is NOT generated if :show-source-link: is false,
        # whether or not plot_html_show_source_link is true.
        parent = Path(__file__).parent
        shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
        shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
        doctree_dir = tmp_path / 'doctrees'
        (tmp_path / 'index.rst').write_text("""
    .. plot::
        :show-source-link: false
    
        plt.plot(range(2))
    """)
        html_dir = tmp_path / '_build' / 'html'
>       build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
            '-D', f'plot_html_show_source_link={plot_html_show_source_link}'])

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:178: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=0']

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
________________________ test_show_source_link_false[1] ________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3

tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0')
plot_html_show_source_link = 1

    @pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
    def test_show_source_link_false(tmp_path, plot_html_show_source_link):
        # Test that a source link is NOT generated if :show-source-link: is false,
        # whether or not plot_html_show_source_link is true.
        parent = Path(__file__).parent
        shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
        shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
        doctree_dir = tmp_path / 'doctrees'
        (tmp_path / 'index.rst').write_text("""
    .. plot::
        :show-source-link: false
    
        plt.plot(range(2))
    """)
        html_dir = tmp_path / '_build' / 'html'
>       build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
            '-D', f'plot_html_show_source_link={plot_html_show_source_link}'])

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:178: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

source_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0')
doctree_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0/doctrees')
html_dir = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=1']

    def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
        # Build the pages with warnings turned into errors
        extra_args = [] if extra_args is None else extra_args
        cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
               '-d', str(doctree_dir), str(source_dir), str(html_dir), *extra_args]
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
                     env={**os.environ, "MPLBACKEND": ""})
        out, err = proc.communicate()
    
        assert proc.returncode == 0, \
            f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
        if err:
>           pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E           Failed: sphinx build emitted the following warnings:
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import SkipProgressMessage, progress_message
E           /usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for Sphinx API modifications.
E             from sphinx.util import progress_message

/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29: Failed
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.

=========================== short test summary info ============================
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_tinypages
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_plot_html_show_source_link
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_show_source_link_true[0]
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_show_source_link_true[1]
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_show_source_link_false[0]
FAILED ../../../../usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py::test_show_source_link_false[1]
= 6 failed, 8021 passed, 861 skipped, 12 xfailed, 2 xpassed, 5 warnings in 275.87s (0:04:35) =

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/doc-stack/package/python-mplcairo/

You can test you package in mock running:

$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/ --no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/ shell

We'd like to include Sphinx 7 in Fedora 39.
Let us know here if you have any questions. Thank you!

Comment 1 Fedora Release Engineering 2023-08-16 07:19:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Elliott Sales de Andrade 2023-09-16 05:04:28 UTC
This would have been fixed by the same update that fixed Matplotlib.


Note You need to log in before you can comment on or make changes to this bug.