From eab7343aedb6730f5b4a00153dbaa66a3adbb7ff Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Thu, 28 Mar 2024 19:42:32 +0500 Subject: [PATCH] feat: adding python3.11 support. --- .github/workflows/ci.yml | 2 +- requirements/constraints.txt | 3 +++ setup.py | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2da688e..9820392 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.12'] + python-version: ['3.8', '3.11'] steps: - uses: actions/checkout@v1 - name: setup python diff --git a/requirements/constraints.txt b/requirements/constraints.txt index a51cb08..089eb3f 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -10,3 +10,6 @@ # Common constraints for edx repos -c common_constraints.txt + +# Temporary to Support the python 3.11 Upgrade +backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library \ No newline at end of file diff --git a/setup.py b/setup.py index 13b50c8..ef169a3 100644 --- a/setup.py +++ b/setup.py @@ -93,5 +93,6 @@ def get_version(file_path): "Natural Language :: English", "Programming Language :: Python :: 3", 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.11', ], )