Package: src:python-sqlite-migrate Version: 0.1~beta0-3 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/202608/ 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:python-sqlite-migrate, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build/lib/sqlite_migrate copying sqlite_migrate/sqlite_utils_plugin.py -> build/lib/sqlite_migrate copying sqlite_migrate/__init__.py -> build/lib/sqlite_migrate running egg_info creating sqlite_migrate.egg-info writing sqlite_migrate.egg-info/PKG-INFO writing dependency_links to sqlite_migrate.egg-info/dependency_links.txt writing entry points to sqlite_migrate.egg-info/entry_points.txt writing requirements to sqlite_migrate.egg-info/requires.txt writing top-level names to sqlite_migrate.egg-info/top_level.txt writing manifest file 'sqlite_migrate.egg-info/SOURCES.txt' reading manifest file 'sqlite_migrate.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'sqlite_migrate.egg-info/SOURCES.txt' 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/sqlite_migrate copying build/lib/sqlite_migrate/sqlite_utils_plugin.py -> build/bdist.linux-x86_64/wheel/./sqlite_migrate copying build/lib/sqlite_migrate/__init__.py -> build/bdist.linux-x86_64/wheel/./sqlite_migrate running install_egg_info Copying sqlite_migrate.egg-info to build/bdist.linux-x86_64/wheel/./sqlite_migrate-0.1b0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/sqlite_migrate-0.1b0.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate/.tmp-55lq82i_/sqlite_migrate-0.1b0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'sqlite_migrate/__init__.py' adding 'sqlite_migrate/sqlite_utils_plugin.py' adding 'sqlite_migrate-0.1b0.dist-info/licenses/LICENSE' adding 'sqlite_migrate-0.1b0.dist-info/METADATA' adding 'sqlite_migrate-0.1b0.dist-info/WHEEL' adding 'sqlite_migrate-0.1b0.dist-info/entry_points.txt' adding 'sqlite_migrate-0.1b0.dist-info/top_level.txt' adding 'sqlite_migrate-0.1b0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built sqlite_migrate-0.1b0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlite_migrate * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) running bdist_wheel running build running build_py running egg_info writing sqlite_migrate.egg-info/PKG-INFO writing dependency_links to sqlite_migrate.egg-info/dependency_links.txt writing entry points to sqlite_migrate.egg-info/entry_points.txt writing requirements to sqlite_migrate.egg-info/requires.txt writing top-level names to sqlite_migrate.egg-info/top_level.txt reading manifest file 'sqlite_migrate.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'sqlite_migrate.egg-info/SOURCES.txt' 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/sqlite_migrate copying build/lib/sqlite_migrate/sqlite_utils_plugin.py -> build/bdist.linux-x86_64/wheel/./sqlite_migrate copying build/lib/sqlite_migrate/__init__.py -> build/bdist.linux-x86_64/wheel/./sqlite_migrate running install_egg_info Copying sqlite_migrate.egg-info to build/bdist.linux-x86_64/wheel/./sqlite_migrate-0.1b0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/sqlite_migrate-0.1b0.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlite_migrate/.tmp-a5rwa3q0/sqlite_migrate-0.1b0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'sqlite_migrate/__init__.py' adding 'sqlite_migrate/sqlite_utils_plugin.py' adding 'sqlite_migrate-0.1b0.dist-info/licenses/LICENSE' adding 'sqlite_migrate-0.1b0.dist-info/METADATA' adding 'sqlite_migrate-0.1b0.dist-info/WHEEL' adding 'sqlite_migrate-0.1b0.dist-info/entry_points.txt' adding 'sqlite_migrate-0.1b0.dist-info/top_level.txt' adding 'sqlite_migrate-0.1b0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built sqlite_migrate-0.1b0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:385: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate/build'; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate/build configfile: pyproject.toml plugins: typeguard-4.4.4 collected 10 items tests/test_sqlite_migrate.py .... [ 40%] tests/test_sqlite_utils_migrate_command.py ...F.F [100%] =================================== FAILURES =================================== _________________________________ test_verbose _________________________________ tmpdir = local('/tmp/pytest-of-sbuild/pytest-0/test_verbose0') def test_verbose(tmpdir): path = pathlib.Path(tmpdir) (path / "foo").mkdir() migrations_py = path / "foo" / "migrations.py" migrations_py.write_text( """ from sqlite_migrate import Migrations m = Migrations("hello") @m() def foo(db): db["dogs"].insert({"id": 1, "name": "Cleo"}) """, "utf-8", ) db_path = str(path / "test.db") runner = CliRunner() result = runner.invoke( sqlite_utils.cli.cli, ["migrate", db_path, str(migrations_py)] ) assert result.exit_code == 0 # Now run again with --verbose, should be no changes result = runner.invoke( sqlite_utils.cli.cli, ["migrate", db_path, str(migrations_py), "--verbose"] ) assert result.exit_code == 0 expected = """ Schema before: CREATE TABLE [_sqlite_migrations] ( [migration_set] TEXT, [name] TEXT, [applied_at] TEXT, PRIMARY KEY ([migration_set], [name]) ); CREATE TABLE [dogs] ( [id] INTEGER, [name] TEXT ); Schema after: (unchanged) """.strip() > assert expected in result.output E assert 'Schema before:\n\n CREATE TABLE [_sqlite_migrations] (\n [migration_set] TEXT,\n [name] TEXT,\n [applied..., [name])\n );\n CREATE TABLE [dogs] (\n [id] INTEGER,\n [name] TEXT\n );\n\nSchema after:\n\n (unchanged)' in 'Migrating /tmp/pytest-of-sbuild/pytest-0/test_verbose0/test.db\n\nSchema before:\n\n CREATE TABLE "_sqlite_migration..."name")\n );\n CREATE TABLE "dogs" (\n "id" INTEGER,\n "name" TEXT\n );\n\nSchema after:\n\n (unchanged)\n' E + where 'Migrating /tmp/pytest-of-sbuild/pytest-0/test_verbose0/test.db\n\nSchema before:\n\n CREATE TABLE "_sqlite_migration..."name")\n );\n CREATE TABLE "dogs" (\n "id" INTEGER,\n "name" TEXT\n );\n\nSchema after:\n\n (unchanged)\n' = <Result okay>.output tests/test_sqlite_utils_migrate_command.py:120: AssertionError ____________________________ test_stop_before_error ____________________________ two_migrations = (PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_stop_before_error0'), PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_stop_before_error0/foo/migrations.py')) def test_stop_before_error(two_migrations): path, _ = two_migrations db_path = str(path / "test.db") (path / "foo" / "migrations2.py").write_text( """ from sqlite_migrate import Migrations m = Migrations("hello2") @m() def foo(db): db["foo"].insert({"hello": "world"}) """, "utf-8", ) runner = CliRunner() result = runner.invoke( sqlite_utils.cli.cli, [ "migrate", db_path, str(path / "foo" / "migrations.py"), str(path / "foo" / "migrations2.py"), "--stop-before", "foo", ], ) > assert result.exit_code == 1 E assert 0 == 1 E + where 0 = <Result okay>.exit_code tests/test_sqlite_utils_migrate_command.py:202: AssertionError =========================== short test summary info ============================ FAILED tests/test_sqlite_utils_migrate_command.py::test_verbose - assert 'Sch... FAILED tests/test_sqlite_utils_migrate_command.py::test_stop_before_error - a... ========================= 2 failed, 8 passed in 0.29s ========================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate/build'; python3.13 -m pytest tests I: pybuild base:385: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlite_migrate/build'; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlite_migrate/build configfile: pyproject.toml plugins: typeguard-4.4.4 collected 10 items tests/test_sqlite_migrate.py .... [ 40%] tests/test_sqlite_utils_migrate_command.py ...F.F [100%] =================================== FAILURES =================================== _________________________________ test_verbose _________________________________ tmpdir = local('/tmp/pytest-of-sbuild/pytest-1/test_verbose0') def test_verbose(tmpdir): path = pathlib.Path(tmpdir) (path / "foo").mkdir() migrations_py = path / "foo" / "migrations.py" migrations_py.write_text( """ from sqlite_migrate import Migrations m = Migrations("hello") @m() def foo(db): db["dogs"].insert({"id": 1, "name": "Cleo"}) """, "utf-8", ) db_path = str(path / "test.db") runner = CliRunner() result = runner.invoke( sqlite_utils.cli.cli, ["migrate", db_path, str(migrations_py)] ) assert result.exit_code == 0 # Now run again with --verbose, should be no changes result = runner.invoke( sqlite_utils.cli.cli, ["migrate", db_path, str(migrations_py), "--verbose"] ) assert result.exit_code == 0 expected = """ Schema before: CREATE TABLE [_sqlite_migrations] ( [migration_set] TEXT, [name] TEXT, [applied_at] TEXT, PRIMARY KEY ([migration_set], [name]) ); CREATE TABLE [dogs] ( [id] INTEGER, [name] TEXT ); Schema after: (unchanged) """.strip() > assert expected in result.output E assert 'Schema before:\n\n CREATE TABLE [_sqlite_migrations] (\n [migration_set] TEXT,\n [name] TEXT,\n [applied..., [name])\n );\n CREATE TABLE [dogs] (\n [id] INTEGER,\n [name] TEXT\n );\n\nSchema after:\n\n (unchanged)' in 'Migrating /tmp/pytest-of-sbuild/pytest-1/test_verbose0/test.db\n\nSchema before:\n\n CREATE TABLE "_sqlite_migration..."name")\n );\n CREATE TABLE "dogs" (\n "id" INTEGER,\n "name" TEXT\n );\n\nSchema after:\n\n (unchanged)\n' E + where 'Migrating /tmp/pytest-of-sbuild/pytest-1/test_verbose0/test.db\n\nSchema before:\n\n CREATE TABLE "_sqlite_migration..."name")\n );\n CREATE TABLE "dogs" (\n "id" INTEGER,\n "name" TEXT\n );\n\nSchema after:\n\n (unchanged)\n' = <Result okay>.output tests/test_sqlite_utils_migrate_command.py:120: AssertionError ____________________________ test_stop_before_error ____________________________ two_migrations = (PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_stop_before_error0'), PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_stop_before_error0/foo/migrations.py')) def test_stop_before_error(two_migrations): path, _ = two_migrations db_path = str(path / "test.db") (path / "foo" / "migrations2.py").write_text( """ from sqlite_migrate import Migrations m = Migrations("hello2") @m() def foo(db): db["foo"].insert({"hello": "world"}) """, "utf-8", ) runner = CliRunner() result = runner.invoke( sqlite_utils.cli.cli, [ "migrate", db_path, str(path / "foo" / "migrations.py"), str(path / "foo" / "migrations2.py"), "--stop-before", "foo", ], ) > assert result.exit_code == 1 E assert 0 == 1 E + where 0 = <Result okay>.exit_code tests/test_sqlite_utils_migrate_command.py:202: AssertionError =========================== short test summary info ============================ FAILED tests/test_sqlite_utils_migrate_command.py::test_verbose - assert 'Sch... FAILED tests/test_sqlite_utils_migrate_command.py::test_stop_before_error - a... ========================= 2 failed, 8 passed in 0.28s ========================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlite_migrate/build'; python3.14 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --parallel=2 returned exit code 13 make: *** [debian/rules:5: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

