-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
flatpak: Open subprocess in text stream mode #51371
Conversation
This sets the return values to be 'str' instead of byte-arrays. Fixes what appears to be a python 3 compatibility problem.
Thanks for your contribution, @subpop ! I was recently working on Python 3 compatibility issues and added byte-array <> string conversions in other places of the module. Right now my integration tests are running successfully in both Python 2 and 3 on Fedora 28, Ubuntu 16.04 and 18.04 on latest devel (after applying the fixes from #51482). Quite possible that my tests do not cover your issue, though. I would like to prevent your issue from regressing in future, so I would really like to have it covered by the integration tests. Could you add a test that triggers your issue to the I tried to document how to run the integration tests in the header of the |
Actually, I just tried to apply your fix and I did get errors that the |
I'm running Fedora 29.
I'll see if I can make a test to cover this, yea. |
I have a Fedora 29 environment with Python 2 running now, but I'm still not able to reproduce this bug. |
@subpop Your branch does not contain a shippable.yml file. Please rebase your branch to trigger running of current tests. |
@subpop Your branch does not contain a shippable.yml file. Please rebase your branch to trigger running of current tests. |
@subpop Hi, Are you still seeing this issue in Ansible 2.8 or 2.9? @oolongbrothers I wonder if this should be closed? needs_info |
Given Please open a new issue/PR if this is still an issue with Ansible 2.9 (or devel) |
This sets the return values to be 'str' instead of byte-arrays. Fixes what appears to be a python 3 compatibility problem.
SUMMARY
This sets the return values to be 'str' instead of byte-arrays. Fixes what appears to be a python 3 compatibility problem.
ISSUE TYPE
COMPONENT NAME
flatpak