From 287ffc1219cccc5dfe9ff680e87a0a15930092a2 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 04:26:47 -0500 Subject: [PATCH] feat: add python312 support --- .github/workflows/ci.yml | 10 +++++++--- requirements/constraints.txt | 7 +++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2578f84..b2f7125d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8"] - django-version: ["pinned"] + python-version: + - "3.8" + - '3.11' + django-version: [django42] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -38,7 +40,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8"] + python-version: + - "3.8" + - '3.11' steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index a1a6a6a0..90106df7 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -24,7 +24,10 @@ edx-lint<5.3 pylint<2.15 astroid<2.12 -# Stay on LTS release -# This can be removed once all IDAs have been upgraded to Django 4.2 +# Stay on LTS release +# This can be removed once all IDAs have been upgraded to Django 4.2 # and the global constraint has been updated from Django<4.0 to Django<4.3 Django<4.3 + +# For python greater than or equal to 3.9 backports.zoneinfo is causing failures +backports.zoneinfo;python_version<"3.9"