From 4e818c1c385b88eb07388a5645b34a3bd7d477ba Mon Sep 17 00:00:00 2001 From: Segelzwerg <25705862+Segelzwerg@users.noreply.github.com> Date: Thu, 2 May 2024 16:48:40 +0200 Subject: [PATCH 1/5] REMOVE: python 3.9 Support --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/python-ci.yml | 2 +- .github/workflows/python-publish.yml | 2 +- pyproject.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ed647e76..d639af22 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,10 +38,10 @@ jobs: uses: actions/checkout@v4 # Specify python version - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.10 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fcdc8809..5c806508 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: Whist-Team/actions/setup-poetry@v2 with: - python-version: 3.9 + python-version: 3.10 - name: Lint sources with flake8 run: poetry run flake8 whist_core --count --show-source --statistics diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 065a98d3..e19eecd3 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - python-version: [ 3.9, '3.10', '3.11', '3.12' ] + python-version: [ '3.10', '3.11', '3.12' ] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d9575b43..3293e5ee 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: Whist-Team/actions/setup-poetry@v2 with: - python-version: 3.9 + python-version: 3.10 - name: Build project run: poetry build diff --git a/pyproject.toml b/pyproject.toml index 796d73ee..26e4b211 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ "Bug Tracker" = "https://github.com/Whist-Team/Whist-Core/issues" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.10" pydantic = "^2.6" deprecation = "^2.1" From 9302be0793f727ff05f02ff9a4e9a79481347a79 Mon Sep 17 00:00:00 2001 From: Marcel <25705862+Segelzwerg@users.noreply.github.com> Date: Thu, 2 May 2024 18:16:41 +0200 Subject: [PATCH 2/5] FIX: python 3.10 --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d639af22..f6a66a74 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: '3.10' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From da6541967f44b4fb1415867548c9eb752b8cfc8b Mon Sep 17 00:00:00 2001 From: Marcel <25705862+Segelzwerg@users.noreply.github.com> Date: Thu, 2 May 2024 18:17:01 +0200 Subject: [PATCH 3/5] FIX: python 3.10 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5c806508..1361fdff 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: Whist-Team/actions/setup-poetry@v2 with: - python-version: 3.10 + python-version: '3.10' - name: Lint sources with flake8 run: poetry run flake8 whist_core --count --show-source --statistics From fe6fbc5778f38d6f6dcbdf17b2ed1d264a31300a Mon Sep 17 00:00:00 2001 From: Marcel <25705862+Segelzwerg@users.noreply.github.com> Date: Thu, 2 May 2024 18:17:18 +0200 Subject: [PATCH 4/5] FIX: python 3.10 --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3293e5ee..34a87cb4 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: Whist-Team/actions/setup-poetry@v2 with: - python-version: 3.10 + python-version: '3.10' - name: Build project run: poetry build From d328054d31f328dc5bf15b101bd4b77035663ec7 Mon Sep 17 00:00:00 2001 From: Segelzwerg <25705862+Segelzwerg@users.noreply.github.com> Date: Thu, 2 May 2024 18:22:34 +0200 Subject: [PATCH 5/5] FIX: poetry lock --- poetry.lock | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index ee872088..c1504726 100644 --- a/poetry.lock +++ b/poetry.lock @@ -427,7 +427,6 @@ mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} tomlkit = ">=0.10.1" -typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} [package.extras] spelling = ["pyenchant (>=3.2,<4.0)"] @@ -567,5 +566,5 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" -python-versions = "^3.9" -content-hash = "49002f70442239f25765f0fc629335efc8bdd143ea06e4798872f0bab8772675" +python-versions = "^3.10" +content-hash = "db9d80ebc2c68c407cd9e7f08febd969e862d4804818ed54a7ae293d708b44ed"