From 627537b291a0cbc0df6d0577c66dfe18dc6880d3 Mon Sep 17 00:00:00 2001 From: Aaron Fabbri Date: Tue, 8 Oct 2024 03:43:05 +0000 Subject: [PATCH] package: reduce min python version to 3.9 --- interface_gen/README.md | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface_gen/README.md b/interface_gen/README.md index 7959ae6..0f4c8d2 100644 --- a/interface_gen/README.md +++ b/interface_gen/README.md @@ -8,7 +8,7 @@ and [avrotize](https://github.com/clemensv/avrotize). ## Installation -This folder requires Python version 3.10 or later*. You'll need to install +This folder requires Python version 3.9 or later*. You'll need to install dependencies before running the scripts here. We recommend installing these in the local folder using a python virtual environment (venv), to avoid changing your system's global python packages: @@ -22,8 +22,8 @@ python -m pip intstall -r requirements.txt # install dependencies, e.g. avr To exit the virtualenv, simply run the command `deactivate` from your shell. -\* Note: The requirement for python >= 3.10 can be relaxed if it causes -trouble. We just need to change type annotation syntax a bit. +\* Note: The requirement for python >= 3.9 can be relaxed if you're willing to +test and debug any issues. \* ## Generating Schemas & Code, Running Tests diff --git a/pyproject.toml b/pyproject.toml index 0781a0e..48c8cb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.0.20" authors = [{ name = "Aaron Fabbri", email = "aaron.fabbri@ditto.live" }] description = "Define data format schemas once and generate code for multiple languages and serialization frameworks." readme = "dist-readme.md" -requires-python = ">=3.10" +requires-python = ">=3.9" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3",