Skip to content

Conditional builds falls back on Python2 if needed#1435

Merged
AndreMiras merged 1 commit into
kivy:masterfrom
AndreMiras:feature/conditional_build_python2_fallback
Nov 3, 2018
Merged

Conditional builds falls back on Python2 if needed#1435
AndreMiras merged 1 commit into
kivy:masterfrom
AndreMiras:feature/conditional_build_python2_fallback

Conversation

@AndreMiras

Copy link
Copy Markdown
Member

Falls back to python2 when tested recipes are python3crystax compatible.
This is for instance the case on #1428 where the recipes depend only on
python2, hence couldn't be automatically tested.

Also updated vispy recipe to handle the version string properly,
pin it and clean comments.
This recipe is a demo case scenario for the conditional build falling
back on python2 since vispy is not yet compatible with python3crystax.

@AndreMiras AndreMiras mentioned this pull request Oct 29, 2018
Falls back to python2 when tested recipes are python3crystax compatible.
This is for instance the case on kivy#1428 where the recipes depend only on
python2, hence couldn't be automatically tested.

Also updated `vispy` recipe to handle the version string properly,
pin it and clean comments.
This recipe is a demo case scenario for the conditional build falling
back on python2 since `vispy` is not yet compatible with python3crystax.

Last, removes the debug flag from the test apps used by the CI as it
produces too many logs and halts Travis.
@AndreMiras AndreMiras force-pushed the feature/conditional_build_python2_fallback branch from 2371911 to d563fcf Compare October 30, 2018 10:30
@AndreMiras

Copy link
Copy Markdown
Member Author

Updated the pull request, removing debug flag from the two test apps being used by the CI as it was producing two much logs, see https://api.travis-ci.org/v3/job/448003421/log.txt

@AndreMiras AndreMiras merged commit 0092491 into kivy:master Nov 3, 2018
@AndreMiras AndreMiras deleted the feature/conditional_build_python2_fallback branch November 4, 2018 00:21
AndreMiras added a commit to AndreMiras/python-for-android that referenced this pull request Nov 11, 2018
With kivy#1435 we're falling back automatically to python2 if the recipe is
incompatible. This is better than maintaining a skip list, because the
recipe will still be compiled under python2 on conflicting dependency
graph for python3crystax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants