From 312804c4163d8cc83444e1a013a3f6ea2dfe1554 Mon Sep 17 00:00:00 2001 From: Tove Rumar Date: Mon, 16 Sep 2024 11:32:10 +0200 Subject: [PATCH 1/3] Bump supported python versions Deprecate 3.7 since we dont even test it and its ancient. Add 3.12 since its now supported on all OSs --- docs/installation/install.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/installation/install.md b/docs/installation/install.md index 778b75b8..0029b638 100644 --- a/docs/installation/install.md +++ b/docs/installation/install.md @@ -5,9 +5,8 @@ page_id: install ## Requirements -This project requires Python 3.7 - 3.11. +This project requires Python 3.8 - 3.12. -> Python 3.12 is not supported as it has issues with missing packages (see [this ticket](https://github.com/bitcraze/crazyflie-lib-python/issues/425)) See below sections for more platform-specific requirements. ## Install from Source From 42f4bf10465b072d98679064c650d9ba88ed0ea2 Mon Sep 17 00:00:00 2001 From: Tove Rumar Date: Mon, 16 Sep 2024 11:41:00 +0200 Subject: [PATCH 2/3] Update documentation for how to run python 3.12 on macOs --- docs/installation/install.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/installation/install.md b/docs/installation/install.md index 0029b638..3fcc5381 100644 --- a/docs/installation/install.md +++ b/docs/installation/install.md @@ -77,3 +77,15 @@ With linux, the crazyradio is easily recognized, but you have to setup UDEVpermi ### Windows Look at the [Zadig crazyradio instructions](https://www.bitcraze.io/documentation/repository/crazyradio-firmware/master/building/usbwindows/) to install crazyradio on Windows + +### macOs +If you are using python 3.12 on mac you need to install libusb using homebrew. +``` +$ brew install libusb +``` + +If your Homebrew installation is in a non default location or if you want to install libusb in some other way you +might need to link the libusb library like this; +``` +$ export DYLD_LIBRARY_PATH="YOUR_HOMEBREW_PATH/lib:$DYLD_LIBRARY_PATH" +``` From 7c6676749ed607d4a66b3b84ce48a8378e98e99f Mon Sep 17 00:00:00 2001 From: Rik <49898887+gemenerik@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:41:24 +0200 Subject: [PATCH 3/3] Update install.md --- docs/installation/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/install.md b/docs/installation/install.md index 3fcc5381..d75d4c6a 100644 --- a/docs/installation/install.md +++ b/docs/installation/install.md @@ -78,7 +78,7 @@ With linux, the crazyradio is easily recognized, but you have to setup UDEVpermi Look at the [Zadig crazyradio instructions](https://www.bitcraze.io/documentation/repository/crazyradio-firmware/master/building/usbwindows/) to install crazyradio on Windows -### macOs +### macOS If you are using python 3.12 on mac you need to install libusb using homebrew. ``` $ brew install libusb