Your message dated Sun, 21 Feb 2021 11:18:40 +0000
with message-id <e1ldml6-000gcx...@fasolo.debian.org>
and subject line Bug#977057: fixed in behave 1.2.6-3
has caused the Debian Bug report #977057,
regarding behave FTBFS with pytest 6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
977057: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977057
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: behave
Version: 1.2.6-2
Severity: important
User: pyt...@packages.debian.org
Usertags: pytest-v6
Hi,
behave FTBFS with pytest 6 in unstable.
Please find below the relevant part of the error log.
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 222 items
>
> tests/api/test_async_step.py s..... [
> 2%]
> tests/issues/test_issue0336.py .. [
> 3%]
> tests/issues/test_issue0449.py ... [
> 4%]
> tests/issues/test_issue0453.py ... [
> 6%]
> tests/issues/test_issue0458.py .... [
> 8%]
> tests/issues/test_issue0495.py ... [
> 9%]
> tests/unit/test_behave4cmd_command_shell_proc.py ........xx.... [
> 15%]
> tests/unit/test_capture.py .......................... [
> 27%]
> tests/unit/test_context_cleanups.py ........ [
> 31%]
> tests/unit/test_explore_generator.py .... [
> 32%]
> tests/unit/test_fixture.py .................FooFixture.cleanup: FooFixture
> FooFixture.cleanup: foo_1
> FooFixture.cleanup: BAD
> FooFixture.cleanup: foo_3
> ................... [ 49%]
> tests/unit/test_model_core.py .......................... [
> 60%]
> tests/unit/test_textutil.py ...............sssFFssFFss [
> 72%]
> tests/unit/test_userdata.py ............................................ [
> 92%]
> .................
> [100%]
>
> =================================== FAILURES
> ===================================
> _
> TestObjectToTextConversion.test_text__with_assert_failed_and_unicode_message[\xc4rgernis]
> _
>
> self = <tests.unit.test_textutil.TestObjectToTextConversion object at
> 0x7f9aff00d220>
> message = 'Ärgernis'
>
> @pytest.mark.parametrize("message", [
> u"Ärgernis", u"Übermütig"
> ])
> def test_text__with_assert_failed_and_unicode_message(self, message):
> with pytest.raises(AssertionError) as e:
> assert False, message
>
> text2 = text(e)
> expected = u"AssertionError: %s" % message
>> assert text2.endswith(expected)
> E assert False
> E + where False = <built-in method endswith of str object at
> 0x7f9aff104db0>('AssertionError: Ärgernis')
> E + where <built-in method endswith of str object at
> 0x7f9aff104db0> = "<ExceptionInfo AssertionError('Ärgernis\\nassert False')
> tblen=1>".endswith
>
> tests/unit/test_textutil.py:217: AssertionError
> _
> TestObjectToTextConversion.test_text__with_assert_failed_and_unicode_message[\xdcberm\xfctig]
> _
>
> self = <tests.unit.test_textutil.TestObjectToTextConversion object at
> 0x7f9aff00d8e0>
> message = 'Übermütig'
>
> @pytest.mark.parametrize("message", [
> u"Ärgernis", u"Übermütig"
> ])
> def test_text__with_assert_failed_and_unicode_message(self, message):
> with pytest.raises(AssertionError) as e:
> assert False, message
>
> text2 = text(e)
> expected = u"AssertionError: %s" % message
>> assert text2.endswith(expected)
> E assert False
> E + where False = <built-in method endswith of str object at
> 0x7f9aff104f60>('AssertionError: Übermütig')
> E + where <built-in method endswith of str object at
> 0x7f9aff104f60> = "<ExceptionInfo AssertionError('Übermütig\\nassert False')
> tblen=1>".endswith
>
> tests/unit/test_textutil.py:217: AssertionError
> _
> TestObjectToTextConversion.test_text__with_raised_exception_and_unicode_message[AssertionError-\xc4rgernis]
> _
>
> self = <tests.unit.test_textutil.TestObjectToTextConversion object at
> 0x7f9afeeb91c0>
> exception_class = <class 'AssertionError'>, message = 'Ärgernis'
>
> @pytest.mark.parametrize("exception_class, message", [
> (AssertionError, u"Ärgernis"),
> (RuntimeError, u"Übermütig"),
> ])
> def test_text__with_raised_exception_and_unicode_message(self,
> exception_class,
> message):
> with pytest.raises(exception_class) as e:
> raise exception_class(message)
>
> text2 = text(e)
> expected = u"%s: %s" % (exception_class.__name__, message)
> assert isinstance(text2, six.text_type)
>> assert text2.endswith(expected)
> E assert False
> E + where False = <built-in method endswith of str object at
> 0x7f9afef503b0>('AssertionError: Ärgernis')
> E + where <built-in method endswith of str object at
> 0x7f9afef503b0> = "<ExceptionInfo AssertionError('Ärgernis')
> tblen=1>".endswith
>
> tests/unit/test_textutil.py:246: AssertionError
> _
> TestObjectToTextConversion.test_text__with_raised_exception_and_unicode_message[RuntimeError-\xdcberm\xfctig]
> _
>
> self = <tests.unit.test_textutil.TestObjectToTextConversion object at
> 0x7f9afeeb99a0>
> exception_class = <class 'RuntimeError'>, message = 'Übermütig'
>
> @pytest.mark.parametrize("exception_class, message", [
> (AssertionError, u"Ärgernis"),
> (RuntimeError, u"Übermütig"),
> ])
> def test_text__with_raised_exception_and_unicode_message(self,
> exception_class,
> message):
> with pytest.raises(exception_class) as e:
> raise exception_class(message)
>
> text2 = text(e)
> expected = u"%s: %s" % (exception_class.__name__, message)
> assert isinstance(text2, six.text_type)
>> assert text2.endswith(expected)
> E assert False
> E + where False = <built-in method endswith of str object at
> 0x7f9aff11ff30>('RuntimeError: Übermütig')
> E + where <built-in method endswith of str object at
> 0x7f9aff11ff30> = "<ExceptionInfo RuntimeError('Übermütig') tblen=1>".endswith
>
> tests/unit/test_textutil.py:246: AssertionError
> =============================== warnings summary
> ===============================
> tests/unit/test_behave4cmd_command_shell_proc.py:2
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build/tests/unit/test_behave4cmd_command_shell_proc.py:2:
> DeprecationWarning: invalid escape sequence \.
> """
>
> tests/unit/test_behave4cmd_command_shell_proc.py:26
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build/tests/unit/test_behave4cmd_command_shell_proc.py:26:
> DeprecationWarning: invalid escape sequence \w
> winpath_pattern =
> u"^([A-Za-z]:(\\[\w\.\-]+)+)|((\\[\w\.\-]+)*)|(\s[\w\.\-]+([\w\.\-]+)*)$"
>
> tests/unit/test_behave4cmd_command_shell_proc.py:64
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build/tests/unit/test_behave4cmd_command_shell_proc.py:64:
> DeprecationWarning: invalid escape sequence \s
> '^\s*File "(?P<path>.*)", line \d+, in ',
>
> /<<PKGBUILDDIR>>/behave4cmd0/command_shell_proc.py:254
> /<<PKGBUILDDIR>>/behave4cmd0/command_shell_proc.py:254: DeprecationWarning:
> invalid escape sequence \s
> '^\s*File "(?P<path>.*)", line \d+, in ',
>
> <unknown>:2
> <unknown>:2
> <unknown>:2: DeprecationWarning: invalid escape sequence \.
>
> <unknown>:26
> <unknown>:26
> <unknown>:26: DeprecationWarning: invalid escape sequence \w
>
> <unknown>:64
> <unknown>:64
> <unknown>:64: DeprecationWarning: invalid escape sequence \s
>
> .pybuild/cpython3_3.9_behave/build/tests/issues/test_issue0336.py::TestIssue::test__problem_exists_with_problematic_encoding
> /<<PKGBUILDDIR>>/behave/textutil.py:110: DeprecationWarning: invalid escape
> sequence '\m'
> return six.text_type(value, encoding, errors)
>
> .pybuild/cpython3_3.9_behave/build/tests/issues/test_issue0495.py::test_issue[Hello
> Alice]
> .pybuild/cpython3_3.9_behave/build/tests/issues/test_issue0495.py::test_issue[\xc4rgernis
> ist \xfcberall]
> .pybuild/cpython3_3.9_behave/build/tests/issues/test_issue0495.py::test_issue[\xc4rgernis]
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build/tests/issues/test_issue0495.py:49:
> DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
> logging.warn(message)
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED
> tests/unit/test_textutil.py::TestObjectToTextConversion::test_text__with_assert_failed_and_unicode_message[\xc4rgernis]
> FAILED
> tests/unit/test_textutil.py::TestObjectToTextConversion::test_text__with_assert_failed_and_unicode_message[\xdcberm\xfctig]
> FAILED
> tests/unit/test_textutil.py::TestObjectToTextConversion::test_text__with_raised_exception_and_unicode_message[AssertionError-\xc4rgernis]
> FAILED
> tests/unit/test_textutil.py::TestObjectToTextConversion::test_text__with_raised_exception_and_unicode_message[RuntimeError-\xdcberm\xfctig]
> ======= 4 failed, 208 passed, 8 skipped, 2 xfailed, 14 warnings in 0.65s
> =======
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_behave/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
> make: *** [debian/rules:5: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: behave
Source-Version: 1.2.6-3
Done: Joao Paulo Lima de Oliveira <jlima.oliveir...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
behave, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 977...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joao Paulo Lima de Oliveira <jlima.oliveir...@gmail.com> (supplier of updated
behave package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 18 Feb 2021 18:51:33 -0400
Source: behave
Architecture: source
Version: 1.2.6-3
Distribution: unstable
Urgency: medium
Maintainer: Vincent Bernat <ber...@debian.org>
Changed-By: Joao Paulo Lima de Oliveira <jlima.oliveir...@gmail.com>
Closes: 977057
Changes:
behave (1.2.6-3) unstable; urgency=medium
.
* Team upload.
* debian/patches: Add 0004_FTBFS_with_pytest.patch, fix FTBFS,
thanks to jenisys. (Closes: #977057).
Checksums-Sha1:
d6f9ed06cb42b2a5cd9bbe8dd93522c83f3b4697 2240 behave_1.2.6-3.dsc
17cba5093e1b5c03abe3381da772c530ffc9e3bf 9472 behave_1.2.6-3.debian.tar.xz
Checksums-Sha256:
dcefd3d7e6e6f13aeee034fdd66c1e1e0579f539e0334de5c29dde77ee08f58a 2240
behave_1.2.6-3.dsc
5f36158d0462fc66eaeb6db0e8a7f6fe675937eda4d51b0c02707cbe95a8fbab 9472
behave_1.2.6-3.debian.tar.xz
Files:
97d6b1c81e0831021018e0512912f4f8 2240 python optional behave_1.2.6-3.dsc
685c3a4eee6fe7a7fc983ecb3f061d16 9472 python optional
behave_1.2.6-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEZaEt9P4xrWusTXauM1X01jtYIcwFAmAyQGgACgkQM1X01jtY
IcwDeRAAhn+eNxA8goO/hcIUGirKeg6bziF6etzqpViuSSOl8eaEmcndvedSRuRw
2a3J1Gz9wH311E3Vbmnsj9iMzZwGwJLpx0i9tyEheYBdsmnlnPPR9LDRtoMIingl
kClkD9ZqL8g8nyXdGiG9pM+LjEQ54gGTUj6Sj3Gm2zNJS0q/MyhlG5J/uVtmMxtF
rGnNZZ5SQLrAa4Q6xjjSfcYISiZNv8/M62xxQoB50Iw/jLzpkkdsktAnWxaUyaY0
YNYazMczy2kV2GmQVJILB6N7KA6Nn80nvRXqNVthoPOy5xP7URtZxNwsWOUA/gqz
Wh5F1MXYfICaKyLZ1fQ0uQ3hWL+SxN4W275s55YuWWFTDvo/GZNkRgQU2SsnYyEA
PIl+eaadrVJw1OvT7uPXujY+ME4SQXtZK6FSPbeSlmpln28XqGncIl8TdH5PtiiO
8ZeyXd9Q9kwe6u/SUB46DFIN5uXfrxQ+KKpjx6PV6aatwbMijuUznspf9izk9UOW
zzarGUoHt39p4bh1JjXa0ATys7bp8HGkgki4xMjWWRcG/AMc9rrQ9HgxPWEKcNp4
2CzoCV2YMapXSdr9ddZzKOk82FE58BPyRvroi9fyziqa7R+G9X0nVSofV9jWHngT
iClNC8NwfLau9fqHrqBLhbDH4w9a/aMLAomZdn2Lyr5W2JRn8Dk=
=AQbY
-----END PGP SIGNATURE-----
--- End Message ---