Commit Graph

45 Commits

Author SHA1 Message Date
Mirko Galimberti ca1b918c65
Add support for `Cython==3.x.x` and increase `cython_min` version (#8326)
* Add support Cython==3.x.x and increase cython_min_version

* Migrate gstplayer
2023-08-26 10:00:20 +02:00
Mirko Galimberti 5585b2410b
Pin `Pillow` version to `9.5.0` (#8310) 2023-07-02 19:02:52 +02:00
Mirko Galimberti 9d7df3f105
Ensures that jQuery is always installed (on newer sphinx versions is not the default) (#8251) 2023-05-20 16:22:47 +02:00
Mirko Galimberti 95cfefb260 Sphinx 7.0.0 is incompatible, use <=6.2.1 for now 2023-05-03 23:01:35 +05:30
Mirko Galimberti 75dbb247be
Bump cython_max version to 0.29.33 (#8178) 2023-03-19 11:48:38 +01:00
Mirko Galimberti 619c7f3216
Update Python supported versions (#8179) 2023-03-19 11:47:34 +01:00
Mirko Galimberti a8a036ba33
Bump Windows dependencies via kivy_deps packages (#8176) 2023-03-19 10:38:28 +01:00
Christian Clauss 5c5cb51351
Remove remaining nosetest settings in favor of pytest (#8129) 2023-02-14 20:59:11 +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 d9e0b4c72e
Bump kivy_deps.sdl2 and kivy_deps.sdl2_dev to 0.5.0 (#8004) 2022-09-10 19:00:13 +02:00
NomadDemon 4841427812
fix(UrlRequest): Add "on_finish" and add alternative implementation (#7913)
* 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
2022-08-23 01:07:59 +02:00
Mirko Galimberti bb5a857242
Fixes some E275 - assert is a keyword. + other minor PEP8 fixes (#7943)
* Fixes some E275 - assert is a keyword

* Fix E501
2022-08-12 18:25:37 +02:00
Matthew Einhorn 856bde968d
Bump cython and kivy_deps versions to latest. 2022-02-25 19:47:48 -05:00
Mirko Galimberti 8451d298c1
PyInstaller develop version isn't needed anymore (#7781) 2022-01-31 23:14:27 +01:00
Mirko Galimberti 1029f2ad9d Removed Python3.6 from the supported ones, it reached EOL 2022-01-22 16:04:20 +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
matham ed68be56e4
Merge pull request #7362 from pwoolvett/fix/invalid-extras-metadata
Build: No oneliners in [options.extras_require]
2021-02-02 15:08:12 -05:00
Pablo Woolvett 15c3890bd8 build: No oneliners in [options.extras_require]
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.
2021-02-02 16:37:10 -03: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 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
Eero af Heurlin df5b2c16d5
Add pre-commit.com framework hooks (#7176)
* 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
2020-12-09 22:48:48 -05:00
Matthew Einhorn 1e03ffd3a7 Re-write install docs. 2020-11-28 03:36:39 -05:00
matham 850dbb6605
Expand dependency selection varaibles (#7178)
* Expand dependency options.

* Is equal instead of in.
2020-10-24 14:09:01 -04:00
Matthew Einhorn 0d3bc288f6 Bump cython to 0.29.21. 2020-10-14 17:41:41 -04:00
Matthew Einhorn 4777dcc763 Add support for Python 3.9. 2020-10-06 19:04:40 -04:00
matham 5bab4849c4
No need for quotes in setup file. 2020-09-27 13:26:58 -04:00
Akshay Arora b407ae4bdb
require python version >=3.6
supplement pr to #7110
2020-09-27 22:19:23 +05:30
matham f8ab7229c3
Add min basic dependencies to install requirements. 2020-09-14 17:43:30 -04:00
matham 6d09e3dc61
Update to latest cython version. (#6891) 2020-05-24 04:28:47 -04:00
matham bb1e8b28e5
Fix failing coverage (#6892)
* Fix failing coverage

* Fix PEP8

* format was not applied to the first string.

* Enable branch coverage by default.

* Update setup.cfg

* Update setup.cfg
2020-05-24 03:58:38 -04:00
matham 69338d7e41
Fix failing tests (#6845) 2020-04-29 00:05:32 -04:00
Matthew Einhorn 6607506953 Move flake8 config to setup.cfg, be more error spcific. 2020-01-05 02:36:21 -05:00
Matthew Einhorn 0b6b8930e6 Switch to flake8 and fix PEP8 issues. 2020-01-03 17:17:09 -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 04aa073e2a Specify kivy_deps versions more precisely. 2019-12-28 00:01:04 -05:00
matham 9e3b1b121d
Add docutils and pygments. 2019-12-20 16:06:54 -05:00
Matthew Einhorn 69e72d98d4 Switch to using pyproject.toml and setup.cfg for metadata. 2019-12-08 20:03:44 -05:00
matham c52dc5d8cb
Bump max cython version. 2019-11-02 15:00:50 -04:00
Matthew Einhorn 4786f5e69f Add preliminary support for coverage for kv files. 2019-07-19 19:00:52 -04:00
Matthew Einhorn 45b016ca28 Move cython version to setup.cfg. 2019-06-02 22:48:20 -04:00
Mathieu Virbel ac9dbb7db6 reduce logging level for nosetests 2017-12-30 23:49:44 +01:00
Mathieu Virbel 508eec3a94 remove inclusive cover, or nosetest will failed. 2011-01-21 00:06:02 +01:00
Mathieu Virbel 5af852fb6b activate nosetests + reactivate coverage (ready for buildbot !) 2011-01-21 00:02:29 +01:00
Mathieu Virbel 32a053457a setup: use setuptool instead of distutils (now, nose work.) 2011-01-20 18:17:29 +01:00
Mathieu Virbel bc28d6b825 graphics: first pass to split graphics 2010-11-05 12:55:22 -04:00