Skip to content
Open
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Python wrapper is based on a gRPC client communicating with the gRPC server

## Important Notes

- Python 3.7+ is required (because the wrapper is based on [asyncio](https://docs.python.org/3.7/library/asyncio.html)).
- Python 3.9+ is required (the wrapper is based on [asyncio](https://docs.python.org/3/library/asyncio.html), and its `grpcio`/`protobuf` dependencies need 3.9+).
- You may need to run `pip3` instead of `pip` and `python3` instead of `python`, depending of your system defaults.
- Auterion used to have a [Getting started with MAVSDK-Python (web.archive.org)](https://web.archive.org/web/20201211155626/https://auterion.com/getting-started-with-mavsdk-python/) guide if you're a beginner and not sure where to start.

Expand Down
6 changes: 1 addition & 5 deletions mavsdk/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,7 @@ def _start_mavsdk_server(system_address, port, sysid, compid):
import os
import subprocess
import sys

if sys.version_info >= (3, 7):
from importlib.resources import path
else:
from importlib_resources import path
from importlib.resources import path

try:
if sys.platform.startswith("win"):
Expand Down
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,20 @@ def version():
url="https://github.com/mavlink/MAVSDK-Python",
maintainer="Jonas Vautherin, Julian Oes",
maintainer_email="dev@jonas.vautherin.ch, julian@oes.ch",
python_requires=">=3.7",
python_requires=">=3.9",
include_package_data=True,
cmdclass={"build": custom_build},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
packages=remapped_packages(),
package_dir={IMPORT_NAME: SOURCE_PACKAGE},
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37, 36}
envlist = py{39, 310, 311, 312, 313}

[testenv]
deps =
Expand Down
Loading