Your message dated Sun, 08 May 2022 12:19:02 +0000
with message-id <e1nnfsm-000cj2...@fasolo.debian.org>
and subject line Bug#1010198: fixed in xonsh 0.12.2+dfsg-1
has caused the Debian Bug report #1010198,
regarding prompt-toolkit breaks xonsh autopkgtest: '_GeneratorContextManager'
object has no attribute 'send_text'
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.)
--
1010198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: prompt-toolkit, xonsh
Control: found -1 prompt-toolkit/3.0.29-1
Control: found -1 xonsh/0.11.0+dfsg-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of prompt-toolkit the autopkgtest of xonsh fails in
testing when that autopkgtest is run with the binary packages of
prompt-toolkit from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
prompt-toolkit from testing 3.0.29-1
xonsh from testing 0.11.0+dfsg-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of prompt-toolkit to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=prompt-toolkit
https://ci.debian.net/data/autopkgtest/testing/amd64/x/xonsh/21156238/log.gz
______________ ERROR at teardown of test_ptk_prompt['hello'-None]
______________
xonsh_execer = <xonsh.__amalgam__.Execer object at 0x7fcdeb514a30>
@pytest.fixture
def ptk_shell(xonsh_execer):
from prompt_toolkit.input import create_pipe_input
from prompt_toolkit.output import DummyOutput
from xonsh.ptk_shell.shell import PromptToolkitShell
inp = create_pipe_input()
out = DummyOutput()
shell = PromptToolkitShell(
execer=xonsh_execer, ctx={}, ptk_args={"input": inp,
"output": out}
)
yield inp, out, shell
inp.close()
E AttributeError: '_GeneratorContextManager' object has no
attribute 'close'
tests/conftest.py:194: AttributeError
________________ ERROR at teardown of test_ptk_prompt[2 * 3-6]
_________________
xonsh_execer = <xonsh.__amalgam__.Execer object at 0x7fcdeb2f0400>
@pytest.fixture
def ptk_shell(xonsh_execer):
from prompt_toolkit.input import create_pipe_input
from prompt_toolkit.output import DummyOutput
from xonsh.ptk_shell.shell import PromptToolkitShell
inp = create_pipe_input()
out = DummyOutput()
shell = PromptToolkitShell(
execer=xonsh_execer, ctx={}, ptk_args={"input": inp,
"output": out}
)
yield inp, out, shell
inp.close()
E AttributeError: '_GeneratorContextManager' object has no
attribute 'close'
tests/conftest.py:194: AttributeError
=================================== FAILURES
===================================
________________________ test_ptk_prompt['hello'-None]
_________________________
line = "'hello'", exp = None
ptk_shell = (<contextlib._GeneratorContextManager object at
0x7fcdeb517940>, <prompt_toolkit.output.base.DummyOutput object at
0x7fcdeacb2e90>, <xonsh.ptk_shell.shell.PromptToolkitShell object at
0x7fcdeadac3a0>)
capsys = <_pytest.capture.CaptureFixture object at 0x7fcdeae03190>
@pytest.mark.parametrize(
"line, exp",
[
[repr("hello"), None],
["2 * 3", "6"],
],
)
def test_ptk_prompt(line, exp, ptk_shell, capsys):
inp, out, shell = ptk_shell
inp.send_text(f"{line}\nexit\n") # note: terminate with '\n'
E AttributeError: '_GeneratorContextManager' object has no
attribute 'send_text'
tests/test_ptk_shell.py:139: AttributeError
___________________________ test_ptk_prompt[2 * 3-6]
___________________________
line = '2 * 3', exp = '6'
ptk_shell = (<contextlib._GeneratorContextManager object at
0x7fcdeb2f1480>, <prompt_toolkit.output.base.DummyOutput object at
0x7fcdeacd6b00>, <xonsh.ptk_shell.shell.PromptToolkitShell object at
0x7fcdeb588e20>)
capsys = <_pytest.capture.CaptureFixture object at 0x7fcdeb749c90>
@pytest.mark.parametrize(
"line, exp",
[
[repr("hello"), None],
["2 * 3", "6"],
],
)
def test_ptk_prompt(line, exp, ptk_shell, capsys):
inp, out, shell = ptk_shell
inp.send_text(f"{line}\nexit\n") # note: terminate with '\n'
E AttributeError: '_GeneratorContextManager' object has no
attribute 'send_text'
tests/test_ptk_shell.py:139: AttributeError
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: xonsh
Source-Version: 0.12.2+dfsg-1
Done: Stefano Rivera <stefa...@debian.org>
We believe that the bug you reported is fixed in the latest version of
xonsh, 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 1010...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated xonsh 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: Sun, 08 May 2022 07:57:59 -0400
Source: xonsh
Architecture: source
Version: 0.12.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1010198
Changes:
xonsh (0.12.2+dfsg-1) unstable; urgency=medium
.
* Team upload.
* New upstream release. (Closes: #1010198)
* Refresh patches.
* Drop patches, superseded upstream:
- 0005-fix-docs-build-fail-on-tracer-calls-without-spec.patch
- test-pipelines-import.patch
* Build-Depends on python3-myst-parser for docs.
* Build-Depend and autopkgtest Depend on python3-virtualenv.
* Build the docs within the source tree, as upstream's jinja extension
expects (otherwise envvars.rst.out can't be located).
* Tell dh_sphinxdoc to ignore envvars.rst.jinja2.html, the HTML file is
called envvars.html.
* Call dh_python3-ply and Depend on ${python3-ply:Depends}.
* Patch: expect the system python to be called "python3", not "python".
* Patch: Skip tests that require pytest-subprocess.
Checksums-Sha1:
e6ed14a4c6cfbafd81ce34a8241a63fb8b1e7ca9 1800 xonsh_0.12.2+dfsg-1.dsc
30a184a1ae497ed35df2309497dcec3546fb711f 553176 xonsh_0.12.2+dfsg.orig.tar.xz
b25182ade7505dddf2bb45008fefa61b8a71d60d 12388
xonsh_0.12.2+dfsg-1.debian.tar.xz
29421da40013dfa9f3a4bb361745ae020d0e8d63 7264
xonsh_0.12.2+dfsg-1_source.buildinfo
Checksums-Sha256:
3d90eba7cdd9b7ae5e10543ca442bdeb5bc15eab1caaacb4ba36a0e3c6769dd2 1800
xonsh_0.12.2+dfsg-1.dsc
93f425d5eb6ea0e4447017efddd42b3702d68a86184bf19679051bb5001e12da 553176
xonsh_0.12.2+dfsg.orig.tar.xz
34646c261513a6fc9dbd3382df39104f93313642a8ee43f3c6151cd75f6a00ba 12388
xonsh_0.12.2+dfsg-1.debian.tar.xz
c76f24ff851055d8604b2b214d4d296141d629fa76f6ad052c20d54b98770d69 7264
xonsh_0.12.2+dfsg-1_source.buildinfo
Files:
b2d9c054781d8f206f9c207c70055978 1800 shells optional xonsh_0.12.2+dfsg-1.dsc
fd3a42ef0c5c2689a60fc2b798843ccb 553176 shells optional
xonsh_0.12.2+dfsg.orig.tar.xz
e46ac226b612f330c292c90af5eeb5e7 12388 shells optional
xonsh_0.12.2+dfsg-1.debian.tar.xz
ebdc50e30186859a32e4810cc7584716 7264 shells optional
xonsh_0.12.2+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYnewmBQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BwAAP9aDsNWdyNIDci/eUh/Ed6nGPMiD6NQ
IfZOHlGEZ2TMRAD7Bh0n3+TzAxTt5wA3zWSU3QHBHSTzfbUAlo9EdlYRvAo=
=2scu
-----END PGP SIGNATURE-----
--- End Message ---