From 9ed5d7719eb30d552feb6889e621517ec8d3d79b Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:38:48 +0100 Subject: [PATCH 1/9] CI: bump up poetry to version 2.0.1 --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 7bd87a4..6350d38 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - poetry-version: ["1.4.0"] + poetry-version: ["2.0.1"] os: ["ubuntu-latest", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} steps: From 89b1a3edc3111d16e1d005d862d842397c0818d6 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:39:07 +0100 Subject: [PATCH 2/9] CI: bump up images to latest --- .github/workflows/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 6350d38..99aa911 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -11,8 +11,8 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install poetry From afdbe95c6ac4230aba0e9d287bcd74daf925b031 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:40:54 +0100 Subject: [PATCH 3/9] CI: build on ubuntu 22.04 instead of latest --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 99aa911..ae33b7f 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -8,7 +8,7 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] poetry-version: ["2.0.1"] - os: ["ubuntu-latest", "macos-latest", "windows-latest"] + os: ["ubuntu-22.04", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From 66faa742baa0b2167daba7b35c917ac9b8ab3b1f Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:42:40 +0100 Subject: [PATCH 4/9] CI: drop support for Python 3.7 --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index ae33b7f..4af3ace 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] poetry-version: ["2.0.1"] os: ["ubuntu-22.04", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} From 80b613291be2f2fb6af50f7a30c72d82a2389986 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:43:49 +0100 Subject: [PATCH 5/9] Drop python 3.7 support --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7c19f63..4847983 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ repository = "https://github.com/leakix/l9format-python" documentation = "https://github.com/leakix/l9format-python" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" # Updating to 0.9.0 breaks the support of iso8601. # The author of serde updated its code to use the stdlib iso8601 support, which # does not support for instance: From ba3b5a5852263382ca83cf0898199b075c9df62e Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:44:29 +0100 Subject: [PATCH 6/9] CI: support Python 3.12 --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 4af3ace..4a3c965 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] poetry-version: ["2.0.1"] os: ["ubuntu-22.04", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} From 635b24c0d008ecbac83c0ee6313cad83fb3725b1 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:45:12 +0100 Subject: [PATCH 7/9] CI: use poetry 1.8.5 --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 4a3c965..cf9f296 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - poetry-version: ["2.0.1"] + poetry-version: ["1.8.5"] os: ["ubuntu-22.04", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }} steps: From 577774e87bdc3b1eed9cb56226542e6308f061d0 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:47:12 +0100 Subject: [PATCH 8/9] Bump up min version at 3.9 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4847983..8a1283c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ repository = "https://github.com/leakix/l9format-python" documentation = "https://github.com/leakix/l9format-python" [tool.poetry.dependencies] -python = "^3.8" +python = "^3.9" # Updating to 0.9.0 breaks the support of iso8601. # The author of serde updated its code to use the stdlib iso8601 support, which # does not support for instance: From de5aae608abd09d1966e51cbf52dbb8fe8c0a221 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Thu, 23 Jan 2025 20:47:30 +0100 Subject: [PATCH 9/9] CI: drop Python 3.8 --- .github/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index cf9f296..3294538 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] poetry-version: ["1.8.5"] os: ["ubuntu-22.04", "macos-latest", "windows-latest"] runs-on: ${{ matrix.os }}