Commit Graph

93 Commits

Author SHA1 Message Date
Mirko Galimberti ff80a2213a
Remove Windows 32-bit support (tests, builds, docs) (#8617)
* Remove Windows 32-bit support (tests, builds)

* Remove fancy rules for dependencies and remove docs regarding fancy rules
2024-02-18 10:22:35 +01:00
Nidhi Nishad 15f1db0394
Remove Python `3.7` from supported matrix and set minimum supported version to `3.8` (#8587) 2024-01-31 21:05:00 +01:00
Mirko Galimberti a8ebd2df9d
Make sure build dependencies are installed for Kivy.app, and use default python version provided by `create-osx-bundle.sh` (#8513)
* Make sure build dependencies are installed for Kivy.app

* Use the default python version from kivy-sdk-packager build script
2023-12-17 11:09:49 +01:00
Julian 7b84bf6151
Make doc structure consistent and up-to-date (#8514)
* Make doc structure consistent and up-to-date

This is part of an effort to make the Kivy sibling projects' documentation
structure consistent and up-to-date.

CHECKLIST

* CONTRIBUTING.md
   [X] If repo takes user contributions, is present
   [X] In root dir (not .github dir)
   [X] Explains relationship to Kivy, if unclear.
   [NA] Refers to kivy/kivy Contribution Guidelines.

* LICENSE
   [X] If repo takes user contributions, is present.
   [X] Acknowledges the range of years to 2023.
   [X] Acknowledges Kivy Team and other contributors
   [X] Mentions it is an MIT License.

* CODE_OF_CONDUCT.md
   [X] If repo takes user contributions or hosts discussions, is present.
   [NA] Refers to kivy/kivy CODE_OF_CONDUCT.md

* CONTACT.md
   [NA] Refers to kivy/kivy CONTACT.md

* FAQ.md
   [X] If repo is big enough for RST documentation, is present.

* README:
   [X] Is a Markdown file.
   [X] Describes the project.
   [X] Describes its place in the Kivy sibling projects.
   [X] If Documentation exists, mention it.
   [X] If CONTRIBUTING exists, mentions it.
   [X] If LICENSE exists, mentions it.
   [X] If CODE_OF_CONDUCT exists, mentions it.
   [X] Mentions kivy/kivy CONTACT.md
   [NA] Uses Python syntax colouring for embedded Python code.
   [] Uses badges to display current status, including:
        [X] Backers
		[X] Sponsors
		[X] GitHub contributors
		[X] Contributor Covenant
		[X] PyPI Version
		[X] PyPI Python Version
		[X] Build/Test status

   [X] Displays all contributors to the repo.
   [X] Displays backers
   [X] Displays top sponsors.

* RST documentation, if present
   [X] Describes the project.
   [???] Describes its place in the Kivy sibling projects.
   [X] Mentions (Kivy/Kivy) Contact Us link.
   [X] Mentions LICENSE.
   [X] Mentions CONTRIBUTING
   [X] Mentions FAQ
   [X] conf.py mentioned Kivy Team and other contributors
		- copyright, latex_documents, man_pages, texinfo documents

* WORKFLOWS
   [X] NO_RESPONSE.yml is present if the repo has awaiting_reply tag.
   [X] NO_RESPONSE uses latest script versions.
   [X] NO_RESPONSE runs every day, and skips if forked.
   [X] SUPPORT.yml is present if the repo has a `support` tag.
   [X] SUPPORT.yml refers to repo's CONTACT.md

* setup.py/cfg, if present and on PyPI
   [X] Supplies description to PyPI
   [X] Supplies Python versions to PyPI
   [X] Supplies Documentation, if any, to PyPI

* Review comment
2023-12-17 10:42:49 +01:00
Mirko Galimberti 3d045cd6ab
Add support for Python 3.12 (tests, wheels) (#8393) 2023-12-08 15:13:52 +01:00
Julian 9c8528df2e
Update Contribution Guidelines, add `FAQ`, `CONTACT` and `CONTRIBUTING` as separate documents, fix links (#8448)
* Add FAQ as separate document. Removed from RST docs.

Future work:

* Add references to contact us.

* Substantial Rewrite of Contributing Guidelines

* Updated with review comments.

* Avoid duplicating contribution instructions

Reference the contribution guidelines online rather than repeating them.
Make language more consistent with other sources.

* Reshuffle contents based on review comments.

* Move contributing to root dir, populate it with contents of contribute.rst and contribute-unittest.rst
* Delete contribute.rst and contribute-unittest.rst
* Delete the defunct Google Summers of Code
*Add CONTACT.md, populating it from CONTACT.rst.
* Reference new CONTACT.md from Index.
* Fix broken links, ToC.
* Fix another link.
* Bring in changes to README and setup.py from #8450.
* Include OpenGL reference
* Mention all the sponsors.

* Wrong README file was modified - try again

* Updated a bunch of http -> https

Not every single instance, but made a major dent.
Only instances where https worked (inclem.net, I am looking at you.)

* Update CODE_OF_CONDUCT.md to be the most modern version

* Update with review comments

* Correct link

* Add stubs for GitHub-hosted pages

* Fix links

RST broken by line feed.
Inline link.
2023-11-23 18:31:19 +01:00
Julian 937e965d1e
Update support-requests action (#8453)
New features include: Close as Unplanned and fewer warnings.

Trying on kivy/kivy before pushing out to others projects.
2023-11-16 18:45:45 +01:00
Julian 56fefd0c4b
Slow down no-response bot (#8443)
Fourteen days isn't very long to respond to a request for more information, especially given it may come in weeks, months or years after the original request.

Vacations last longer than time. Development crunches last longer than that.

Let's give them 6 weeks before the bot gets upset.

[I am preparing to share this script across Kivy projects.]
2023-11-09 15:50:39 +01:00
Mirko Galimberti 533a95fafa
Add `balenalib/raspberrypi3-debian-python:3.11-bookworm` to rpi builds for newer RPi OS (#8428)
* Add python:3.11-bookworm to rpi builds

* Update patchelf to 0.18.0

* Do not unpack directly to /

* Use the proper manylinux target platform for bookworm

* Test back 0.17.2

* Updated docs to reflect bookworm support addition
2023-11-05 09:30:48 +01:00
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 f3311256cf
Inlcude doc in PR checklist (#7195)
* Add doc item to checklist.

* Update PULL_REQUEST_TEMPLATE.md
2020-11-01 16:23:16 -05:00
matham 5b078d33f8
Add a PR checklist to help with release notes/chores. 2020-11-01 14:26:18 -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 032d0e9801
Remove mcnotify integration
It doesn't currently work anyway I believe.
2020-09-29 16:52:23 -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