Source: sphinxcontrib-jquery
Version: 4.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.jquery 
> * Building wheel...
> Successfully built sphinxcontrib_jquery-4.1-py2.py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.jquery 
> * Building wheel...
> Successfully built sphinxcontrib_jquery-4.1-py2.py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.jquery/build; 
> python3.12 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.jquery/build
> collected 4 items
> 
> tests/test_jquery_installed.py FFs.                                      
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________ test_jquery_installed_sphinx_ge_60_use_sri 
> __________________
> 
> blank_app = <function blank_app.<locals>.inner at 0x7f310ac1ccc0>
> 
>     @pytest.mark.skipif(sphinx.version_info[:2] < (6, 0),
>                         reason="Requires Sphinx 6.0 or greater")
>     def test_jquery_installed_sphinx_ge_60_use_sri(blank_app):
> >       out_dir = blank_app(confoverrides={"extensions": 
> > ["sphinxcontrib.jquery"], "jquery_use_sri": True})
> 
> tests/test_jquery_installed.py:52: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_jquery_installed.py:40: in inner
>     return run_blank_app(Path(tmpdir), **kwargs)
> tests/test_jquery_installed.py:20: in run_blank_app
>     app = SphinxTestApp(**kwargs, srcdir=srcdir)
> /usr/lib/python3/dist-packages/sphinx/testing/util.py:120: in __init__
>     super().__init__(srcdir, confdir, outdir, doctreedir,
> /usr/lib/python3/dist-packages/sphinx/application.py:151: in __init__
>     self.srcdir = _StrPath(srcdir).resolve()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = 
> FakePath('/tmp/pytest-of-user42/pytest-11/test_jquery_installed_sphinx_g0')
> args = (), kwargs = {}
> 
>     def resolve(self, *args, **kwargs):
> >       return self._path
> E       AttributeError: 'FakePath' object has no attribute '_path'. Did you 
> mean: '_hash'?
> 
> tests/test_jquery_installed.py:33: AttributeError
> ______________________ test_jquery_installed_sphinx_ge_60 
> ______________________
> 
> blank_app = <function blank_app.<locals>.inner at 0x7f310ac1d760>
> 
>     @pytest.mark.skipif(sphinx.version_info[:2] < (6, 0),
>                         reason="Requires Sphinx 6.0 or greater")
>     def test_jquery_installed_sphinx_ge_60(blank_app):
> >       out_dir = blank_app(confoverrides={"extensions": 
> > ["sphinxcontrib.jquery"]})
> 
> tests/test_jquery_installed.py:68: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_jquery_installed.py:40: in inner
>     return run_blank_app(Path(tmpdir), **kwargs)
> tests/test_jquery_installed.py:20: in run_blank_app
>     app = SphinxTestApp(**kwargs, srcdir=srcdir)
> /usr/lib/python3/dist-packages/sphinx/testing/util.py:120: in __init__
>     super().__init__(srcdir, confdir, outdir, doctreedir,
> /usr/lib/python3/dist-packages/sphinx/application.py:151: in __init__
>     self.srcdir = _StrPath(srcdir).resolve()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = 
> FakePath('/tmp/pytest-of-user42/pytest-11/test_jquery_installed_sphinx_g1')
> args = (), kwargs = {}
> 
>     def resolve(self, *args, **kwargs):
> >       return self._path
> E       AttributeError: 'FakePath' object has no attribute '_path'. Did you 
> mean: '_hash'?
> 
> tests/test_jquery_installed.py:33: AttributeError
> =============================== warnings summary 
> ===============================
> tests/test_jquery_installed.py:7
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.jquery/build/tests/test_jquery_installed.py:7:
>  RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' 
> or 'pathlib' instead.
>     from sphinx.testing.path import path
> 
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
> DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_jquery_installed.py::test_jquery_installed_sphinx_ge_60_use_sri
> FAILED tests/test_jquery_installed.py::test_jquery_installed_sphinx_ge_60 - 
> A...
> ============== 2 failed, 1 passed, 1 skipped, 2 warnings in 0.23s 
> ==============
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinxcontrib.jquery/build; 
> python3.12 -m pytest tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.jquery/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.jquery/build
> collected 4 items
> 
> tests/test_jquery_installed.py ..s.                                      
> [100%]
> 
> =============================== warnings summary 
> ===============================
> tests/test_jquery_installed.py:7
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinxcontrib.jquery/build/tests/test_jquery_installed.py:7:
>  RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' 
> or 'pathlib' instead.
>     from sphinx.testing.path import path
> 
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
> DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =================== 3 passed, 1 skipped, 2 warnings in 0.83s 
> ===================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/sphinxcontrib-jquery_4.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to