From fd8c571c4630ad81729b4f6e80506831e29d1e3c Mon Sep 17 00:00:00 2001 From: Muhammad Anas Date: Fri, 8 Mar 2024 09:12:22 +0000 Subject: [PATCH] chore: upgrade python to version 3.12 --- .github/workflows/ci.yml | 6 +++--- setup.py | 1 + test_requirements.txt | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99b242b1..c5d65412 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [py38-django32, py38-django42] + python-version: ['3.12'] + toxenv: [py312-django32, py312-django42] steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: run: tox - name: Upload coverage to CodeCov - if: matrix.python-version == '3.8' && matrix.toxenv == 'py38-django42' + if: matrix.python-version == '3.12' && matrix.toxenv == 'py312-django42' uses: codecov/codecov-action@v3 with: file: ./coverage.xml diff --git a/setup.py b/setup.py index 7e6b1dcd..7c71302b 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,7 @@ def package_data(pkg, root_list): "Framework :: Django :: 4.2", "Programming Language :: Python", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.12", "Topic :: Internet :: WWW/HTTP", "Topic :: Education", ], diff --git a/test_requirements.txt b/test_requirements.txt index d8fd04cb..3ed86fac 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -5,7 +5,7 @@ cryptography==41.0.3 ddt==1.6.0 djangorestframework django-storages -edx-celeryutils==1.2.2 +edx-celeryutils==1.2.3 edx-lint==5.3.6 edx-opaque-keys edx-submissions==3.6.0 @@ -26,3 +26,4 @@ tox-battery xblock-utils==3.4.1 xblock-sdk==0.7.0 +xblock[django]==1.10.0