Skip to content

Commit 5a32b3c

Browse files
committed
(host)python3: rm version check for pyconfig patch
1 parent 7bf458f commit 5a32b3c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

pythonforandroid/recipes/hostpython3/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from os.path import join
66

77
from pythonforandroid.logger import shprint
8-
from pythonforandroid.patching import is_version_lt
98
from pythonforandroid.recipe import Recipe
109
from pythonforandroid.util import (
1110
BuildInterruptingException,
@@ -45,9 +44,7 @@ class HostPython3Recipe(Recipe):
4544
'''The default url to download our host python recipe. This url will
4645
change depending on the python version set in attribute :attr:`version`.'''
4746

48-
patches = (
49-
('patches/pyconfig_detection.patch', is_version_lt("3.8.3")),
50-
)
47+
patches = ['patches/pyconfig_detection.patch']
5148

5249
@property
5350
def _exe_name(self):

pythonforandroid/recipes/python3/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from shutil import copy2
1010

1111
from pythonforandroid.logger import info, warning, shprint
12-
from pythonforandroid.patching import version_starts_with, is_version_lt
12+
from pythonforandroid.patching import version_starts_with
1313
from pythonforandroid.recipe import Recipe, TargetPythonRecipe
1414
from pythonforandroid.util import (
1515
current_directory,
@@ -61,7 +61,7 @@ class Python3Recipe(TargetPythonRecipe):
6161
name = 'python3'
6262

6363
patches = [
64-
('patches/pyconfig_detection.patch', is_version_lt("3.8.3")),
64+
'patches/pyconfig_detection.patch',
6565

6666
# Python 3.7.1
6767
('patches/py3.7.1_fix-ctypes-util-find-library.patch', version_starts_with("3.7")),

0 commit comments

Comments
 (0)