Package: src:flake8-quotes
Version: 3.4.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/flake8_quotes
copying flake8_quotes/__about__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/flake8_quotes
copying flake8_quotes/docstring_detection.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/flake8_quotes
copying flake8_quotes/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/flake8_quotes
running egg_info
creating flake8_quotes.egg-info
writing flake8_quotes.egg-info/PKG-INFO
writing dependency_links to flake8_quotes.egg-info/dependency_links.txt
writing entry points to flake8_quotes.egg-info/entry_points.txt
writing requirements to flake8_quotes.egg-info/requires.txt
writing top-level names to flake8_quotes.egg-info/top_level.txt
writing manifest file 'flake8_quotes.egg-info/SOURCES.txt'
reading manifest file 'flake8_quotes.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'flake8_quotes.egg-info/SOURCES.txt'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m unittest discover -v
test_doubles (test.test_checks.DoublesAliasTestChecks.test_doubles) ... ok
test_doubles (test.test_checks.DoublesTestChecks.test_doubles) ... ok
test_escapes (test.test_checks.DoublesTestChecks.test_escapes) ... ok
test_escapes_allowed (test.test_checks.DoublesTestChecks.test_escapes_allowed) 
... ok
test_multiline_string 
(test.test_checks.DoublesTestChecks.test_multiline_string) ... ok
test_multiline_string_using_lines 
(test.test_checks.DoublesTestChecks.test_multiline_string_using_lines) ... ok
test_noqa_doubles (test.test_checks.DoublesTestChecks.test_noqa_doubles) ... ok
test_wrapped (test.test_checks.DoublesTestChecks.test_wrapped) ... ok
test_doubles (test.test_checks.MultilineTestChecks.test_doubles) ... ok
test_doubles_alias (test.test_checks.MultilineTestChecks.test_doubles_alias) 
... ok
test_singles (test.test_checks.MultilineTestChecks.test_singles) ... ok
test_singles_alias (test.test_checks.MultilineTestChecks.test_singles_alias) 
... ok
test_singles (test.test_checks.SinglesAliasTestChecks.test_singles) ... ok
test_escapes (test.test_checks.SinglesTestChecks.test_escapes) ... ok
test_escapes_allowed (test.test_checks.SinglesTestChecks.test_escapes_allowed) 
... ok
test_multiline_string 
(test.test_checks.SinglesTestChecks.test_multiline_string) ... ok
test_noqa_singles (test.test_checks.SinglesTestChecks.test_noqa_singles) ... ok
test_singles (test.test_checks.SinglesTestChecks.test_singles) ... ok
test_wrapped (test.test_checks.SinglesTestChecks.test_wrapped) ... ok
test_get_noqa_lines (test.test_checks.TestChecks.test_get_noqa_lines) ... ok
test_stdin (test.test_checks.TestFlake8Stdin.test_stdin)
Test using stdin. ... FAIL
test_require_double_docstring_double_present 
(test.test_docstring_checks.DocstringTestChecks.test_require_double_docstring_double_present)
 ... ok
test_require_double_docstring_single_present 
(test.test_docstring_checks.DocstringTestChecks.test_require_double_docstring_single_present)
 ... ok
test_require_single_docstring_double_present 
(test.test_docstring_checks.DocstringTestChecks.test_require_single_docstring_double_present)
 ... ok
test_require_single_docstring_single_present 
(test.test_docstring_checks.DocstringTestChecks.test_require_single_docstring_single_present)
 ... ok
test_get_docstring_tokens_absent 
(test.test_docstring_detection.GetDocstringTokensTests.test_get_docstring_tokens_absent)
 ... ok
test_get_docstring_tokens_doubles 
(test.test_docstring_detection.GetDocstringTokensTests.test_get_docstring_tokens_doubles)
 ... ok
test_get_docstring_tokens_singles 
(test.test_docstring_detection.GetDocstringTokensTests.test_get_docstring_tokens_singles)
 ... ok

======================================================================
FAIL: test_stdin (test.test_checks.TestFlake8Stdin.test_stdin)
Test using stdin.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_checks.py", 
line 24, in test_stdin
    self.assertEqual(len(stdout_lines), 3)
AssertionError: 0 != 3

----------------------------------------------------------------------
Ran 28 tests in 0.109s

FAILED (failures=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover 
-v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to