Source: python-testing.postgresql Version: 1.3.0-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:310: python3.12 setup.py config > /usr/lib/python3/dist-packages/setuptools/dist.py:744: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'build-base' will not be supported in future > versions. Please use the underscore name 'build_base' instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > /usr/lib/python3/dist-packages/setuptools/dist.py:946: > SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. > !! > > > ******************************************************************************** > Please replace its usage with implicit namespaces (PEP 420). > > See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > for details. > > ******************************************************************************** > > !! > ep.load()(self, ep.name, value) > running config > I: pybuild base:310: python3.11 setup.py config > /usr/lib/python3/dist-packages/setuptools/dist.py:744: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'build-base' will not be supported in future > versions. Please use the underscore name 'build_base' instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > /usr/lib/python3/dist-packages/setuptools/dist.py:946: > SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. > !! > > > ******************************************************************************** > Please replace its usage with implicit namespaces (PEP 420). > > See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > for details. > > ******************************************************************************** > > !! > ep.load()(self, ep.name, value) > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:310: /usr/bin/python3.12 setup.py build > /usr/lib/python3/dist-packages/setuptools/dist.py:744: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'build-base' will not be supported in future > versions. Please use the underscore name 'build_base' instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > /usr/lib/python3/dist-packages/setuptools/dist.py:946: > SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. > !! > > > ******************************************************************************** > Please replace its usage with implicit namespaces (PEP 420). > > See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > for details. > > ******************************************************************************** > > !! > ep.load()(self, ep.name, value) > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build/testing > copying src/testing/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build/testing > copying src/testing/postgresql.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build/testing > running egg_info > creating src/testing.postgresql.egg-info > writing src/testing.postgresql.egg-info/PKG-INFO > writing dependency_links to > src/testing.postgresql.egg-info/dependency_links.txt > writing namespace_packages to > src/testing.postgresql.egg-info/namespace_packages.txt > writing requirements to src/testing.postgresql.egg-info/requires.txt > writing top-level names to src/testing.postgresql.egg-info/top_level.txt > writing manifest file 'src/testing.postgresql.egg-info/SOURCES.txt' > reading manifest file 'src/testing.postgresql.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE' > writing manifest file 'src/testing.postgresql.egg-info/SOURCES.txt' > I: pybuild base:310: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/dist.py:744: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'build-base' will not be supported in future > versions. Please use the underscore name 'build_base' instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > /usr/lib/python3/dist-packages/setuptools/dist.py:946: > SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. > !! > > > ******************************************************************************** > Please replace its usage with implicit namespaces (PEP 420). > > See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > for details. > > ******************************************************************************** > > !! > ep.load()(self, ep.name, value) > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_testing.postgresql/build/testing > copying src/testing/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_testing.postgresql/build/testing > copying src/testing/postgresql.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_testing.postgresql/build/testing > running egg_info > writing src/testing.postgresql.egg-info/PKG-INFO > writing dependency_links to > src/testing.postgresql.egg-info/dependency_links.txt > writing namespace_packages to > src/testing.postgresql.egg-info/namespace_packages.txt > writing requirements to src/testing.postgresql.egg-info/requires.txt > writing top-level names to src/testing.postgresql.egg-info/top_level.txt > reading manifest file 'src/testing.postgresql.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE' > writing manifest file 'src/testing.postgresql.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build; python3.12 > -m nose -v tests > test_PostgresqlFactory > (test_postgresql.TestPostgresql.test_PostgresqlFactory) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_PostgresqlFactory_with_initialized_handler > (test_postgresql.TestPostgresql.test_PostgresqlFactory_with_initialized_handler) > ... /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has > no addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_basic (test_postgresql.TestPostgresql.test_basic) ... ERROR > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > test_copy_data_from (test_postgresql.TestPostgresql.test_copy_data_from) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_dsn_and_url (test_postgresql.TestPostgresql.test_dsn_and_url) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_fork (test_postgresql.TestPostgresql.test_fork) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_multiple_postgresql > (test_postgresql.TestPostgresql.test_multiple_postgresql) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_postgresql_is_not_found > (test_postgresql.TestPostgresql.test_postgresql_is_not_found) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotFound_found > (test_postgresql.TestPostgresql.test_skipIfNotFound_found) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotFound_notfound > (test_postgresql.TestPostgresql.test_skipIfNotFound_notfound) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotInstalled_found > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_found) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotInstalled_notfound > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_notfound) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotInstalled_with_args_found > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_with_args_found) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_skipIfNotInstalled_with_args_notfound > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_with_args_notfound) > ... ok > test_stop (test_postgresql.TestPostgresql.test_stop) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_stop_on_child_process > (test_postgresql.TestPostgresql.test_stop_on_child_process) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > test_with_statement (test_postgresql.TestPostgresql.test_with_statement) ... > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > ok > > ====================================================================== > ERROR: test_basic (test_postgresql.TestPostgresql.test_basic) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build/tests/test_postgresql.py", > line 36, in test_basic > self.assertRegexpMatches(pgsql.read_bootlog(), 'is ready to accept > connections') > ^^^^^^^^^^^^^^^^^^^^^^^^ > AttributeError: 'TestPostgresql' object has no attribute 'assertRegexpMatches' > > ---------------------------------------------------------------------- > Ran 17 tests in 17.967s > > FAILED (errors=1) > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testing.postgresql/build; python3.12 > -m nose -v tests > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_testing.postgresql/build; python3.11 > -m nose -v tests > test_PostgresqlFactory > (test_postgresql.TestPostgresql.test_PostgresqlFactory) ... ok > test_PostgresqlFactory_with_initialized_handler > (test_postgresql.TestPostgresql.test_PostgresqlFactory_with_initialized_handler) > ... ok > test_basic (test_postgresql.TestPostgresql.test_basic) ... ok > test_copy_data_from (test_postgresql.TestPostgresql.test_copy_data_from) ... > ok > test_dsn_and_url (test_postgresql.TestPostgresql.test_dsn_and_url) ... ok > test_fork (test_postgresql.TestPostgresql.test_fork) ... ok > test_multiple_postgresql > (test_postgresql.TestPostgresql.test_multiple_postgresql) ... ok > test_postgresql_is_not_found > (test_postgresql.TestPostgresql.test_postgresql_is_not_found) ... ok > test_skipIfNotFound_found > (test_postgresql.TestPostgresql.test_skipIfNotFound_found) ... ok > test_skipIfNotFound_notfound > (test_postgresql.TestPostgresql.test_skipIfNotFound_notfound) ... ok > test_skipIfNotInstalled_found > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_found) ... ok > test_skipIfNotInstalled_notfound > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_notfound) ... ok > test_skipIfNotInstalled_with_args_found > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_with_args_found) ... > ok > test_skipIfNotInstalled_with_args_notfound > (test_postgresql.TestPostgresql.test_skipIfNotInstalled_with_args_notfound) > ... ok > test_stop (test_postgresql.TestPostgresql.test_stop) ... ok > test_stop_on_child_process > (test_postgresql.TestPostgresql.test_stop_on_child_process) ... ok > test_with_statement (test_postgresql.TestPostgresql.test_with_statement) ... > ok > > ---------------------------------------------------------------------- > Ran 17 tests in 17.334s > > OK > dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/python-testing.postgresql_1.3.0-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

