Commit Graph

33 Commits

Author SHA1 Message Date
matham 4e2cd986ca
Setup: Fix buggy detection of cython module name (#7257)
* Fixx buggy detection of module name.

* Fix coverage concurrency race conditions.
2020-12-10 16:13:43 -05:00
matham d39e925469
CI: Test all wheel versions, not just one per OS (#7201)
* Test each generated wheel.

* Fix CI project names so wheels don't fail. [build wheel osx] [build wheel win]
2020-11-05 19:35:02 -05:00
matham b9dd8fd508
Switch to staging docs on kivy-website-docs (#7179)
* Switch to staging docs on kivy-website-docs.

* Use correct path.

* Track changes rather than resetting every time.
2020-10-26 13:17:46 -04:00
matham 87407c59b4
Stop building wheels for RPi stretch (#7152)
* Don't build for py35 as it's not supported [build wheel linux].

* Python 3.5 is not supported anymore [build wheel armv7l].
2020-10-15 03:23:41 -04:00
matham d13e221671
Generate Kivy.app on the CI (#7080)
* Re-enable osx app build[build app osx]

* app directory should be in root [build app osx]

* Use re-worked sdk syntax. [build app osx]

* No need to build kivy. [build app osx]

* Use kivy version, not ref name. [build app osx]

* Include examples and use fixes syntax. [build app osx]

* Split app create and test. [build app osx]

* Split app create and test. [build app osx]

* Externalize kivy-examples. [build app osx] [build wheel]

* Externalize kivy-examples. [build app osx] [build wheel]

* No need to download pip manually anymore. [build app osx]

* Fix osx font test from seg-faulting. [build app osx]

* [build app osx] [build wheel osx]

* Don't copy in recursive cycles. [build app osx]

* Don't copy in recursive cycles. [build app osx]

* Set gst regsitery to fix test.

* Update docs. [build app osx] [build wheel]

* Fix gstreamer path [build app osx]

* Use mock only when testing [build app osx][build wheel osx]

* There's no reason to use older xcode, but specifically use osx 10.15. [build app osx]

* Set the gst variables to fix gst not working. [build app osx]

* Set the gst variables to fix gst not working. [build app osx]

* Set the gst variables to fix gst not working. [build app osx][build wheel osx]

* Fix broken tests. [build app osx][build wheel osx]

* Add missing hidapi library to fix osx wheel.

* Fix app environment. [build app osx] [build wheel osx]

* Need to resign hidapi after changing paths. [build app osx] [build wheel osx]
2020-09-15 21:50:34 -04:00
Matthew Einhorn 1c66ae47f6 Add _version.py and move updating version metadata to the CI. [build wheel] 2020-09-14 16:17:19 -04:00
Matthew Einhorn 3ce5e982f1 Fix CI [build wheel]. 2020-06-14 03:29:32 -04:00
Matthew Einhorn b6eddbb2fc Twine needs to be installed to upload to pypi. 2020-04-29 01:32:49 -04:00
matham 69338d7e41
Fix failing tests (#6845) 2020-04-29 00:05:32 -04:00
Kristian Sloth Lauszus fa19d95497
Kivy now works on the Raspberry Pi 4 without X11 (#6769)
* Added 'KIVY_SDL_GL_ALPHA_SIZE' environmental variable, so X11 is not required when using SDL2 in a headless environment

Thanks to @ddimensia for figuring it out

* Updated the installation instructions for Raspberry Pi 4 headless installation on Raspbian Buster, as it no longer requires X11 to be installed

* Automatically set the SDL_GL_ALPHA_SIZE to 0 when running on a Raspberry Pi

* Set 'KIVY_SDL_GL_ALPHA_SIZE=0' when building using the CI, so cross compiling of the wheels works

* Make sure KIVY_SDL_GL_ALPHA_SIZE is an int
2020-03-13 11:15:45 -04:00
matham be7ae35700
Merge pull request #6662 from Lauszus/rpi123_wheel
Compile wheels for Raspberry Pi 1-3 using the CI
2020-01-11 02:15:22 -05:00
Kristian Sloth Lauszus 5cb75d09bd Set the same flags explicitly like we do for the manylinux wheel 2020-01-11 01:39:29 +01:00
Kristian Sloth Lauszus 878e23b17f Enable X11 as a window provider 2020-01-11 01:33:04 +01:00
Kristian Sloth Lauszus f26da7a242 We can use the same wheel on the Raspberry Pi 4 by ignoring the egl_rpi window provider 2020-01-11 01:32:35 +01:00
Kristian Sloth Lauszus e6afe6d311 Compile wheels for Raspberry Pi 1-3 2020-01-09 20:43:47 +01:00
Matthew Einhorn 0b6b8930e6 Switch to flake8 and fix PEP8 issues. 2020-01-03 17:17:09 -05:00
matham a2ded0d7b7
Latest twine doesn't support py3.5 [build wheel] 2019-12-29 14:02:59 -05:00
matham 7eb7bbb8ee
Examples doesn't install if we are in kivy dir [build wheel]. 2019-12-29 12:50:31 -05:00
Matthew Einhorn c252f82a8e Fix CI PyPI upload and pin to latest kivy_deps versions. 2019-12-28 22:54:51 -05:00
Matthew Einhorn 56740a4082 Enable testing installed Kivy and test wheels and sdist from CI [build wheel osx]. 2019-12-28 00:22:00 -05:00
matham 3bbe62d077
Use pip to build wheel so it uses pyproject.toml. (#6659)
* Use pip to build wheel so it uses pyproject.toml [build wheel win]

* [build wheel win]
2019-12-21 16:32:28 -05:00
Kristian Sloth Lauszus 59facf6e6f Cross compile wheel for armv7l (Raspberry Pi 4) using Github Actions CI (#6568)
* Cross compile wheel for armv7l (Raspberry Pi 4) using Github Actions CI

Fixes #6567

* Added instruction on how to install Kivy on a Raspberry Pi 4

* Do not package the examples in the wheel

* We can not upload armv7l wheels to PyPI

* Remove all references to KivyPie

* Merge the installations instructions for Raspberry Pi's together

* Build the armv7l wheel on Stretch as well

* Create a copy of the wheel with a armv6l suffix

* The wheels are Raspberry Pi specific
2019-12-21 15:29:04 -05:00
matham 39f3bafefd
Merge pull request #6642 from kivy/matham-patch-1
Switch to using pyproject.toml and setup.cfg for metadata
2019-12-20 16:26:43 -05:00
matham dd172ebb14
Don't package examples in the wheel [build wheel linux]. 2019-12-19 16:31:47 -05:00
matham 160d59b2b2
Don't specify kivy_deps.xxx_dev deps because it is auto-installed. 2019-12-05 22:10:58 -05:00
matham 93c445f37a
Don't specify kivy_deps.xxx_dev deps because it is auto-installed. 2019-12-05 22:10:23 -05:00
matham 852579b58f
Switch from Travis/Appveyor to GitHub Actions (#6622)
* Switch Linux CI to GitHub Actions.

* gst is included in ubuntu.

* Detect if wheels are generated.

* libtiff5 is used on bionic.

* Name test ubuntu, and x11 is lowercase.

* Simply workflow name.

* Cleanup how we list kivy deps.

* Will newer pip fix the cython issues?

* Use absolute path.

* Cython can't handle when parent dir is same name as project.

* Fail on the first error.

* Display needs to be specified globally.

* Move from appveyor to GitHub Action.

* Try fixing syntax error..

* Fix syntax error..

* Fix uploads. [build wheel]

* Escape multiline command. [build wheel]

* Cython can't handle deep dirs named kivy. [build wheel]

* cmd can't have forward slash.. [build wheel]

* Find the io.h. [build wheel]

* Define include to avoid not finding io.h. [build wheel]

* Define include to avoid not finding io.h. [build wheel]

* Define include to avoid not finding io.h. [build wheel]

* Use full pytest path to prevent cov issues, .ssh may not exist, catch stderr.

* Try prevening pyinstaller erro not finding kivy.deps.

* Try prevening pyinstaller erro not finding kivy.deps. [build wheel]

* Switch to msys using choco.

* Pyinstaller cannot seem to import kivy.deps. [build wheel win]

* Use ubuntu key as it doesn't check IP/

* Give more time for video test. [build wheel win]

* Use ssh keys directly.

* clock has been removed from time. [build wheel]

* Use msys path directly because ps doesn't accept args otherwise. [build wheel win]

* Switch unittests from travis to GitHub actions.

* Use full path.

* Use full path.

* Use full path.

* Use full path.

* Add OSX wheels.

* Add osx app support [build wheel osx] [build app osx]

* Seperate gst cahces because it's too big. [build wheel osx] [build app osx]

* Try multiple caches. [build app osx] [build wheel osx]

* Restore from cache. [build app osx] [build wheel osx]

* Use gstreamer that is less than 400MB. [build app osx] [build wheel osx]

* Extract platypus compressed files. [build app osx]

* Restore package from cache. [build app osx]

* Remove travis. [build wheel] [build app osx]

* Define ref variable to use to find the branch

* Don't block app creation - it hangs on the yes. [build app osx]

* Disable osx app building for now

* Add publishing to PyPI and de-duplicate osx/ubuntu code. [build wheel] [build app osx]

* Dump context.

* Add release and PR upload fixes.

* Typo.

* Use v1 of release action.

* We are using dist, not wheelhouse. [build wheel]

* Type [build wheel]

* Needs sudo to remove docker generated files. [build wheel]

* If we don't create dist, we don't have permissions to write in it. [build wheel]

* Use PEP 508 to specify dependencies [build wheel]

* Use new require tags. [build wheel]
2019-11-29 10:00:31 -05:00
Matthew Einhorn 539c873365 Drop Python 2 support. 2019-06-01 19:29:09 -04:00
matham bacc46ac6b Request 2010 platform. 2019-04-12 10:43:16 -04:00
Matthew Einhorn 592fcd882e Add manylinux2010 support. [build wheel linux] 2019-04-12 10:43:16 -04:00
matham 1e29f4a31a
disable on the fly linking so that auditwheel finds the deps. [build wheel linux] 2018-06-01 13:38:53 -04:00
matham 8e5143ef84
Add sdl2_image reqs [build wheel linux]. 2018-06-01 11:07:55 -04:00
matham ce6d54e2f3
Add wheels for all CI (#5780)
Add wheel generation support for osx and linux.
2018-06-01 01:25:19 -04:00