#1123332 rdflib-sqlalchemy: FTBFS: dh_auto_test: error: pybuild --test --test-tox -i python{version} -p "3.14 3.13" returned exit code 13

#1123332#5
Date:
2025-12-16 19:50:02 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:rdflib-sqlalchemy, so that this is still
visible in the BTS web page for this package.

Thanks.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************


[... snipped ...]


        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/store.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/sql.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/statistics.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/types.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/tables.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/constants.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/termutils.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/__init__.py -> build/lib/rdflib_sqlalchemy
copying rdflib_sqlalchemy/base.py -> build/lib/rdflib_sqlalchemy
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/store.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/sql.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/statistics.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/types.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/tables.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/constants.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/termutils.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/__init__.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
copying build/lib/rdflib_sqlalchemy/base.py -> build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy
running install_egg_info
running egg_info
writing rdflib_sqlalchemy.egg-info/PKG-INFO
writing dependency_links to rdflib_sqlalchemy.egg-info/dependency_links.txt
writing entry points to rdflib_sqlalchemy.egg-info/entry_points.txt
writing requirements to rdflib_sqlalchemy.egg-info/requires.txt
writing top-level names to rdflib_sqlalchemy.egg-info/top_level.txt
reading manifest file 'rdflib_sqlalchemy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'rdflib_sqlalchemy.egg-info/SOURCES.txt'
Copying rdflib_sqlalchemy.egg-info to build/bdist.linux-x86_64/wheel/./rdflib_sqlalchemy-0.5.5.dev0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/rdflib_sqlalchemy-0.5.5.dev0.dist-info/WHEEL
creating 'dist/rdflib_sqlalchemy-0.5.5.dev0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'rdflib_sqlalchemy/__init__.py'
adding 'rdflib_sqlalchemy/base.py'
adding 'rdflib_sqlalchemy/constants.py'
adding 'rdflib_sqlalchemy/sql.py'
adding 'rdflib_sqlalchemy/statistics.py'
adding 'rdflib_sqlalchemy/store.py'
adding 'rdflib_sqlalchemy/tables.py'
adding 'rdflib_sqlalchemy/termutils.py'
adding 'rdflib_sqlalchemy/types.py'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/licenses/LICENSE.txt'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/METADATA'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/WHEEL'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/entry_points.txt'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/top_level.txt'
adding 'rdflib_sqlalchemy-0.5.5.dev0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rdflib_sqlalchemy/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.5.dev0-py3-none-any.whl
py313: install_deps .pybuild/cpython3_3.13_rdflib_sqlalchemy/build> python -I -m pip install mysqlclient psycopg2 'pytest-cov>=2.5.1' 'pytest>=3.4.0'
py313: install_package_deps .pybuild/cpython3_3.13_rdflib_sqlalchemy/build> python -I -m pip install 'SQLAlchemy>=2.0.23' 'alembic>=0.8.8' 'rdflib<8,>=6'
py313: install_package .pybuild/cpython3_3.13_rdflib_sqlalchemy/build> python -I -m pip install --force-reinstall --no-deps /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.5.dev0-py3-none-any.whl
py313: commands[0] .pybuild/cpython3_3.13_rdflib_sqlalchemy/build> .tox/py313/bin/python setup.py clean --all
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing 'build/lib' (and everything under it)
removing 'build/bdist.linux-x86_64' (and everything under it)
'build/scripts-3.13' does not exist -- can't clean it
removing 'build'
py313: commands[1] .pybuild/cpython3_3.13_rdflib_sqlalchemy/build> .tox/py313/bin/python -m pytest --cov=rdflib_sqlalchemy
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
cachedir: .tox/py313/.pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: pytest.ini
testpaths: test
plugins: cov-5.0.0, typeguard-4.4.4
collected 16 items / 4 skipped

test/test_aggregate_graphs.py FF                                         [ 12%]
test/test_sqlalchemy.py ........F..                                      [ 81%]
test/test_store_performance.py ..                                        [ 93%]
test/test_type_to_term_combination.py .                                  [100%]

=================================== FAILURES ===================================
______________________ GraphAggregates1.testAggregateRaw _______________________

self = <test.test_aggregate_graphs.GraphAggregates1 testMethod=testAggregateRaw>

    def setUp(self):
        memStore = plugin.get('SQLAlchemy', Store)(
            identifier="rdflib_test", configuration=self.dburi)
        self.graph1 = Graph(memStore)
        self.graph2 = Graph(memStore)
        self.graph3 = Graph(memStore)
    
        for n3Str, graph in [(testGraph1N3, self.graph1),
                             (testGraph2N3, self.graph2),
                             (testGraph3N3, self.graph3)]:

test/test_aggregate_graphs.py:78:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/rdflib/graph.py:1647: in parse
    parser.parse(source, self, **args)
/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py:2062: in parse
    conj_graph = Dataset(store=graph.store)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Graph identifier=N064e0bd27ff741f4b51db8cc53b4d85a (<class 'rdflib.graph.Dataset'>)>
store = <Partitioned SQL N3 Store: 0 contexts, 0 classification assertions, 0 quoted statements, 0 property/value assertions, and 0 other assertions>
default_union = False, default_graph_base = None

    def __init__(
        self,
        store: Union[Store, str] = "default",
        default_union: bool = False,
        default_graph_base: Optional[str] = None,
    ):
        super(Dataset, self).__init__(store=store, identifier=None)
    
        if not self.store.graph_aware:
E           Exception: Dataset must be backed by a graph-aware store!

/usr/lib/python3/dist-packages/rdflib/graph.py:2654: Exception
______________________ GraphAggregates3.testDefaultGraph _______________________

self = <test.test_aggregate_graphs.GraphAggregates3 testMethod=testDefaultGraph>

    def setUp(self):
        memStore = plugin.get('SQLAlchemy', Store)(
            identifier="rdflib_test", configuration=Literal("sqlite://"))
        self.graph1 = Graph(memStore, URIRef("graph1"))
        self.graph2 = Graph(memStore, URIRef("graph2"))
        self.graph3 = Graph(memStore, URIRef("graph3"))
    
        for n3Str, graph in [(testGraph1N3, self.graph1),
                             (testGraph2N3, self.graph2),
                             (testGraph3N3, self.graph3)]:

test/test_aggregate_graphs.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/rdflib/graph.py:1647: in parse
    parser.parse(source, self, **args)
/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py:2062: in parse
    conj_graph = Dataset(store=graph.store)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Graph identifier=N9d40afaa389a4141bd29e6bcd25d9ffb (<class 'rdflib.graph.Dataset'>)>
store = <Partitioned SQL N3 Store: 0 contexts, 0 classification assertions, 0 quoted statements, 0 property/value assertions, and 0 other assertions>
default_union = False, default_graph_base = None

    def __init__(
        self,
        store: Union[Store, str] = "default",
        default_union: bool = False,
        default_graph_base: Optional[str] = None,
    ):
        super(Dataset, self).__init__(store=store, identifier=None)
    
        if not self.store.graph_aware:
E           Exception: Dataset must be backed by a graph-aware store!

/usr/lib/python3/dist-packages/rdflib/graph.py:2654: Exception
_____________________ SQLATestCase.test_quoted_statements ______________________

self = <test.test_sqlalchemy.SQLATestCase testMethod=test_quoted_statements>

    def test_quoted_statements(self):
        '''
        Regression test for RDFLib/rdflib-sqlalchemy#92
        '''
        cg = ConjunctiveGraph('SQLAlchemy')
        cg.open('sqlite://', create=True)
        testN3 = """
        @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
        @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
        @prefix : <http://test/> .
        {:a :b :c;a :foo} => {:a :d :c,?y}.
        _:foo a rdfs:Class.
        :a :d :c."""

test/test_sqlalchemy.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/rdflib/graph.py:2481: in parse
    context.parse(source, publicID=publicID, format=format, **args)
/usr/lib/python3/dist-packages/rdflib/graph.py:1647: in parse
    parser.parse(source, self, **args)
/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py:2062: in parse
    conj_graph = Dataset(store=graph.store)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Graph identifier=N066aa692194d4be39b4e7d036470682b (<class 'rdflib.graph.Dataset'>)>
store = <Partitioned SQL N3 Store: 0 contexts, 0 classification assertions, 0 quoted statements, 0 property/value assertions, and 0 other assertions>
default_union = False, default_graph_base = None

    def __init__(
        self,
        store: Union[Store, str] = "default",
        default_union: bool = False,
        default_graph_base: Optional[str] = None,
    ):
        super(Dataset, self).__init__(store=store, identifier=None)
    
        if not self.store.graph_aware:
E           Exception: Dataset must be backed by a graph-aware store!

/usr/lib/python3/dist-packages/rdflib/graph.py:2654: Exception
---------- coverage: platform linux, python 3.13.11-final-0 ---------- Name Stmts Miss Cover ----------------------------------------------------- rdflib_sqlalchemy/__init__.py 16 1 94% rdflib_sqlalchemy/base.py 88 18 80% rdflib_sqlalchemy/constants.py 22 0 100% rdflib_sqlalchemy/sql.py 49 16 67% rdflib_sqlalchemy/statistics.py 22 17 23% rdflib_sqlalchemy/store.py 416 82 80% rdflib_sqlalchemy/tables.py 16 0 100% rdflib_sqlalchemy/termutils.py 112 45 60% rdflib_sqlalchemy/types.py 13 2 85% ----------------------------------------------------- TOTAL 754 181 76% =========================== short test summary info ============================ FAILED test/test_aggregate_graphs.py::GraphAggregates1::testAggregateRaw - Exception: Dataset must be backed by a graph-aware store! FAILED test/test_aggregate_graphs.py::GraphAggregates3::testDefaultGraph - Exception: Dataset must be backed by a graph-aware store! FAILED test/test_sqlalchemy.py::SQLATestCase::test_quoted_statements - Exception: Dataset must be backed by a graph-aware store! =================== 3 failed, 13 passed, 4 skipped in 11.15s =================== py313: exit 1 (11.54 seconds) /<<PKGBUILDDIR>>> .tox/py313/bin/python -m pytest --cov=rdflib_sqlalchemy pid=214 py313: FAIL code 1 (12.86=setup[1.20]+cmd[0.12,11.54] seconds) evaluation failed :( (12.92 seconds) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rdflib_sqlalchemy/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.5.dev0-py3-none-any.whl dh_auto_test: error: pybuild --test --test-tox -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
#1123332#10
Date:
2026-10-10 10:49:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rdflib-sqlalchemy, 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 1123332@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated rdflib-sqlalchemy 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 10 Oct 2026 12:01:11 +0200
Source: rdflib-sqlalchemy
Architecture: source
Version: 0.5.4+git99g-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1123332 1149308
Changes:
 rdflib-sqlalchemy (0.5.4+git99g-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream snapshot (Closes: #1123332, #1149308)
   * Add debian/gbp.conf
   * Brop python3-six build-dependency
   * Rewrite d/watch in v5 format
   * Drop "Rules-Requires-Root: no": it is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
Checksums-Sha1:
 099a2fd6a17c35a584ba2361174d32648494450e 2439 rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 698e8d2c054c6f099f8f24bf7f5234f85d753e02 1219840 rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 4f5847a8de247ccba7ce034099d75dd74017e554 3160 rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 fb7500e73597a86d390ead1b0df05246cabfa98b 6386 rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
Checksums-Sha256:
 b16f5fdf1e71c7a2c67fcd28204d74cd621ea9ccec50b8472e8084ddbbfadbb9 2439 rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 e68cd8572c13c663fb730348d0d932a0f7fc0fdf2ad736b38976ee4e6289f0c3 1219840 rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 41d68a5ebe7a597471f92618c56128636bbd8f32095dab54665628cc7671ece8 3160 rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 bbb73c919371a961df6ec2f4c19f3c2a7bca11c994d9b037979c89a1f666c99a 6386 rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
Files:
 697ef0f39550a7fe096a39a62f96dcf7 2439 python optional rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 4340de2d9a619c83fb4576a4b7d4ea70 1219840 python optional rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 87f87255db48646ad769b11598c6c647 3160 python optional rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 cdc1e70f21401634b0397bb76de4b27b 6386 python optional rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrKFHgRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqEtA//V2MJanWabcmapCa4RROajSvy4QozqGzG
83c8gzhls2Gb2N3u9XCay7cipUVhgEUFcb2yNpBgznRUJeww9/SKuur68BNYdSEt
BxOHCSes7nKqeoW7qKGob0nj7SBuxIOwSJaNkgsZOj03GRCqcWqVMP8YU3mLfCbW
m+284QNKK53ziNmFkpSnoxjNEY2SJsmi2D1IOjgiw05/7OYv2EDjEqNrjzdGyXPu
rMLn4oHE81AHgUCIyUQMQXm0Xah/ejKY+cAu3idPWHK51jaGVR9/Y+1OhDv4t/FQ
RnwT5IvuFEPqTXcf0dmHdFzJdeJCmqQFxEf6Nxrn5EykonFCkrvVSUDazzadib96
bUlEZgIE7Fop8zNNtJuSS6pNGLOvpTOgSN+P7Gj9e1CAS0bqtmMXeXjKicrE6vSw
U3M6KfgPdht09bqFOvUGlGcAXNY2lAiWAv7jjFRIK9NoP9blU4bvh7NOKGlNhzWK
sH1X0CMhyRNCX1nzpmzFnkYLYTQxcGJUj02lAp4HjGjxAOr46WygQZUdG3MPmyKv
aigrjFqb6mNjrqb0/yWmgC4x+ZK4Phm+eBnuNm9w9lsFFMJakJF+SorAXntJ1t9M
eJWgPG+UT20yVddj6Z3pSMghXk+Bl97ryil1KP/0tzvgEH4OfGwsRGEc88nB7sEm
j641b1c4EvA=
=RUIe
-----END PGP SIGNATURE-----