From 3e22a94ff6186969ed9331b6c1b170de2b9fa206 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Fri, 13 Dec 2024 14:07:12 +0100 Subject: [PATCH] install zoneinfo backports for python 3.8 --- .github/workflows/unit_tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index b833369..f46b7db 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] fail-fast: false steps: @@ -31,6 +31,11 @@ jobs: pip install pytest pip install -r requirements.txt + - name: Backport to 3.8 + if: matrix.python-version == '3.8' + run: | + pip install backports.zoneinfo + - name: Test with pytest run: | cd tests