tox4: sub process "pip list" by "subprocess.Popen, communicate()" returns empty in Fedora 36 container in GitHub Actions #2737
Labels
bug:minor
does not affect many people or has no big impact
help:wanted
Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Issue
Describe what's the expected behaviour and what you're observing.
The tox 4.0.11 is executed in Fedora 36 and 35 Docker containers on GitHub Actions (host OS: Ubuntu 22.0.4 LTS).
The tox executes the
pip list
as a sub process in the following code.https://github.com/junaruga/rpm-py-installer/blob/2e4e7fe87c17639d06386653125d942228fb306f/install.py#L1546-L1547
https://github.com/junaruga/rpm-py-installer/blob/2e4e7fe87c17639d06386653125d942228fb306f/install.py#L1979-L1985
Interestingly when running the used Fedora 36 containers on local environment (Fedora 37), the
pip list
returned the stdout correctly. And this issue doesn't happen on the latest tox version 3 (= 3.27.1).Environment
Provide at least:
pip list
of the host Python wheretox
is installed:Output of running tox
Provide the output of
tox -rvv
:I am sorry, here is the used
tox.ini
. As the result is quite long. If you need it, I am happy to capture and share the log text.https://github.com/junaruga/rpm-py-installer/blob/master/tox.ini#L2
Minimal example
If possible, provide a minimal reproducer for the issue:
I am sorry. I don't find a minimal reproducer.
Reproducing steps
I can tell how to reproduce this issue. Sorry for inconvenience.
git commit --allow-empty
.If you want to test with tox 3 to compare the result, you can do like this.
The text was updated successfully, but these errors were encountered: