From 106aac7aa7875cd29eb1bbb54350a01b63682c44 Mon Sep 17 00:00:00 2001 From: farhan Date: Mon, 19 Feb 2024 20:30:56 +0500 Subject: [PATCH] chore: Adds support for python 3.11 and 3.12 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.rst | 6 ++++++ setup.py | 1 + tox.ini | 5 ++--- workbench/__init__.py | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cac933d4..ecc6cac4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [django32, django42] + python-version: ['3.8', '3.12'] + toxenv: [django42] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6ea8fbb1..90ff8b1e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,12 @@ Change history for XBlock SDK These are notable changes in XBlock. +0.8.0 +----- +* Added support for python 3.12 +* Dropped support for django 3.2 + + 0.7.0 ----- * Added support for Django 4.2 diff --git a/setup.py b/setup.py index fb76ae07..be54e144 100644 --- a/setup.py +++ b/setup.py @@ -128,6 +128,7 @@ def get_version(*file_paths): 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.12', ], tests_require=load_requirements('requirements/test.txt'), entry_points={ diff --git a/tox.ini b/tox.ini index f2dd9479..a2f9466c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32,42},quality +envlist = py{38,311,312}-django{42},quality [pycodestyle] exclude = .git,.tox,migrations @@ -13,8 +13,7 @@ norecursedirs = .* doc bin prototype screenshots requirements [testenv] allowlist_externals = make -deps = - django32: Django>=3.2,<4.0 +deps = django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt passenv = diff --git a/workbench/__init__.py b/workbench/__init__.py index 45c49662..83bb4a07 100644 --- a/workbench/__init__.py +++ b/workbench/__init__.py @@ -2,4 +2,4 @@ Provide a djangoapp for XBlock development """ -__version__ = '0.7.1' +__version__ = '0.8.0'