#1143374 python-sqlite-migrate: FTBFS: E assert 'Schema before:

#1143374#5
Date:
2026-08-01 22:37:51 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/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 ===================================

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

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 ===================================

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

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
--------------------------------------------------------------------------------

#1143374#10
Date:
2026-08-05 17:34:40 UTC
From:
To:
Dear submitter,

as the package python-sqlite-migrate has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143521

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)