From: Jc2k Date: Tue, 21 Jan 2025 08:12:40 +0000 (+0000) Subject: chore: update ci versions to match docker, pyproject.toml, etc (#1899) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=bab2a9b4f48d31064a4cf86c2c65f6d37af395c7;p=music-assistant-server.git chore: update ci versions to match docker, pyproject.toml, etc (#1899) --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27f1213a..b85dfe94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.3.0 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | sudo apt-get update @@ -41,7 +41,7 @@ jobs: fail-fast: false matrix: python-version: - - "3.11" + - "3.12" steps: - name: Check out code from GitHub diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index ed277002..edb1c9e8 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -3,7 +3,7 @@ Developer docs ## 📝 Prerequisites * ffmpeg (minimum version 6.1, version 7 recommended), must be available in the path so install at OS level -* Python 3.11 is minimal required, 3.12 recommended (or check the pyproject for current required version) +* Python 3.12 is minimal required, 3.12 recommended (or check the pyproject for current required version) * [Python venv](https://docs.python.org/3/library/venv.html) We recommend developing on a (recent) MacOS or Linux machine. diff --git a/pyproject.toml b/pyproject.toml index 5e859d5b..8c5853d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ fix = true show-fixes = true line-length = 100 -target-version = "py311" +target-version = "py312" [tool.ruff.lint.pydocstyle] # Use Google-style docstrings.