Commit Graph

55 Commits

Author SHA1 Message Date
Mirko Galimberti 9e8450cc79
Now Github Actions provides python3 via setup-python also for Apple Silicon macs (#8392) 2023-10-08 11:15:08 +02:00
Mirko Galimberti 84f9d77665 macOS dependencies: Build libpng16 for freetype, so can render colored emoji 2023-07-15 16:23:53 +05:30
Mirko Galimberti 01049a8f45
Perform RPi builds on `balenalib/raspberrypi3-*` images and skip `DISPMANX` API usage if can't be used (#8223) 2023-05-01 15:40:02 +02:00
Matt Einhorn b69ca46a09
Build python 3.9 wheels for RPi + fixes the build for RPi wheels (#7852)
* Build python 3.9 for rpi as well [build wheel armv7l].

* Add missing autoreconf for debian build. [build wheel armv7l]

* Add missing libtool for debian build. [build wheel armv7l]

* Use the newer cmake based script to build dependencies [build wheel armv7l]

---------

Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
2023-04-23 15:53:04 +02:00
Mirko Galimberti 0fc8c678eb
Migrate from `autotools` to `cmake` for SDL2 linux dependencies (#8203)
* Migrate from autotools to cmake for SDL2 linux dependencies

* Update Linux install docs
2023-04-15 14:59:50 +02:00
Akshay Arora 2f1d20dd50
Merge pull request #8096 from misl6/feat/build-dependencies
Introduce build script for SDL dependencies and `KIVY_DEPS_ROOT`
2023-02-18 23:54:46 +05:30
Mirko Galimberti 9c712588d7
Switch back to macos-latest instead of macos-11 (#8126) 2023-02-12 13:56:29 +01:00
Christian Clauss 022aaf32a3
GitHub Actions: Use current Python instead of hardcoded v3.9 (#8121)
* [build wheel] GitHub Actions: Use current Python instead of hardcoded v3.9

* Python 3.11 on apple-silicon-m1
2023-02-12 09:20:39 +01:00
Christian Clauss 62a076570a
Upgrade more GitHub Actions versions (#8120) 2023-02-04 15:56:39 +01:00
Christian Clauss dfa79431e4
Upgrade GitHub Actions versions (#8117)
* GitHub Actions: Fix unix unit test

SETUPTOOLS_ENABLE_FEATURES: "legacy-editable"

* Revert SETUPTOOLS_ENABLE_FEATURES: 'legacy-editable'

Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>

---------

Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
2023-02-04 10:50:44 +01:00
Mirko Galimberti 15de4364ee Introduces build scripts for sdl2 dependencies and KIVY_DEPS_ROOT 2023-01-07 15:41:17 +01:00
Mirko Galimberti b4b4dfccab
Switch from `ubuntu-18.04` to `ubuntu-latest` as `18.04` runners will be removed on 2023-01-12 (#8084)
* Switch from ubuntu-18.04 to ubuntu-latest as 18.04 runners will be removed on 2023-01-12

* Fix a dependency bug
2022-12-30 15:41:07 +01:00
Mirko Galimberti 3f6d36e913
Add support for Python 3.11 (#8044)
* Test on Python 3.11 (except Apple Silicon)

* Add comment about gstreamer 0.4.0

* Bump cython to 0.29.32 for 3.11 support.

* Bump cibuildwheel to 2.11.2 and add config for 3.11

Co-authored-by: Matt Einhorn <matt@einhorn.dev>
2022-11-06 14:51:20 +01:00
Mirko Galimberti 476061be51
Since ffpyplayer now ships cp310 and Apple Silicon compatible wheels, we can now switch back to full install (#7847) 2022-10-04 21:44:44 +02:00
Mirko Galimberti 6b6f112738
Bump SDL2, SDL2_image, SDL2_mixer, SDL2_ttf versions to latest stable release (#7974) 2022-08-31 22:57:47 +02:00
luzpaz 2efdc26461
Fix typos (#7915)
Found via `codespell -q 3 -S ./doc/sources/changelog.rst -L als,ba,childrens,childs,co-ordinate,co-ordinates,datas,enew,everytime,inout,iself,quitted,tesselate,tesselated,tesselator,ths`
2022-08-24 20:05:42 +02:00
Julian f6d8890ceb
Fix trivial typo in workflow. (#7972) 2022-08-24 19:06:49 +02:00
Mirko Galimberti a921b58baa
Migrate from probot/no-response to lee-dohm/no-response (#7903) 2022-07-10 17:22:34 +02:00
Mirko Galimberti d79329d908
Our self-hosted Apple Silicon runner now has been migrated to actions/runner v2.292.0 which now supports arm64 natively (#7885) 2022-05-25 21:32:45 +02:00
Mirko Galimberti 4fbf9059ce
Tests (apple-silicon-m1 only): Fixes 3.8.x pyenv install due to a recent change in clang (#7854) 2022-03-29 20:43:39 +02:00
odidev 597228c93f
Linux AArch64 wheel build optimization (#7784)
* Linux AArch64 wheel build optimisation [build wheel linux]

* Address review comments
2022-02-07 02:09:17 -05:00
Mirko Galimberti 8b3ed3cb10
Updates action-gh-release and use the default token (#7780) 2022-01-31 22:36:13 +01:00
Matt Einhorn 5d866bcc98
Replace ubuntu 18.04 to latest everywhere. 2022-01-30 19:34:56 -05:00
Matt Einhorn 533664545a
Use latest ubuntu to run CI 2022-01-30 16:28:49 -05:00
odidev cee125bf4d Add Linux AArch64 wheel build support 2022-01-25 06:12:32 -05:00
Mirko Galimberti e3fa9309b4 Fixes benchmark tests on wheels 2022-01-22 14:14:15 +01:00
Gabriel Pettier fbf561f73d
Add python3.10 in the ci configuration [build wheel linux] [build wheel osx] [build wheel win] (#7663)
* Add python3.10 in the ci configuration

* Update setup.cfg and setup.py for python3.10

* also update pyproject.toml to allow using latest cython

* update kivy-deps.sdl2 required version in setup.cfg

* bump kivy-deps.sdl2 version

* use develop version of pyinstaller for python3.10 support

* osx try simplified build

* force usage of next funcparserlib release that doesnt use 2to3 in setup.py

* 3.6 reached EOL on 2021-12-23

* macOS: add cp310-macosx_universal2

* We don't install anymore the full version. So ffmpeg dependency is not needed anymore. I expect to have a universal2 whl for ffpyplayer when we will switch back to full,dev

* manylinux2010 --> manylinux2014 (via cibuildwheel)

* Remove dependencies, so we can check delocating. Installs dev version cause support for 3.10 in ffpyplayer is missing

* Update manylinux sdl2 version and max cython version.

* Bump win deps.

Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
Co-authored-by: Matt Einhorn <moiein2000@gmail.com>
Co-authored-by: Matthew Einhorn <matt@einhorn.dev>
2022-01-12 18:26:20 +01:00
Mirko Galimberti 7d12150ee7
Add support for Apple Silicon on CI/CD [build wheel osx] [build app osx] (#7678)
* Added support for universal2 wheels, and adds unit testing on our self-hosted Apple Silicon M1 runner

* Improve job name readability
2022-01-04 19:12:39 +01:00
Mirko Galimberti 43dc1cee87
Moved support-request to v2. v1 has been shut down. (#7676) 2021-11-19 13:34:39 +01:00
Gabriel Pettier f40dd28ed6
temporary force python3.9 use in the ci (#7674) 2021-10-31 00:30:05 +02:00
matham 80d08d2e30
Benchmarks: Add benchmarks option measurements to pytest (#7292)
* Add benchmarks to test.

* Add more benchmarks and use config file.

* benchmarks typo.
2021-01-21 17:01:20 -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 1aefb1f376
Generate Kivy.app for 3.8 because 3.9 is too new. 2020-10-31 22:51:48 -04: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
Matthew Einhorn 4777dcc763 Add support for Python 3.9. 2020-10-06 19:04:40 -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
matham 55d20aaa34
Make setuptools use its local distutils (#6990) 2020-09-12 13:48:19 -04:00
Pol Canelles 7212ff2fc4
⬆️ Upgrade to actions/checkout@v2 & actions/setup-python@v2 (#6855)
* ⬆️ Upgrade to actions/checkout@v2

* ⬆️ Upgrade to actions/setup-python@v2
2020-05-02 18:53:36 +02: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
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 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 744356db7e Create all the wheels before doing any uploads to make sure wheels are always created [build wheel]. 2020-01-03 17:45:55 -05:00
Matthew Einhorn d800c3d431 Use token that doesn't expire after 60 min for RPI build. 2019-12-30 14:07:48 -05:00
Matthew Einhorn cfa6b78f99 Update windows docs for new release. 2019-12-29 17:11:29 -05:00
Matthew Einhorn c252f82a8e Fix CI PyPI upload and pin to latest kivy_deps versions. 2019-12-28 22:54:51 -05:00
matham 47a9e35539
Merge pull request #6669 from kivy/test-wheel
Test generated wheels and sdist
2019-12-28 02:06:59 -05:00