Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:

- name: Install prerequisites
run: |
python3 -m pip install -r requirements.txt -r requirements-dev.txt
python3 -m pip install -r requirements.txt
python3 -m pip install "setuptools<77" twine wheel

- name: Create wheel
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mavsdk-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ jobs:
if: steps.check.outputs.update == 'true'
uses: actions/setup-python@v7
with:
python-version: 3.x
# The pinned grpcio-tools in requirements-dev.txt has no wheels for newer Python.
python-version: '3.13'

- name: Update and regenerate
if: steps.check.outputs.update == 'true'
Expand Down
14 changes: 11 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
grpcio-tools>=1.40.0
protoc-gen-mavsdk~=2.0
ruff>=0.12.12
# Versions used to generate the bindings in mavsdk/. They are pinned so that
# regenerating (manually or by the mavsdk-update workflow) doesn't produce
# unrelated churn.
#
# grpcio-tools 1.75.0 generates code for protobuf 6.31.1 and grpcio 1.75.0,
# which then works with any newer protobuf/grpcio at runtime. Upgrading it
# raises the minimum runtime versions, so bump requirements.txt accordingly.
# It has wheels up to Python 3.13.
grpcio-tools==1.75.0
protoc-gen-mavsdk==2.1.0
ruff==0.17.6
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protobuf>=6.32.1
grpcio>=1.64.1
grpcio>=1.75.0
Loading