diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index fd8d9b1..e09e516 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,8 +1,8 @@ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/python-3/.devcontainer/base.Dockerfile # [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6 -ARG VARIANT="3.11" -FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} +ARG VARIANT="3.12" +FROM mcr.microsoft.com/vscode/devcontainers/python:1-${VARIANT} # [Option] Install Node.js ARG INSTALL_NODE="true" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5f9ab7c..1fa0ab5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ "dockerfile": "Dockerfile", "context": "..", "args": { - "VARIANT": "3.11", + "VARIANT": "3.12", "INSTALL_NODE": "true", "NODE_VERSION": "lts/*" } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09e011a..a164466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - uses: pre-commit/action@v3.0.1 # Make sure commit messages follow the conventional commits convention: @@ -40,7 +40,6 @@ jobs: fail-fast: false matrix: python-version: - - "3.11" - "3.12" - "3.13" os: @@ -85,14 +84,14 @@ jobs: # Do a dry run of PSR - name: Test release - uses: chemelli74/python-semantic-release@3.11 + uses: python-semantic-release/python-semantic-release@v9.12.0 if: github.ref_name != 'main' with: root_options: --noop # On main branch: actual PSR + upload to PyPI & GitHub - name: Release - uses: chemelli74/python-semantic-release@3.11 + uses: python-semantic-release/python-semantic-release@v9.12.0 id: release if: github.ref_name == 'main' with: diff --git a/mypy.ini b/mypy.ini index dd0daf9..b4fd82c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.11 +python_version = 3.12 show_error_codes = true follow_imports = silent ignore_missing_imports = true diff --git a/poetry.lock b/poetry.lock index 4a50cef..a4c9f8c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -763,5 +763,5 @@ propcache = ">=0.2.0" [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "519b4fe376e896d165edd1e4f95cb1d83dace0e157064b7e3548d2dc8b9852c3" +python-versions = "^3.12" +content-hash = "a9aa87f492c8c71a8af70bcdf1303fb6b5d7d416c8b34966a7b7e50cf50c5baa" diff --git a/pyproject.toml b/pyproject.toml index 2b667cd..73b9572 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ packages = [ "Changelog" = "https://github.com/chemelli74/aiovodafone/blob/main/CHANGELOG.md" [tool.poetry.dependencies] -python = "^3.11" +python = "^3.12" aiohttp = "*" beautifulsoup4 = "*"