Skip to content

Commit b6ca832

Browse files
committed
List of broken recipes for python3crystax, refs #1402
Populated the list of broken recipes and moved to a dedicated `constants.py` file. Broken recipes are mostly divided in 3 categories: 1) recipes not yet migrated from python2 to python3crystax 2) recipes that don't have environment var well setup 3) recipes that are not broken but require a system package
1 parent 849f67f commit b6ca832

File tree

2 files changed

+64
-37
lines changed

2 files changed

+64
-37
lines changed

ci/constants.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
from enum import Enum
2+
3+
4+
class TargetPython(Enum):
5+
python2 = 0
6+
python3crystax = 1
7+
8+
9+
# recipes that currently break the build
10+
# a recipe could be broken for a target Python and not for the other,
11+
# hence we're maintaining one list per Python target
12+
BROKEN_RECIPES_PYTHON2 = set([])
13+
BROKEN_RECIPES_PYTHON3_CRYSTAX = set([
14+
# not yet python3crystax compatible
15+
'apsw', 'atom', 'boost', 'brokenrecipe', 'cdecimal', 'cherrypy',
16+
'coverage', 'dateutil', 'enaml', 'ethash', 'kiwisolver', 'libgeos',
17+
'libnacl', 'libsodium', 'libtorrent', 'libtribler', 'libzbar', 'libzmq',
18+
'm2crypto', 'mysqldb', 'ndghttpsclient', 'pil', 'pycrypto', 'pyethereum',
19+
'pygame', 'pyleveldb', 'pyproj', 'pyzmq', 'regex', 'shapely',
20+
'simple-crypt', 'twsisted', 'vispy', 'websocket-client', 'zbar',
21+
'zeroconf', 'zope',
22+
# https://github.com/kivy/python-for-android/issues/550
23+
'audiostream',
24+
# enum34 is not compatible with Python 3.6 standard library
25+
# https://stackoverflow.com/a/45716067/185510
26+
'enum34',
27+
# https://github.com/kivy/python-for-android/issues/1398
28+
'ifaddrs',
29+
# https://github.com/kivy/python-for-android/issues/1399
30+
'libglob',
31+
# cannot find -lcrystax
32+
'cffi', 'pycryptodome', 'pymuk', 'secp256k1',
33+
# https://github.com/kivy/python-for-android/issues/1404
34+
'cryptography',
35+
# https://github.com/kivy/python-for-android/issues/1294
36+
'ffmpeg', 'ffpyplayer',
37+
# https://github.com/kivy/python-for-android/pull/1307 ?
38+
'gevent',
39+
'icu',
40+
# https://github.com/kivy/python-for-android/issues/1354
41+
'kivent_core', 'kivent_cymunk', 'kivent_particles', 'kivent_polygen',
42+
'kivy',
43+
# https://github.com/kivy/python-for-android/issues/1405
44+
'libpq', 'psycopg2',
45+
'netifaces',
46+
# https://github.com/kivy/python-for-android/issues/1315 ?
47+
'opencv',
48+
'protobuf_cpp',
49+
# most likely some setup in the Docker container, because it works in host
50+
'pyjnius', 'pyopenal',
51+
# SyntaxError: invalid syntax (Python2)
52+
'storm',
53+
'vlc',
54+
])
55+
BROKEN_RECIPES = {
56+
TargetPython.python2: BROKEN_RECIPES_PYTHON2,
57+
TargetPython.python3crystax: BROKEN_RECIPES_PYTHON3_CRYSTAX,
58+
}
59+
# recipes that were already built will be skipped
60+
CORE_RECIPES = set([
61+
'pyjnius', 'kivy', 'openssl', 'requests', 'sqlite3', 'setuptools',
62+
'numpy', 'android', 'python2',
63+
])

ci/rebuild_updated_recipes.py

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,8 @@
2525
"""
2626
import sh
2727
import os
28-
from enum import Enum
2928
from pythonforandroid.toolchain import current_directory
30-
31-
32-
class TargetPython(Enum):
33-
python2 = 0
34-
python3crystax = 1
35-
36-
37-
# recipes that currently break the build
38-
# a recipe could be broken for a target Python and not for the other,
39-
# hence we're maintaining one list per Python target
40-
BROKEN_RECIPES_PYTHON2 = set([])
41-
BROKEN_RECIPES_PYTHON3_CRYSTAX = set([
42-
# not yet python3crystax compatible
43-
'apsw', 'atom', 'boost', 'brokenrecipe', 'cdecimal', 'cherrypy',
44-
'coverage',
45-
# https://github.com/kivy/python-for-android/issues/550
46-
'audiostream',
47-
# enum34 is not compatible with Python 3.6 standard library
48-
# https://stackoverflow.com/a/45716067/185510
49-
'enum34',
50-
# https://github.com/kivy/python-for-android/issues/1398
51-
'ifaddrs',
52-
# https://github.com/kivy/python-for-android/issues/1399
53-
'libglob',
54-
# cannot find -lcrystax
55-
'cffi',
56-
])
57-
BROKEN_RECIPES = {
58-
TargetPython.python2: BROKEN_RECIPES_PYTHON2,
59-
TargetPython.python3crystax: BROKEN_RECIPES_PYTHON3_CRYSTAX,
60-
}
61-
# recipes that are were already built
62-
CORE_RECIPES = set([
63-
'pyjnius', 'kivy', 'openssl', 'requests', 'sqlite3', 'setuptools',
64-
'numpy', 'android',
65-
])
29+
from ci.constants import TargetPython, CORE_RECIPES, BROKEN_RECIPES
6630

6731

6832
def modified_recipes(branch='origin/master'):

0 commit comments

Comments
 (0)