From 0266d1f6d54e6b29bfedc38cc6884428120d6d88 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 28 Mar 2024 14:07:24 +0800 Subject: [PATCH 1/3] Add March 2024 status update. --- .../buzz/march-2024-status-update/contents.lr | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 content/news/buzz/march-2024-status-update/contents.lr diff --git a/content/news/buzz/march-2024-status-update/contents.lr b/content/news/buzz/march-2024-status-update/contents.lr new file mode 100644 index 0000000000..ac365bab23 --- /dev/null +++ b/content/news/buzz/march-2024-status-update/contents.lr @@ -0,0 +1,69 @@ +title: March 2024 Status Update +--- +author: Russell Keith-Magee +--- +body: + +This month, we have less to report by raw feature count - but the changes we *have* made represent extremely significant progress. + +What we've done +---------------- + +* Our primary focus this month has been making the changes to CPython needed to add support for `iOS `__ and `Android `__. We've made major progress towards this goal: all the patches required for iOS have been either merged, or have undergone significant review from the CPython core team; a large number of patches have been submitted for Android, with only a small number still required. This month, we have: + + - `Added test exclusions to support running the test suite on Android `__ + - `Fixed some issues with the process of building an Android libPython `__ + - `Modified sys.platform identification for Android so it returns "android" not "linux" `__ + - `Modified ctypes so it can load libraries on Android `__ + - `Modified a signals test to make it more reliable on more platforms `__ + - `Added a build script and instructions for Android builds `__ + - `Added a custom module loader so that iOS apps can load binary modules from Frameworks `__ + - `Modified test_doctest to support platforms that don't support subprocesses `__ + - `Modified the standard library to support iOS `__ + - `Added documentation for the iOS platform `__ + - `Corrected some additional test failures introduced on Android `__ + +* `PEP 738 `__, adding official Android support to CPython, has been formally approved by the Python Steering Council. + +* We `updated the CPython Developer Guide to describe the iOS development process `__. + +* We `improved Briefcase's handling of stdout for some tools `__. We're hoping this will fix - or at least make it easier to diagnose - a mode of failure we've had reported for the Android emulator on Windows. + +* We added `color to Android's log output `__. + +* We `corrected the handling of key shortcuts on Window and GTK `__, adding a lot of key combinations that weren't previously possible to represent. + +* We `restructured the Toga documentation landing page `__, making it easier to find the documentation you're likely to need. + +* We landed the `MapView widget `__, and have completed most of the work on a new `Geolocation service `__. + +What's next? +-------------- + +In April, we're hoping to wrap up the work on iOS and Android patches for CPython, and add buildbots for those platforms. With the buildbots in place, iOS and Android will officially be Tier 3 supported CPython platforms. We also plan to revisiting the BeeWare tutorial, adding some more steps in preparation for a `tutorial presentation at PyCon US `__ in May. If you're coming to Pittsburgh and you'd like to attend that tutorial session, `ticket sales are open! `__ + +Want to get involved? +----------------------- + +Want to get involved? Here are some open issues that would be a great place to get started with contributing to a BeeWare project. They're all relatively minor changes, but would provide a big improvement to the lives of BeeWare users: + +1. `Update the Toga testbed test suite to use Pixel 7 Pro device sizes `__ +2. `Filter out a message generated after Xcode updates `__ +3. `Add the ability to configure the ABIs built by an Android project `__ +4. `Rationalise the application of adhoc signing on macOS `__ +5. `Add support for custom PyPI repositories `__ +6. `Document how to debug an application in popular IDEs `__ +7. `Correctly handle incomplete project deletions `__ +8. `Add an option to select the Android base image when creating new emulators `__ +9. `Print notarisation log failures when building macOS apps `__ +10. `Add an API to replace a child of a widget `__ +11. `Add an API to entirely replace the style of a widget `__ +12. `Add the ability to define content when creating a window `__ + +Pick one of these tickets, drop a comment on the ticket to let others know you're looking at it, and try your hand at a PR! We have a `guide on setting up a Briefcase development environment `__; but if you need any additional assistance or guidance, you can ask on the ticket, or join us on the `BeeWare Discord server `__. + + +--- +mastodon_handle: @freakboy3742@cloudisland.nz +--- +pub_date: 2024-04-02 From b2e31bfcf13d48095f41720000200a9d2fc4193e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 28 Mar 2024 16:27:06 +0800 Subject: [PATCH 2/3] Patches have all been merged. --- content/news/buzz/march-2024-status-update/contents.lr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/news/buzz/march-2024-status-update/contents.lr b/content/news/buzz/march-2024-status-update/contents.lr index ac365bab23..b241b0d8c1 100644 --- a/content/news/buzz/march-2024-status-update/contents.lr +++ b/content/news/buzz/march-2024-status-update/contents.lr @@ -9,7 +9,7 @@ This month, we have less to report by raw feature count - but the changes we *ha What we've done ---------------- -* Our primary focus this month has been making the changes to CPython needed to add support for `iOS `__ and `Android `__. We've made major progress towards this goal: all the patches required for iOS have been either merged, or have undergone significant review from the CPython core team; a large number of patches have been submitted for Android, with only a small number still required. This month, we have: +* Our primary focus this month has been making the changes to CPython needed to add support for `iOS `__ and `Android `__. We've made major progress towards this goal: all the patches required for iOS have been merged; a large number of patches have been submitted for Android, with only a small number still required. This month, we have: - `Added test exclusions to support running the test suite on Android `__ - `Fixed some issues with the process of building an Android libPython `__ From faa59ab7f80b1ab4368a3ac83b038b23785e184b Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 29 Mar 2024 08:41:07 +0800 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Malcolm Smith --- content/news/buzz/march-2024-status-update/contents.lr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/news/buzz/march-2024-status-update/contents.lr b/content/news/buzz/march-2024-status-update/contents.lr index b241b0d8c1..ec28d64bce 100644 --- a/content/news/buzz/march-2024-status-update/contents.lr +++ b/content/news/buzz/march-2024-status-update/contents.lr @@ -14,6 +14,7 @@ What we've done - `Added test exclusions to support running the test suite on Android `__ - `Fixed some issues with the process of building an Android libPython `__ - `Modified sys.platform identification for Android so it returns "android" not "linux" `__ + - `Added an API to get device and OS information on Android `__ - `Modified ctypes so it can load libraries on Android `__ - `Modified a signals test to make it more reliable on more platforms `__ - `Added a build script and instructions for Android builds `__ @@ -40,7 +41,7 @@ What we've done What's next? -------------- -In April, we're hoping to wrap up the work on iOS and Android patches for CPython, and add buildbots for those platforms. With the buildbots in place, iOS and Android will officially be Tier 3 supported CPython platforms. We also plan to revisiting the BeeWare tutorial, adding some more steps in preparation for a `tutorial presentation at PyCon US `__ in May. If you're coming to Pittsburgh and you'd like to attend that tutorial session, `ticket sales are open! `__ +In April, we're hoping to wrap up the work on iOS and Android patches for CPython, and add buildbots for those platforms. With the buildbots in place, iOS and Android will officially be Tier 3 supported CPython platforms. We also plan to revisit the BeeWare tutorial, adding some more steps in preparation for a `tutorial presentation at PyCon US `__ in May. If you're coming to Pittsburgh and you'd like to attend that tutorial session, `ticket sales are open! `__ Want to get involved? -----------------------