Skip to content

Conditional builds falls back on Python2 if needed #1435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AndreMiras
Copy link
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
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