Your message dated Tue, 12 Dec 2023 13:37:16 +0000
with message-id <[email protected]>
and subject line Bug#1057600: fixed in python-sphinxcontrib.apidoc 0.3.0-5
has caused the Debian Bug report #1057600,
regarding python-sphinxcontrib.apidoc: FTBFS: AttributeError: 'path' object has 
no attribute 'mkdir'. Did you mean: 'isdir'?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1057600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057600
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-sphinxcontrib.apidoc
Version: 0.3.0-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=python_distutils --with python3
   dh_update_autotools_config -O--buildsystem=python_distutils
   dh_autoreconf -O--buildsystem=python_distutils
   dh_auto_configure -O--buildsystem=python_distutils
dh_auto_configure: warning: Please use the third-party "pybuild" build system 
instead of python-distutils
dh_auto_configure: warning: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Nothing here..."
Nothing here...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
set -e ; for pyvers in 3.12 3.11; do \
        PYTHONPATH=. PYTHON=python$pyvers python$pyvers -m pytest tests ; \
done
============================= test session starts ==============================
platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
collected 5 items

tests/test_ext.py EEEEE                                                  [100%]

==================================== ERRORS ====================================
________________________ ERROR at setup of test_basics _________________________

test_params = {'shared_result': None}
app_params = _app_params(args=['html'], kwargs={'srcdir': 
path('/tmp/apidoc-pbn2n7hv/basics')})
make_app = <function make_app.<locals>.make at 0x7f088caf36a0>
shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f088cabfec0>

    @pytest.fixture()
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: 
Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, 
None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
      app_ = make_app(*args, **kwargs)

/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7f088cabffb0>
buildername = 'html', srcdir = path('/tmp/apidoc-pbn2n7hv/basics')
builddir = path('/tmp/apidoc-pbn2n7hv/basics/_build'), freshenv = False
confoverrides = None, status = <_io.StringIO object at 0x7f088cbc5b40>
warning = <_io.StringIO object at 0x7f088cbc5c00>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
_______________________ ERROR at setup of test_advanced ________________________

test_params = {'shared_result': None}
app_params = _app_params(args=['html'], kwargs={'srcdir': 
path('/tmp/apidoc-pbn2n7hv/advanced')})
make_app = <function make_app.<locals>.make at 0x7f088caf3920>
shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f088cb0f4d0>

    @pytest.fixture()
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: 
Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, 
None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
      app_ = make_app(*args, **kwargs)

/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7f088cb0cb60>
buildername = 'html', srcdir = path('/tmp/apidoc-pbn2n7hv/advanced')
builddir = path('/tmp/apidoc-pbn2n7hv/advanced/_build'), freshenv = False
confoverrides = None, status = <_io.StringIO object at 0x7f088cbc6680>
warning = <_io.StringIO object at 0x7f088cbc6380>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
___________________ ERROR at setup of test_advanced_negative ___________________

test_params = {'shared_result': None}
app_params = _app_params(args=['html'], kwargs={'srcdir': 
path('/tmp/apidoc-pbn2n7hv/advanced-negative')})
make_app = <function make_app.<locals>.make at 0x7f088cb580e0>
shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f088cb0cf20>

    @pytest.fixture()
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: 
Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, 
None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
      app_ = make_app(*args, **kwargs)

/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7f088cb0cd10>
buildername = 'html', srcdir = path('/tmp/apidoc-pbn2n7hv/advanced-negative')
builddir = path('/tmp/apidoc-pbn2n7hv/advanced-negative/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7f088cbc6c80>
warning = <_io.StringIO object at 0x7f088cbc6b00>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
_________________ ERROR at setup of test_missing_configuration _________________

test_params = {'shared_result': None}
app_params = _app_params(args=['html'], kwargs={'srcdir': 
path('/tmp/apidoc-pbn2n7hv/missing-configuration')})
make_app = <function make_app.<locals>.make at 0x7f088cb585e0>
shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f088cb0e720>

    @pytest.fixture()
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: 
Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, 
None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
      app_ = make_app(*args, **kwargs)

/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7f088cb0e960>
buildername = 'html'
srcdir = path('/tmp/apidoc-pbn2n7hv/missing-configuration')
builddir = path('/tmp/apidoc-pbn2n7hv/missing-configuration/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7f088cbc7280>
warning = <_io.StringIO object at 0x7f088cbc68c0>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
___________________ ERROR at setup of test_invalid_directory ___________________

test_params = {'shared_result': None}
app_params = _app_params(args=['html'], kwargs={'srcdir': 
path('/tmp/apidoc-pbn2n7hv/invalid-directory')})
make_app = <function make_app.<locals>.make at 0x7f088cb589a0>
shared_result = <sphinx.testing.fixtures.SharedResult object at 0x7f088cb0fc80>

    @pytest.fixture()
    def app(test_params: dict, app_params: tuple[dict, dict], make_app: 
Callable,
            shared_result: SharedResult) -> Generator[SphinxTestApp, None, 
None]:
        """
        Provides the 'sphinx.application.Sphinx' object
        """
        args, kwargs = app_params
      app_ = make_app(*args, **kwargs)

/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7f088ca9e270>
buildername = 'html', srcdir = path('/tmp/apidoc-pbn2n7hv/invalid-directory')
builddir = path('/tmp/apidoc-pbn2n7hv/invalid-directory/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7f088cbc7ac0>
warning = <_io.StringIO object at 0x7f088cbc7b80>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
=============================== warnings summary ===============================
tests/conftest.py:13
  /<<PKGBUILDDIR>>/tests/conftest.py:13: 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 ============================
ERROR tests/test_ext.py::test_basics - AttributeError: 'path' object has no a...
ERROR tests/test_ext.py::test_advanced - AttributeError: 'path' object has no...
ERROR tests/test_ext.py::test_advanced_negative - AttributeError: 'path' obje...
ERROR tests/test_ext.py::test_missing_configuration - AttributeError: 'path' ...
ERROR tests/test_ext.py::test_invalid_directory - AttributeError: 'path' obje...
======================== 2 warnings, 5 errors in 0.08s =========================
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-sphinxcontrib.apidoc
Source-Version: 0.3.0-5
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-sphinxcontrib.apidoc, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated 
python-sphinxcontrib.apidoc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 Dec 2023 14:05:18 +0100
Source: python-sphinxcontrib.apidoc
Architecture: source
Version: 0.3.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1057600
Changes:
 python-sphinxcontrib.apidoc (0.3.0-5) unstable; urgency=medium
 .
   * Add fix_tests_with_Sphinx_7.2.patch (Closes: #1057600).
Checksums-Sha1:
 aed4441482677c98faae66f01cc9c3aa76cc7a81 2255 
python-sphinxcontrib.apidoc_0.3.0-5.dsc
 e7fff0e240a41509c84a7fae5c57cc38161caae2 3544 
python-sphinxcontrib.apidoc_0.3.0-5.debian.tar.xz
 d51d0cefe826238c0da3e18f2ca753dd6c72457d 8364 
python-sphinxcontrib.apidoc_0.3.0-5_amd64.buildinfo
Checksums-Sha256:
 e6d18348650807d513c6bee45d4589ccc6a466086ac0158402b086463c7ae393 2255 
python-sphinxcontrib.apidoc_0.3.0-5.dsc
 e83f88a4201a7e0ac4478c28168bfeced5a3088655daa06b3ae5c51e2b79cbc5 3544 
python-sphinxcontrib.apidoc_0.3.0-5.debian.tar.xz
 0c536484712c23428c942397a61813a394eacc620096f8ef230df6e760377106 8364 
python-sphinxcontrib.apidoc_0.3.0-5_amd64.buildinfo
Files:
 02dbccdbe5962b846ee3ef29fe38b838 2255 python optional 
python-sphinxcontrib.apidoc_0.3.0-5.dsc
 5fb6e94c99c9d0b3b9db806472995eb2 3544 python optional 
python-sphinxcontrib.apidoc_0.3.0-5.debian.tar.xz
 585398993fde6c4f8ec9f84e10e7c5ae 8364 python optional 
python-sphinxcontrib.apidoc_0.3.0-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmV4XK0ACgkQ1BatFaxr
Q/4Dzw//a3VS+lLtcnIGNiM61yARTpjLxBOtvsUTIzk/Mv6jRP/ST3FJzaas/7L8
wIfgSqENyUoi8sxhkVwGti8OBvE4nD8vxb3zn4jgjqzr/LDKNsB/uJHBz4Np/MQO
AT0nxb5Qhf9XHljE8pP2pW40ybf895Og93vAZ+Zj5tgpXKtkghYESFzbVgeT7Ex1
SrCkLuw+8VUx5b2nG9F8vif97zsDhgvTOM97LpyxATJoWFd+F9lwwHus2ezZ5OOK
AMcey55k31cmibgXTpDTAfA680YCBPYV1VgA+x3TcUJ4L8A+jV31R83smRovHPQ7
fJ9WSdEXoxcFNK++Ag9qaJwK94N70QCzwjsYhQkJJfhn4Q1ybS3oTOHhOCCIY892
rksNXsFcblciehLf8r3fXm7yn8IqW9/0NdqfU8Okn6Qna8YRAlYXwdwkVF/GZnUV
ThElRYyNT1WMvRcTJV8coeBgSbtBVEWnWnQQg0dhbpr/cZo6qa564BcK7X9lChRr
hyuB0J4mhbmHQMIGGz8M6MiqpYC5j17eTsr/u6mw6LM9JfXXkpdPnWQR+qn6E5x5
cYXlvZ6GoS//nl8PMM7u1cGRUR2nWGOD91a4OO+kdaRautY2REYgcbzseLofz13F
81eTsAmIUkJjfAQ5UpXl9/Nz1wqAdeCnGvNujD4pWMNCBIv8TrA=
=YqGv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to