From 36916f71b42f622b3e87760045b2f191ded4aa8d Mon Sep 17 00:00:00 2001 From: wenzul Date: Wed, 1 Jan 2025 12:33:39 +0100 Subject: [PATCH] Change required python version to 3.10 (#297) --- README.md | 11 ++++++++--- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index beca07a..1a8e33b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Installation -The project requires Python 3.9 or newer. Currently there are no official packages or images published. +The project requires Python 3.10 or newer. Currently there are no official packages or images published. Following sections describe how to locally start the EOS server on `http://localhost:8503`. @@ -20,12 +20,14 @@ Following sections describe how to locally start the EOS server on `http://local Install dependencies in virtual environment: Linux: + ```bash python -m venv .venv .venv/bin/pip install -r requirements.txt ``` Windows: + ```bash python -m venv .venv .venv\Scripts\pip install -r requirements.txt @@ -34,13 +36,17 @@ python -m venv .venv Finally, start EOS fastapi server: Linux: + ```bash .venv/bin/fastapi run --port 8503 src/akkudoktoreos/server/fastapi_server.py ``` + Windows: + ``` .venv\Scripts\fastapi run --port 8503 src/akkudoktoreos/server/fastapi_server.py ``` + ### Docker ```bash @@ -92,7 +98,6 @@ Each class is designed to be easily customized and extended to integrate additio See the Swagger API documentation for detailed information: [EOS OpenAPI Spec](https://petstore3.swagger.io/?url=https://raw.githubusercontent.com/Akkudoktor-EOS/EOS/refs/heads/main/docs/akkudoktoreos/openapi.json) - ## Further resources - - [Installation guide (de)](https://meintechblog.de/2024/09/05/andreas-schmitz-joerg-installiert-mein-energieoptimierungssystem/) +- [Installation guide (de)](https://meintechblog.de/2024/09/05/andreas-schmitz-joerg-installiert-mein-energieoptimierungssystem/) diff --git a/pyproject.toml b/pyproject.toml index ae32262..9ec4d66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ authors = [ description = "This project provides a comprehensive solution for simulating and optimizing an energy system based on renewable energy sources. With a focus on photovoltaic (PV) systems, battery storage (batteries), load management (consumer requirements), heat pumps, electric vehicles, and consideration of electricity price data, this system enables forecasting and optimization of energy flow and costs over a specified period." readme = "README.md" license = {file = "LICENSE"} -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3",