Craig Macdonald
a2c799fe68
Refresh installation and build docs ( #700 )
...
* documentation changes for #695
* addressing review comments, and a clarification in packaging
* Update docs/source/installation.rst
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
* addressing feedback
* fix Java location
* much simplified building instructions
* addressed comments
---------
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
2023-11-24 18:27:22 +01:00
Julian
063d97a7ff
Create `no-response.yml` ( #697 )
...
Support the no-response bot.
Direct copy of the kivy/kivy one.
2023-11-10 08:38:16 +01:00
Mirko Galimberti
3c7acc8c9f
Update CHANGELOG and version for release `1.6.1` ( #694 )
2023-11-05 16:37:43 +01:00
Mirko Galimberti
a19f8ca59b
Use the `release/v1` tag for `pypa/gh-action-pypi-publish`, as `master` is deprecated ( #693 )
2023-11-05 12:19:30 +01:00
Mirko Galimberti
e0f52ba87b
Skip getting version from Cython on Android. Instead add ANDROID_PYJNIUS_CYTHON_3 env var ( #692 )
2023-11-03 18:44:04 +01:00
baseplate-admin
f746f1339c
Cleanup some Java code in `NativeInvocationHandler.java` ( #691 )
2023-10-29 16:01:47 +01:00
Mirko Galimberti
c144e968cd
Add (now mandatory) `.readthedocs.yaml` file, add docs `requirements.txt` and update sphinx conf ( #684 )
2023-10-10 08:50:53 +02:00
Mirko Galimberti
1d73253ac9
Update CHANGELOG for release 1.6.0 (additional) ( #683 )
...
* Update CHANGELOG
* Update CHANGELOG for release 1.6.0
2023-10-07 13:42:20 +02:00
Mirko Galimberti
d929be0822
Build stdist needs Cython to perform the build ( #682 )
2023-10-07 12:17:44 +02:00
Mirko Galimberti
362935395d
Update CHANGELOG and version for release `1.6.0` ( #671 )
...
* Update CHANGELOG and version for release 1.6.0
* Update CHANGELOG
* Updated CHANGELOG
2023-10-07 10:24:40 +02:00
Mirko Galimberti
b23ba5418a
Add missing support label for Python 3.12 ( #681 )
2023-10-05 20:31:01 +02:00
Mirko Galimberti
a0557896e8
Update cibuildwheel to perform build for Python 3.12 ( #680 )
2023-10-05 18:38:57 +02:00
Mirko Galimberti
a32cb83071
Add tests on push for Apple Silicon ( #679 )
2023-10-04 22:32:05 +02:00
Mirko Galimberti
909f93e3e0
Now Github Actions provides python3 via setup-python also for Apple Silicon Macs ( #677 )
...
* Now Github Actions provides python3 via setup-python also for Apple Silicon macs
* Python 3.8 and 3.9 are not available for Apple Silicon
2023-10-04 20:17:52 +02:00
Craig Macdonald
5a69e60705
Add tests for python 3.12 ( #678 )
2023-10-04 18:46:34 +02:00
Mirko Galimberti
34bc85b4af
Ensure we test the produced wheel, and not the one from the index ( #676 )
2023-10-01 18:29:21 +02:00
Craig Macdonald
d3525a34bb
Remove pkg_resources for Python >=3.9 ( #673 )
...
* WIP: addresses pkg_resources deprecation
* more fixes
* attempt for py3.9
* paths to strings
* One path not many
* Update jnius_config.py - use path obj
* Be verbose during testing
* Print for baseline too
* Remove prints
* drop unused import
* revert pytest change
* address review feedback
2023-10-01 15:23:04 +02:00
Craig Macdonald
9ef610cfc3
Support Java 20, remove Java 7 support ( #672 )
...
* adding java 20 to build matrix
* change to zulu which has JDK20 available
* building class files for version 8 is the oldest now supported by JDJ > 17
* upgrade setup.py to java 8 too
* Exclude Java 20 for windows
* Switch back to temurin and skip windows-latest x86 java 20
---------
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
2023-09-23 18:01:27 +02:00
Craig Macdonald
fd748e5db4
Support both Cython >3 and Cython < 3 ( #669 )
...
* Remove .pxi include files from setup.py
* show pip list
* dont allow cython 3
* Revert "show pip list"
This reverts commit b3f88b0443
.
* separate FILES into PYX_FILES and PXI_FILES
* testing for cython 3
* fixes __cls_storage in Cython 3
* detect Cython 3 at compile time, compile appropriately
* force cython version using sed. expected to fail on windows.
* i think this will work on the Windows sed on GHA
* cleanup __cls_storage name consistently
* migrate to getattr() to make code more elegant
* fix GHA for macos by separating seds
* add actual extension!
* access all CLS_STORAGE through the cdef 'constant'
2023-09-16 13:57:15 +02:00
Craig Macdonald
c126762e36
introduce protocol_map for Map$Entry ( #659 )
2023-09-10 13:50:47 +02:00
Mirko Galimberti
7da449434e
Update CHANGELOG and version for release 1.5.0 ( #658 )
2023-05-13 09:20:18 +02:00
Mirko Galimberti
3bf3103a32
Add support for Python 3.11 ( #656 )
2023-05-09 21:08:03 +02:00
Mirko Galimberti
71b8582e7d
Add support request automation (as other kivy projects) ( #657 )
2023-05-09 21:07:28 +02:00
Mirko Galimberti
3b06a9ecf4
Build (and test) `manylinux-aarch64` wheels via our `kivy-ubuntu-arm64` self-hosted runner [build wheel] ( #653 )
...
* Build aarch64 wheels
Also, build and test x86 wheels in one step, similar to aarch64.
* Use kivy-ubuntu-arm64 for tests on Ubuntu aarch64
---------
Co-authored-by: Janakarajan Natarajan <janakan@amazon.com>
2023-05-08 18:57:45 +02:00
Mirko Galimberti
95381a2065
Linux x86 tests force as safe directory ( #655 )
2023-05-07 10:09:55 +02:00
Mirko Galimberti
aa46bdca11
Remove Python 3.6 from supported and test matrix, as it reached EOL ( #654 )
2023-05-07 09:41:12 +02:00
Mirko Galimberti
95527df23f
Initialize logger as a child of the Kivy's one ( #643 )
2022-11-26 16:49:24 +01:00
Mirko Galimberti
714f30e71a
Removes some Python2-era complexity ( #641 )
2022-11-20 16:51:10 +01:00
rdb
ee4e9c224c
Remove Python 2 support, six dependency ( #619 )
2022-10-16 14:56:56 +02:00
Tomasz 'CeDeROM' CEDRO
453b9b0ad6
Add BSD Unix build support (FreeBSD, OpenBSD, NetBSD, ..).
...
* Builds fine on FreeBSD.
* OpenBSD returns build errors on `build_ext()` call.
Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2022-07-27 01:53:48 +02:00
Mirko Galimberti
0421f01452
Update CHANGELOG ( #631 )
2022-07-03 13:50:03 +02:00
Mirko Galimberti
b3dbbe934c
Uses cibuildwheel for releases ( #625 )
2022-07-02 19:04:10 +02:00
Mirko Galimberti
0bc346395f
Cython now requires a minimum version. Introduces setup.cfg. Cleans up the CI workflow ( #629 )
2022-07-02 17:35:32 +02:00
Mirko Galimberti
7b0426adbf
Updated java-setup to v3, include all the LTS versions from adoptium during CI tests. ( #628 )
2022-06-18 23:45:12 +02:00
Mirko Galimberti
bcf4e28e17
Fixes for PyPy ( #627 )
2022-06-18 15:45:28 +02:00
Mirko Galimberti
57e3ea0240
Move get_cpu guessing into _possible_lib_location ( #626 )
2022-06-05 23:23:30 +02:00
Mirko Galimberti
fe46b03657
update CHANGELOG and version ( #624 )
2022-05-29 11:11:03 +02:00
Lucas Fernandes Oliveira
6699ec4187
add suffix to support IBM jre on Windows ( #622 )
...
Co-authored-by: Lucas Oliveira <lucasfeol94@@mgail.com>
2022-05-29 10:47:45 +02:00
hx2A
61b268d78d
Update api.rst ( #616 )
...
remove extra equals signs for #615
2022-05-29 10:18:09 +02:00
Mirko Galimberti
17d9d61c1b
When cross-compiling for Android, we should not use the include dirs exposed by the JDK ( #620 )
2022-05-29 09:49:55 +02:00
Gabriel Pettier
4f9bb54100
update CHANGELOG and version
2021-10-30 14:18:57 +02:00
Gabriel Pettier
1d98911f1e
add python3.10 to ci matrix
2021-10-30 11:05:48 +02:00
The Cheaterman
7781dc1cb0
Add aarch64 to MACHINE2CPU - get rid of the warning on ARM64
2021-09-04 20:35:18 +02:00
Cheaterman
362d9b99fd
Use platform.machine() as default get_cpu() return value
...
It's much more likely to be correct, eg on aarch64 in my case. :-)
2021-09-04 20:35:18 +02:00
Gabriel Pettier
f8bd8f64a4
1.4.0 release
2021-08-24 23:18:10 +02:00
Gabriel Pettier
c32bf9500d
cython is only a build requirement, not an install requirement
2021-08-24 23:17:46 +02:00
Gabriel Pettier
79c9f0a194
use full commit for release ation in workflows
2021-08-24 23:17:46 +02:00
Gabriel Pettier
8ce6f1e4e4
Update jnius_jvm_android to simplify patching for p4a
2021-08-23 01:31:08 +02:00
Gabriel Pettier
a002083f10
PEP8
2021-08-23 01:30:45 +02:00
Gabriel Pettier
fc714ea798
Update env.py for android building
...
- return [] in get_libraries as it's not needed on android
- update android library definition to minimize patching in python-for-android
2021-08-23 01:30:45 +02:00