From ca2a435ccd93dd25f903417925789518545453ab Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Sat, 6 Apr 2024 15:56:42 +0500 Subject: [PATCH] feat: Adding python3.11 and 3.12 support. --- .github/workflows/ci.yml | 2 +- requirements/constraints.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97a5ffc..89b77f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: os: [ubuntu-20.04] python-version: ['3.8', '3.11', '3.12'] - toxenv: ["py38", "quality", "docs"] + toxenv: ["py38", "quality", "docs", "django42"] steps: - uses: actions/checkout@v4 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index b727b9d..610c816 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -13,3 +13,6 @@ # Latest previous version has issues with doc8 because of conflicting docutils constraints sphinx-book-theme==0.4.0rc1 + +# Temporary to Support the python 3.11 Upgrade +backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library