Package: src:rdflib-sqlalchemy Version: 0.5.4+git99f4689-2 Severity: serious Tags: ftbfs forky sid
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. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /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. ******************************************************************************** [... 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 [1m============================= test session starts ==============================[0m 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 [31mF[0m[31mF[0m[31m [ 12%][0m test/test_sqlalchemy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[31m [ 81%][0m test/test_store_performance.py [32m.[0m[32m.[0m[31m [ 93%][0m test/test_type_to_term_combination.py [32m.[0m[31m [100%][0m =================================== FAILURES =================================== [31m[1m______________________ GraphAggregates1.testAggregateRaw _______________________[0m self = <test.test_aggregate_graphs.GraphAggregates1 testMethod=testAggregateRaw> [0m[94mdef[39;49;00m [92msetUp[39;49;00m([96mself[39;49;00m):[90m[39;49;00m memStore = plugin.get([33m'[39;49;00m[33mSQLAlchemy[39;49;00m[33m'[39;49;00m, Store)([90m[39;49;00m identifier=[33m"[39;49;00m[33mrdflib_test[39;49;00m[33m"[39;49;00m, configuration=[96mself[39;49;00m.dburi)[90m[39;49;00m [96mself[39;49;00m.graph1 = Graph(memStore)[90m[39;49;00m [96mself[39;49;00m.graph2 = Graph(memStore)[90m[39;49;00m [96mself[39;49;00m.graph3 = Graph(memStore)[90m[39;49;00m [90m[39;49;00m [94mfor[39;49;00m n3Str, graph [95min[39;49;00m [(testGraph1N3, [96mself[39;49;00m.graph1),[90m[39;49;00m (testGraph2N3, [96mself[39;49;00m.graph2),[90m[39;49;00m (testGraph3N3, [96mself[39;49;00m.graph3)]:[90m[39;49;00m > graph.parse(StringIO(n3Str), > [96mformat[39;49;00m=[33m'[39;49;00m[33mn3[39;49;00m[33m'[39;49;00m)[90m[39;49;00m [1m[31mtest/test_aggregate_graphs.py[0m:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:1647: in parse [0mparser.parse(source, [96mself[39;49;00m, **args)[90m[39;49;00m [1m[31m/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py[0m:2062: in parse [0mconj_graph = Dataset(store=graph.store)[90m[39;49;00m ^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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 [0m[94mdef[39;49;00m [92m__init__[39;49;00m([90m[39;49;00m [96mself[39;49;00m,[90m[39;49;00m store: Union[Store, [96mstr[39;49;00m] = [33m"[39;49;00m[33mdefault[39;49;00m[33m"[39;49;00m,[90m[39;49;00m default_union: [96mbool[39;49;00m = [94mFalse[39;49;00m,[90m[39;49;00m default_graph_base: Optional[[96mstr[39;49;00m] = [94mNone[39;49;00m,[90m[39;49;00m ):[90m[39;49;00m [96msuper[39;49;00m(Dataset, [96mself[39;49;00m).[92m__init__[39;49;00m(store=store, identifier=[94mNone[39;49;00m)[90m[39;49;00m [90m[39;49;00m [94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m.store.graph_aware:[90m[39;49;00m > [94mraise[39;49;00m > [96mException[39;49;00m([33m"[39;49;00m[33mDataset must be backed by a > graph-aware store![39;49;00m[33m"[39;49;00m)[90m[39;49;00m [1m[31mE Exception: Dataset must be backed by a graph-aware store![0m [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:2654: Exception [31m[1m______________________ GraphAggregates3.testDefaultGraph _______________________[0m self = <test.test_aggregate_graphs.GraphAggregates3 testMethod=testDefaultGraph> [0m[94mdef[39;49;00m [92msetUp[39;49;00m([96mself[39;49;00m):[90m[39;49;00m memStore = plugin.get([33m'[39;49;00m[33mSQLAlchemy[39;49;00m[33m'[39;49;00m, Store)([90m[39;49;00m identifier=[33m"[39;49;00m[33mrdflib_test[39;49;00m[33m"[39;49;00m, configuration=Literal([33m"[39;49;00m[33msqlite://[39;49;00m[33m"[39;49;00m))[90m[39;49;00m [96mself[39;49;00m.graph1 = Graph(memStore, URIRef([33m"[39;49;00m[33mgraph1[39;49;00m[33m"[39;49;00m))[90m[39;49;00m [96mself[39;49;00m.graph2 = Graph(memStore, URIRef([33m"[39;49;00m[33mgraph2[39;49;00m[33m"[39;49;00m))[90m[39;49;00m [96mself[39;49;00m.graph3 = Graph(memStore, URIRef([33m"[39;49;00m[33mgraph3[39;49;00m[33m"[39;49;00m))[90m[39;49;00m [90m[39;49;00m [94mfor[39;49;00m n3Str, graph [95min[39;49;00m [(testGraph1N3, [96mself[39;49;00m.graph1),[90m[39;49;00m (testGraph2N3, [96mself[39;49;00m.graph2),[90m[39;49;00m (testGraph3N3, [96mself[39;49;00m.graph3)]:[90m[39;49;00m > graph.parse(StringIO(n3Str), > [96mformat[39;49;00m=[33m'[39;49;00m[33mn3[39;49;00m[33m'[39;49;00m)[90m[39;49;00m [1m[31mtest/test_aggregate_graphs.py[0m:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:1647: in parse [0mparser.parse(source, [96mself[39;49;00m, **args)[90m[39;49;00m [1m[31m/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py[0m:2062: in parse [0mconj_graph = Dataset(store=graph.store)[90m[39;49;00m ^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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 [0m[94mdef[39;49;00m [92m__init__[39;49;00m([90m[39;49;00m [96mself[39;49;00m,[90m[39;49;00m store: Union[Store, [96mstr[39;49;00m] = [33m"[39;49;00m[33mdefault[39;49;00m[33m"[39;49;00m,[90m[39;49;00m default_union: [96mbool[39;49;00m = [94mFalse[39;49;00m,[90m[39;49;00m default_graph_base: Optional[[96mstr[39;49;00m] = [94mNone[39;49;00m,[90m[39;49;00m ):[90m[39;49;00m [96msuper[39;49;00m(Dataset, [96mself[39;49;00m).[92m__init__[39;49;00m(store=store, identifier=[94mNone[39;49;00m)[90m[39;49;00m [90m[39;49;00m [94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m.store.graph_aware:[90m[39;49;00m > [94mraise[39;49;00m > [96mException[39;49;00m([33m"[39;49;00m[33mDataset must be backed by a > graph-aware store![39;49;00m[33m"[39;49;00m)[90m[39;49;00m [1m[31mE Exception: Dataset must be backed by a graph-aware store![0m [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:2654: Exception [31m[1m_____________________ SQLATestCase.test_quoted_statements ______________________[0m self = <test.test_sqlalchemy.SQLATestCase testMethod=test_quoted_statements> [0m[94mdef[39;49;00m [92mtest_quoted_statements[39;49;00m([96mself[39;49;00m):[90m[39;49;00m [90m [39;49;00m[33m'''[39;49;00m [33m Regression test for RDFLib/rdflib-sqlalchemy#92[39;49;00m [33m '''[39;49;00m[90m[39;49;00m cg = ConjunctiveGraph([33m'[39;49;00m[33mSQLAlchemy[39;49;00m[33m'[39;49;00m)[90m[39;49;00m cg.open([33m'[39;49;00m[33msqlite://[39;49;00m[33m'[39;49;00m, create=[94mTrue[39;49;00m)[90m[39;49;00m testN3 = [33m"""[39;49;00m[33m[39;49;00m [33m @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .[39;49;00m[33m[39;49;00m [33m @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .[39;49;00m[33m[39;49;00m [33m @prefix : <http://test/> .[39;49;00m[33m[39;49;00m [33m [39;49;00m[33m{[39;49;00m[33m:a :b :c;a :foo} => [39;49;00m[33m{[39;49;00m[33m:a :d :c,?y}.[39;49;00m[33m[39;49;00m [33m _:foo a rdfs:Class.[39;49;00m[33m[39;49;00m [33m :a :d :c.[39;49;00m[33m"""[39;49;00m[90m[39;49;00m > cg.parse(data=testN3, > [96mformat[39;49;00m=[33m'[39;49;00m[33mn3[39;49;00m[33m'[39;49;00m)[90m[39;49;00m [1m[31mtest/test_sqlalchemy.py[0m:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:2481: in parse [0mcontext.parse(source, publicID=publicID, [96mformat[39;49;00m=[96mformat[39;49;00m, **args)[90m[39;49;00m [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m:1647: in parse [0mparser.parse(source, [96mself[39;49;00m, **args)[90m[39;49;00m [1m[31m/usr/lib/python3/dist-packages/rdflib/plugins/parsers/notation3.py[0m:2062: in parse [0mconj_graph = Dataset(store=graph.store)[90m[39;49;00m ^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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 [0m[94mdef[39;49;00m [92m__init__[39;49;00m([90m[39;49;00m [96mself[39;49;00m,[90m[39;49;00m store: Union[Store, [96mstr[39;49;00m] = [33m"[39;49;00m[33mdefault[39;49;00m[33m"[39;49;00m,[90m[39;49;00m default_union: [96mbool[39;49;00m = [94mFalse[39;49;00m,[90m[39;49;00m default_graph_base: Optional[[96mstr[39;49;00m] = [94mNone[39;49;00m,[90m[39;49;00m ):[90m[39;49;00m [96msuper[39;49;00m(Dataset, [96mself[39;49;00m).[92m__init__[39;49;00m(store=store, identifier=[94mNone[39;49;00m)[90m[39;49;00m [90m[39;49;00m [94mif[39;49;00m [95mnot[39;49;00m [96mself[39;49;00m.store.graph_aware:[90m[39;49;00m > [94mraise[39;49;00m > [96mException[39;49;00m([33m"[39;49;00m[33mDataset must be backed by a > graph-aware store![39;49;00m[33m"[39;49;00m)[90m[39;49;00m [1m[31mE Exception: Dataset must be backed by a graph-aware store![0m [1m[31m/usr/lib/python3/dist-packages/rdflib/graph.py[0m: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% [36m[1m=========================== short test summary info ============================[0m [31mFAILED[0m test/test_aggregate_graphs.py::[1mGraphAggregates1::testAggregateRaw[0m - Exception: Dataset must be backed by a graph-aware store! [31mFAILED[0m test/test_aggregate_graphs.py::[1mGraphAggregates3::testDefaultGraph[0m - Exception: Dataset must be backed by a graph-aware store! [31mFAILED[0m test/test_sqlalchemy.py::[1mSQLATestCase::test_quoted_statements[0m - Exception: Dataset must be backed by a graph-aware store! [31m=================== [31m[1m3 failed[0m, [32m13 passed[0m, [33m4 skipped[0m[31m in 11.15s[0m[31m ===================[0m 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 --------------------------------------------------------------------------------

