[gentoo-portage-dev] [PATCH 1/3] Remove Python 2 workaround

2021-03-04 Thread Matt Turner
Signed-off-by: Matt Turner --- lib/portage/__init__.py | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/portage/__init__.py b/lib/portage/__init__.py index 184db6ae2..1d202f557 100644 --- a/lib/portage/__init__.py +++ b/lib/portage/__init__.py @@ -484,11 +484,7 @@ def

[gentoo-portage-dev] [PATCH 2/3] Remove outdated mention of Python 2 from comment

2021-03-04 Thread Matt Turner
Fixes: 5e9fe0f2a ("Eliminate basestring/long/_unicode py3 compat") Signed-off-by: Matt Turner --- lib/portage/versions.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/portage/versions.py b/lib/portage/versions.py index 317683b17..1dc942124 100644 --- a/lib/po

[gentoo-portage-dev] [PATCH 3/3] lib: Remove outdated Python 2 comments

2021-03-04 Thread Matt Turner
Fixes: 788c0e8bb ("Remove from __future__ import unicode_literals") Signed-off-by: Matt Turner --- bin/egencache | 2 -- lib/_emerge/Package.py | 9 - lib/_emerge/Scheduler.py| 2 -- lib/_emerge/UseFlagDisp

[gentoo-portage-dev] [PATCH] Use asyncio.subprocess.Process directly

2021-03-04 Thread Matt Turner
With no need to support Python 2, we can remove our private implementation. Signed-off-by: Matt Turner --- I don't know how to test this. I intentionally broke the return value of create_subprocess_exec and didn't see any bad results. lib/portage/util/futures/_asyncio/__init__.py | 8 +- lib/

[gentoo-portage-dev] [PATCH] Mark EAPIs "4-python" and "5-progress" as deprecated

2021-03-04 Thread Matt Turner
Signed-off-by: Matt Turner --- I've asked Arfrever multiple times if these are still used anywhere, and he seemingly has not responded intentionally. According to https://bugs.gentoo.org/174536#c27 these EAPIs were only used in Arfrever's personal overlay, and even in 2012 there were questions ab