diff --git a/.github/workflows/python_sdk_test.yml b/.github/workflows/python_sdk_test.yml index 279a49ce0..d727ab12b 100644 --- a/.github/workflows/python_sdk_test.yml +++ b/.github/workflows/python_sdk_test.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - python-version: ['3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13', '3.14'] include: - os: ubuntu-latest path: ~/.cache/pip @@ -65,9 +65,9 @@ jobs: # Only test docs with latest Python on ubuntu since we need graphviz - name: Full linting only on ubuntu with latest python - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.14' working-directory: ./demos/python/sdk_wireless_camera_control/ - run: nox -p 3.13 -s format lint docstrings docs + run: nox -p 3.14 -s format lint docstrings docs - name: Archive test report on failure uses: actions/upload-artifact@v5 diff --git a/demos/python/sdk_wireless_camera_control/README.md b/demos/python/sdk_wireless_camera_control/README.md index badfe4cb6..dcd4ceb02 100644 --- a/demos/python/sdk_wireless_camera_control/README.md +++ b/demos/python/sdk_wireless_camera_control/README.md @@ -42,7 +42,7 @@ Complete documentation can be found on [Open GoPro](https://gopro.github.io/Ope ## Installation -> Note! This package requires Python >= 3.11 and < 3.14 and only supports GoPros that +> Note! This package requires Python >= 3.11 and < 3.15 and only supports GoPros that > [implement the OGP API](https://gopro.github.io/OpenGoPro/ble/#supported-cameras) The minimal install to use the Open GoPro library and the CLI demos is: diff --git a/demos/python/sdk_wireless_camera_control/docs/changelog.rst b/demos/python/sdk_wireless_camera_control/docs/changelog.rst index d2dc31bde..2fbf3b655 100644 --- a/demos/python/sdk_wireless_camera_control/docs/changelog.rst +++ b/demos/python/sdk_wireless_camera_control/docs/changelog.rst @@ -9,6 +9,10 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_, and this project adheres to `Semantic Versioning `_. +Unreleased +---------- +* Add Python 3.14 support + 0.23.0 (February-5-2026) ------------------------ * Add Support for Lit Hero diff --git a/demos/python/sdk_wireless_camera_control/docs/contributing.rst b/demos/python/sdk_wireless_camera_control/docs/contributing.rst index 4d2f68e14..c289a0c16 100644 --- a/demos/python/sdk_wireless_camera_control/docs/contributing.rst +++ b/demos/python/sdk_wireless_camera_control/docs/contributing.rst @@ -58,7 +58,7 @@ Ready to contribute? Here's how to set up Open GoPro for local development. Minimal Requirements ~~~~~~~~~~~~~~~~~~~~ -* Python (>= 3.10, < 3.13) +* Python (>= 3.11, < 3.15) * `Poetry `_ : Needed to install dependencies / development tasks Additional Optional Requirements: @@ -127,7 +127,7 @@ Before you submit a pull request, check that it meets these guidelines: $ poetry run poe docs #. Modify the ``CHANGELOG.rst``. -#. The pull request should work for Python 3.10 - 3.13 on the following platforms: +#. The pull request should work for Python 3.11 - 3.14 on the following platforms: - Windows 10, version 16299 (Fall Creators Update) and greater - Linux distributions with BlueZ >= 5.43 diff --git a/demos/python/sdk_wireless_camera_control/docs/index.rst b/demos/python/sdk_wireless_camera_control/docs/index.rst index a0cf655ce..7f9f05842 100644 --- a/demos/python/sdk_wireless_camera_control/docs/index.rst +++ b/demos/python/sdk_wireless_camera_control/docs/index.rst @@ -40,7 +40,7 @@ For more information on the API, see the relevant documentation: - `HTTP API `_ .. warning:: - This package requires Python >= version 3.11 and < 3.14 and only supports GoPros + This package requires Python >= version 3.11 and < 3.15 and only supports GoPros that `implement the OGP API `_ Features diff --git a/demos/python/sdk_wireless_camera_control/noxfile.py b/demos/python/sdk_wireless_camera_control/noxfile.py index 193fec522..305aeb568 100644 --- a/demos/python/sdk_wireless_camera_control/noxfile.py +++ b/demos/python/sdk_wireless_camera_control/noxfile.py @@ -13,6 +13,7 @@ "3.11", "3.12", "3.13", + "3.14", ] diff --git a/demos/python/sdk_wireless_camera_control/open_gopro/__init__.py b/demos/python/sdk_wireless_camera_control/open_gopro/__init__.py index 43369e6e8..d0b1e0e9d 100644 --- a/demos/python/sdk_wireless_camera_control/open_gopro/__init__.py +++ b/demos/python/sdk_wireless_camera_control/open_gopro/__init__.py @@ -9,8 +9,8 @@ # Validate python version # This is to make it painfully clear so that people hopefully stop trying invalid versions -if sys.version_info.major != 3 or not 11 <= sys.version_info.minor < 14: - raise RuntimeError("Python >= 3.11 and < 3.14 must be used") +if sys.version_info.major != 3 or not 11 <= sys.version_info.minor < 15: + raise RuntimeError("Python >= 3.11 and < 3.15 must be used") import logging diff --git a/demos/python/sdk_wireless_camera_control/poetry.lock b/demos/python/sdk_wireless_camera_control/poetry.lock index 22596100d..8c982a950 100644 --- a/demos/python/sdk_wireless_camera_control/poetry.lock +++ b/demos/python/sdk_wireless_camera_control/poetry.lock @@ -3189,5 +3189,5 @@ gui = ["Pillow", "opencv-python"] [metadata] lock-version = "2.1" -python-versions = ">=3.11,<3.14" -content-hash = "07331d3861224dbf9eb2c6e57647392d0040419ec0d779fcf13b788b7b6900cf" +python-versions = ">=3.11,<3.15" +content-hash = "0afe0da7bfd775c7cebf016999cdddac90b846a96a3275d7782ec565a66fc0fc" diff --git a/demos/python/sdk_wireless_camera_control/pyproject.toml b/demos/python/sdk_wireless_camera_control/pyproject.toml index 7c52d87d6..48ced5e14 100644 --- a/demos/python/sdk_wireless_camera_control/pyproject.toml +++ b/demos/python/sdk_wireless_camera_control/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [tool.poetry.scripts] @@ -39,7 +40,7 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.dependencies] -python = ">=3.11,<3.14" +python = ">=3.11,<3.15" bleak = "=2.1.1" construct = "^2" wrapt = "^2"