Commit e155baf
Merge pull request #2891 from misl6/release-2023.09.16
* Update `cffi` recipe for Python 3.10 (#2800)
* Update __init__.py
version bump to 1.15.1
* Update disable-pkg-config.patch
adjust patch for 1.15.1
* Use build rather than pep517 for building (#2784)
pep517 has been renamed to pyproject-hooks, and as a consequence all of
the deprecated functionality has been removed. build now provides the
functionality required, and since we are only interested in the
metadata, we can leverage a helper function for that. I've also removed
all of the subprocess machinery for calling the wrapping function, since
it appears to not be as noisy as pep517.
* Bump actions/setup-python and actions/checkout versions, as old ones are deprecated (#2827)
* Removes `mysqldb` recipe as does not support Python 3 (#2828)
* Removes `Babel` recipe as it's not needed anymore. (#2826)
* Remove dateutil recipe, as it's not needed anymore (#2829)
* Optimize CI runs, by avoiding unnecessary rebuilds (#2833)
* Remove `pytz` recipe, as it's not needed anymore (#2830)
* `freetype` recipe: Changed the url to use https as http doesn't work (#2846)
* Fix `vlc` recipe build (#2841)
* Correct sys_platform (#2852)
On Window, sys.platform = "win32".
I think "nt" is a reference to os.name.
* Fix code string - quickstart.rst
* Bump `kivy` version to `2.2.1` (#2855)
* Use a pinned version of `Cython` for now, as most of the recipes are incompatible with `Cython==3.x.x` (#2862)
* Automatically generate required pre-requisites (#2858)
`get_required_prerequisites()` maintains a list of Prerequisites required by each platform.
But that same information is already stored in each Prerequisite class.
Rather than rather than maintaining two lists which might become inconsistent, auto-generate one.
* Use `platform.uname` instead of `os.uname` (#2857)
Advantages:
- Works cross platform, not just Unix.
- Is a namedtuple, so can use meaningful fieldnames.
Also snuck in correction to typo in Readme which doesn't warrant its own review.
* Fix simple typos in comments (#2863)
One typo I introduced while trying to fix the other.
* `build_platform` should be all-lowercase (#2864)
* Docs: Fix typos and improved README quickstart (#2860)
* Made p4a apk build command more general - readme
* Fix twice spelled - readme
* updated p4a build command
* Cleanup `patching.py` (#2868)
Major changes to comments, param names, function ordering.
Removed deprecated LooseVersion
Move os.uname to platform.uname
Added win32 check
Windows fix
* Update Python versions in CI tests
Python 3.11 was released October 2022.
Python 3.7 went end-of-life June 2023
* Update documentation to reflect Python 3.7 being end-of-life.
* Correct check for `--sdk` option (#2870)
* Factor out dependency checking. Use modern version handling (#2866)
LooseVersion used again
Handle bad SDK versions
* Linter fixes (#2874)
The errors were:
```
pythonforandroid/bootstrap.py:136:5: F811 redefinition of unused 'name' from line 73
pythonforandroid/build.py:111:5: F811 redefinition of unused 'libs_dir' from line 82
pythonforandroid/build.py:127:5: F811 redefinition of unused 'aars_dir' from line 83
pythonforandroid/graph.py:48:12: E721 do not compare types, for exact checks use `is`
pythonforandroid/graph.py:163:20: E721 do not compare types, for exact checks use `is`
tests/test_build.py:39:41: E231 missing whitespace after ','
tests/test_build.py:40:58: E231 missing whitespace after ','
tests/test_build.py:41:61: E231 missing whitespace after ','
tests/test_build.py:42:71: E231 missing whitespace after ','
```
* Remove deprecated FlatDir in Gradle template (#2876)
Based on lessons from https://stackoverflow.com/questions/68215302/using-flatdirs-should-be-avoided-because-it-doesnt-support-any-meta-data-format
* Standardise `ensure_dir` and `rmdir` (#2871)
* Standardise ensure_dir and rmdir
* Standardise ensure_dir and rmdir
* Add libmysqlclient to broken list
* Libtorrent failing to be rebuilt
* Add boost to broken recipes list
* Standardise on move (files, directories) (#2884)
* Add new util function (and tests) called `move`.
* Change references to sh.mv to use move (as it is faster and cross-platform).
* Change conditional "mv -t" to a for loop.
* Standardise on touch files (#2886)
Existing code shells out to run the `touch` Unix command.
This can be done faster (and cross-platform) with `pathlib`'s touch method.
* Created a utility to accept string paths or pathlib paths and applies touch.
* Created test for it.
* Update all instances to use it, and updated their tests.
* Update CHANGELOG.md and bump version to 2023.09.16
---------
Co-authored-by: HyTurtle <[email protected]>
Co-authored-by: Steve Kowalik <[email protected]>
Co-authored-by: Mathias Lindström <[email protected]>
Co-authored-by: Ansh Dadwal <[email protected]>
Co-authored-by: Julian <[email protected]>
Co-authored-by: Kulothungan U.G <[email protected]>
Co-authored-by: Andre Miras <[email protected]>File tree
61 files changed
+723
-805
lines changed- .github/workflows
- ci
- doc/source
- pythonforandroid
- bootstraps
- common/build
- templates
- sdl2
- service_only
- webview
- recipes
- babel
- cffi
- dateutil
- freetype
- ifaddrs
- kivy
- lapack
- libglob
- libmysqlclient
- libtorrent
- mysqldb
- opencv
- pandas
- protobuf_cpp
- pytz
- reportlab
- sqlite3
- twisted
- vlc
- zope_interface
- tests
- recipes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+723
-805
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | | - | |
97 | | - | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | | - | |
100 | | - | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
119 | | - | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
140 | | - | |
| 145 | + | |
141 | 146 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
253 | 152 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
277 | 157 | | |
278 | | - | |
279 | | - | |
| 158 | + | |
| 159 | + | |
280 | 160 | | |
281 | 161 | | |
282 | 162 | | |
| |||
289 | 169 | | |
290 | 170 | | |
291 | 171 | | |
292 | | - | |
293 | | - | |
| 172 | + | |
| 173 | + | |
294 | 174 | | |
295 | 175 | | |
296 | 176 | | |
| |||
325 | 205 | | |
326 | 206 | | |
327 | 207 | | |
328 | | - | |
329 | | - | |
| 208 | + | |
| 209 | + | |
330 | 210 | | |
331 | 211 | | |
332 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
3 | 63 | | |
4 | 64 | | |
5 | 65 | | |
| |||
0 commit comments