-
-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tox4: (regression) unable to run interactive commands #2374
Comments
PRs to address this are welcome, note though this likely is a very hard PR. I'll mark it not important enough though to block release. Furthermore, your report is missing many required information: OS and console manager you're using, for example, project. This should work (mostly) on Linux, I've tried with PDB/breakpoint, not sure how much docker differs. Might be related to #1773 |
I will try to narrow it down tomorrow. I wondered myself because I do remember being able to use pdb too, so it might not really be a general problem that breaks all interactive consoles. tx |
still a work in progress, but I think this PR will address this issue. |
I think that the interactivity issue is not generalized because I think that pdb and ipdb are still working... or I need to double check. It would quite sad to not be able to do |
@ssbarnea this should be fixed on posix platforms as of tox 4.0.12 please try again and reopen if you still face issues running interactive commands. For Windows specifically, we are tracking pty support with #2337, but likely not happening any time soon. |
While with tox 3 it was possible to start interactive commands as shells, with tox4 this is no longer possible because apparently there is some buffering implied which has two side effects:
login:
prompt would not be seenI tried setting
PYTHONUNBUFFERED=1
but it has no effect.If you happened to had a tox env that runs
docker run -it container-name /bin/bash
, debugging would become close to impossible with tox4.The text was updated successfully, but these errors were encountered: