* 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>
* fix(UrlRequest): Add "on_finish" and add alternative implementation
- Added "on_finish" callback to URlRequest, it fires always when the request is done
- Added alternative implementation for UrlRequest based on REQUESTS lib
- It have also implemented "on_finish" and "auth" params for easy BASICAUTH handling
- Refactored tests of new implementation to be mocked by RESPONSES, so we dont need real network to test nor we dont ping real servers during tests
- Made selectable implementations of URLlib and Requests.
- Urllib is still default implementation
- Refactored baseclass to be used with "plugins"
* fix docs and add "implementation" in config
- There was missing docs in some places
- Minor "unused variables" fixes
- Add "implementation" key to config.network
* 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>
Fix `setup.cfg` so that the resulting `METADATA` when generating
wheels contains correctly (not split) `Requires-Dist` entries.
Before:
Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; extra == 'angle'
Requires-Dist: sys-platform (=="win32") ; extra == 'angle'
After:
Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; (sys_platform == "win32") and extra == 'angle'
The same goes for gstreamer, angle, sdl2, and glew.
* Add pre-commit hooks for basic standards conformity checking
* These should not be marked as executable
* These lack shebangs so marking them executable did not do anyone any good
* add pre-commit to dev requirements
* use pre-commit framework for the hook
* Move the pre-commit config outside of root
As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059
* Document that pre-commit is used and how to skip checks if needed
* Mark the old hook script as deprecated
* Fix failing coverage
* Fix PEP8
* format was not applied to the first string.
* Enable branch coverage by default.
* Update setup.cfg
* Update setup.cfg