Márcio Moreira
ff55af5a05
Updated installation.rst avoiding duplication
...
Updated Windows 10 installation instructions avoiding duplication
2020-06-05 21:32:33 -03:00
Márcio Moreira
a09beb0542
Update instalation.rst for Windows 10
2020-05-25 15:37:50 -03:00
Andre Miras
43214d4dd4
Merge pull request #1118 from AndreMiras/feature/linter_fixes
...
🗑️ Linter fixes and README.md update
2020-05-25 13:12:23 +02:00
Andre Miras
c0ccfda405
🗑️ Linter fixes and README.md update
...
Linter fixes:
- E123 closing bracket does not match indentation of opening bracket's line
- E125 continuation line with same indent as next logical line
- E231 missing whitespace after ','
- E265 block comment should start with '# '
- E302 expected 2 blank lines, found 1
- E305 expected 2 blank lines after class or function definition, found 1
- E731 do not assign a lambda expression, use a def
- F401 imported but unused
- F821 undefined name
- W605 invalid escape sequence
Also removes a Python 2 reference from the README.md
2020-05-20 22:37:37 +02:00
Andre Miras
4333b9c048
Merge pull request #1114 from AndreMiras/feature/python3_cleaning
...
🗑️ Removes Python 2 constructions
2020-05-18 23:35:53 +02:00
Andre Miras
10a2fb9848
🗑️ Removes Python 2 constructions
...
- Drops Python 2 imports
- Drops `if IS_PY3` constructions
- Drops `object` inheritance
- Drops `__future__` imports
- Drops `mocks` dependency
- Uses Python 3 `super()`
2020-05-18 23:09:51 +02:00
Andre Miras
ac6c339fe0
1.1.0 CHANGELOG.md
2020-05-18 22:37:15 +02:00
Andre Miras
9a9d591ec4
Merge pull request #1113 from AndreMiras/release/1.1.0
...
1.1.0
2020-05-18 22:32:36 +02:00
Andre Miras
a11f2b8b20
1.1.0
2020-05-18 22:14:52 +02:00
Andre Miras
bb5c0ccbde
Merge pull request #1106 from AndreMiras/feature/updates_install_dependencies
...
📚 Adds libssl-dev to the install dependencies
2020-05-18 20:57:27 +02:00
Gabriel Pettier
b677c8ed77
Merge pull request #1111 from kivy/tshirtman-patch-1
...
Update README.md
2020-05-18 00:04:12 +02:00
Gabriel Pettier
a69346af0a
Update README.md
2020-05-17 23:33:29 +02:00
Andre Miras
f700d80f79
Merge pull request #1107 from AndreMiras/feature/fix_docker_apt_caching
...
🐳 Fixes Docker apt cache missed
2020-05-17 13:54:14 +02:00
Andre Miras
008f494e11
🐳 Fixes Docker apt cache missed
...
Applies "cache busting" to avoid apt cache miss:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
The error was:
```
After this operation, 905 MB of additional disk space will be used.
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/file/libmagic-mgc_5.32-2ubuntu0.3_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/file/libmagic1_5.32-2ubuntu0.3_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/file/file_5.32-2ubuntu0.3_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.15.0-96.97_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcups2_2.2.7-1ubuntu2.7_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-common_2.4.45+dfsg-1ubuntu1.4_all.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.45+dfsg-1ubuntu1.4_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_11.1-1ubuntu7.5_amd64.deb 404 Not Found [IP: 91.189.88.142 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
2020-05-17 13:09:59 +02:00
Andre Miras
0ddf6e0909
Merge pull request #1105 from AndreMiras/feature/automate_pypi_release
...
💚 Automatically publish to PyPI upon tagging
2020-05-17 07:28:01 +02:00
Andre Miras
cf89c32042
📚 Adds libssl-dev to the install dependencies
...
Refs: https://github.com/kivy/python-for-android/pull/2205
2020-05-17 00:11:01 +02:00
Andre Miras
3d7f47e70b
💚 Automatically publish to PyPI upon tagging
...
New `pypi-release.yml` workflow for deploying to PyPI.
The scoped token is already setup in:
https://github.com/kivy/buildozer/settings/secrets
Also fixes `setup.py` classifier. The error was:
HTTPError: 400 Client Error: Invalid value for classifiers.
Error: Classifier 'Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8'
is not a valid classifier. for url: https://upload.pypi.org/legacy/
Tested by changing the version to an existing one and testing the upload:
```
Uploading distributions to https://upload.pypi.org/legacy/
Uploading buildozer-1.0-py3-none-any.whl
Uploading buildozer-1.0.tar.gz
HTTPError: 400 Client Error: File already exists.
See https://pypi.org/help/#file-name-reuse for url: https://upload.pypi.org/legacy/
```
https://github.com/AndreMiras/buildozer/runs/681413972
2020-05-16 22:02:24 +02:00
Andre Miras
1d707d9471
Merge pull request #1100 from AndreMiras/feature/full_integration_test
...
🚨 Build integration test
2020-05-16 15:31:09 +02:00
Andre Miras
446492f440
Merge pull request #1101 from hematogender/master
...
Fix punctuation and typo in README.md
2020-05-11 20:23:44 +02:00
hematogender
0eb99dd9f1
Fix punctuation and typo in README.md
2020-05-11 21:20:42 +03:00
Andre Miras
4141a20f99
🚨 Build integration test
...
Also fixes CHANGELOG.md descending PR order
2020-05-11 19:17:08 +02:00
Andre Miras
d8c4e917bd
Merge pull request #1082 from AndreMiras/feature/update_unreleased_changelog
...
Updates CHANGELOG.md with unreleased section
2020-05-11 18:28:15 +02:00
Andre Miras
49a3491220
Merge pull request #1099 from AndreMiras/feature/libssl_dependency
...
🐛 Fixes missing libssl-dev dependency
2020-05-11 18:22:07 +02:00
Andre Miras
5517322766
Merge pull request #1093 from AndreMiras/feature/integration_test_sdk_ndk_download
...
Checks SDK, NDK and p4a get downloaded on first run
2020-05-11 18:18:52 +02:00
Andre Miras
f2d31ccd32
🐛 Fixes missing libssl-dev dependency
...
This is required for the minimal build, closes #1096
Also drops Python 2 dependency.
Integration test will come after #1093 is merged
2020-05-11 18:17:50 +02:00
Andre Miras
8d2a9df928
Checks SDK, NDK and p4a get downloaded on first run
2020-05-09 10:05:35 +02:00
Andre Miras
f564e1b688
Merge pull request #1094 from AndreMiras/feature/python2_setup_message
...
Drops Python 2 support
2020-05-09 09:31:28 +02:00
Andre Miras
5f099a8650
Update CHANGELOG.md
...
Co-authored-by: Pol Canelles <canellestudi@gmail.com>
2020-05-09 09:22:49 +02:00
Andre Miras
20bfa24005
Drops Python 2 support
...
Makes sure the user is warned at install time if using Python 2.
2020-05-09 00:35:14 +02:00
Andre Miras
d0323c165d
Merge pull request #1083 from AndreMiras/feature/integration_test
...
Integration testing
2020-05-02 20:49:39 +02:00
Andre Miras
d74aef3dcd
Integration testing
...
Checks:
- buildozer installs
- buildozer --help
- buildozer init
Currently `buildozer android debug` is not ran as it's not yet fully reliable.
2020-05-02 20:41:49 +02:00
Andre Miras
5f80316cb0
Updates CHANGELOG.md with unreleased section
...
To make the future release less painful and to follow the motto:
if it hurts do it more
Also documented in:
https://keepachangelog.com/en/1.0.0/
2020-05-01 15:35:15 +02:00
Andre Miras
1f8c88fe7b
Merge pull request #1078 from AndreMiras/feature/test_on_macos
...
Also tests against macOS platform
2020-04-25 21:31:22 +02:00
Andre Miras
891e24b6f2
Also tests against macOS platform
...
Increases coverage from 28% to 30%.
2020-04-25 18:21:10 +02:00
Andre Miras
504efcc243
Merge pull request #1071 from lerela/1070_fix_python3_raw_input
...
Support for both input and raw_input in iOS target to avoid NameError with Python 3
2020-04-24 19:34:47 +02:00
lerela
cd11167067
Encode password before it is saved to file as Python 3 input returns a string, not bytes
2020-04-16 19:11:13 +02:00
lerela
d3fd1ad9e3
Support for both input and raw_input in iOS target to avoid NameError with Python 3 ( fixes #1070 )
2020-04-16 17:24:35 +02:00
Andre Miras
b566125f71
Merge pull request #1069 from AndreMiras/feature/test_android_build_package
...
Unit tests TargetAndroid.build_package()
2020-04-13 21:30:19 +02:00
Andre Miras
757941aabb
Unit tests TargetAndroid.build_package()
...
Increases android.py coverage from 24% to 36% and total coverage from
25% to 29%.
Note that this tests would have caught the glob issue reported in #1044 .
2020-04-13 21:27:13 +02:00
Andre Miras
35cce59e63
Merge pull request #1068 from AndreMiras/feature/dedicated_docker_job
...
Dedicated Docker build/run job
2020-04-13 19:44:35 +02:00
Andre Miras
d3361bbcfb
Merge pull request #1066 from AndreMiras/feature/linter_F841
...
F841: local variable is assigned to but never used
2020-04-13 19:21:44 +02:00
Andre Miras
ee34d7e95b
Dedicated Docker build/run job
...
Creates a dedicated job for Docker testing so it can run in parallel
with the other tests.
Prior this change the CI was running in 3 minutes, it now runs in 2.
2020-04-13 18:53:29 +02:00
Andre Miras
5f35e8b409
F841: local variable is assigned to but never used
2020-04-13 17:38:32 +02:00
Andre Miras
422f951931
Merge pull request #1063 from AndreMiras/feature/coveralls_from_pull_requests
...
Fixes coveralls.io on pull requests
2020-04-13 17:09:32 +02:00
Andre Miras
58774d8aac
Merge pull request #1065 from AndreMiras/feature/linting_organisation_and_fixes
...
Linting organisation and fixes
2020-04-13 17:03:09 +02:00
Andre Miras
6b03c54832
PEP8 fixes
...
- E129 visually indented line with same indent as next logical line
- E226 missing whitespace around arithmetic operator
- E241 multiple spaces after ','
- E262 inline comment should start with '# '
- E301 expected 1 blank line, found 0
- E303 too many blank lines
- E502 the backslash is redundant between bracket
- E741 ambiguous variable name
- W391 blank line at end of file
2020-04-13 14:26:27 +02:00
Andre Miras
ef63f13111
Organises linter errors and check tests/ directory
2020-04-13 14:20:58 +02:00
Andre Miras
3f1b44de6f
Fixes coveralls.io on pull requests
...
Coveralls.io now runs on pull requests as well.
The report is automatically uploaded on coveralls.io however it needs to
be accessed by copying the report URL to review it.
Next up would be to have it commenting on the pull request to see on
first sight if it increased or decreased.
Also made a couple of adjustment to the workflow file to clarify between
requirements building, Docker build/run and actual testing.
2020-04-11 01:51:04 +02:00
Andre Miras
556724f62d
Merge pull request #1061 from AndreMiras/feature/test_android_module
...
Starts unit testing buildozer/targets/android.py
2020-04-10 22:55:03 +02:00
Andre Miras
0c4116c469
Starts unit testing buildozer/targets/android.py
...
This is a best effort approach trying to increase the coverage of that
module. Therefore some tests are not completely isolating all
dependencies via `mock.patch`-ing.
Subsequent pull request could cover more methods and focus on edge case.
This increases the overall coverage from 20% to 25% and
`buildozer/targets/android.py` coverage from 15% to `24%`.
2020-04-10 21:12:52 +02:00