Skip to content

Commit

Permalink
feat: add Python 3.11 and 3.12 support, drop Django 3.2 (#117)
Browse files Browse the repository at this point in the history
Co-authored-by: awais qureshi <[email protected]>
Co-authored-by: Agrendalath <[email protected]>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent 466edf6 commit 93410d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Python CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches:
- '**'
- '**'
workflow_dispatch:

concurrency:
Expand All @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
toxenv: [django32, django42, quality, package]
python-version: ['3.8', '3.11', '3.12']
toxenv: [django42, quality, package]

steps:
- name: checkout repo
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ def package_data(pkg, root_list):
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
],
url='https://github.com/openedx/xblock-image-explorer',
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
[tox]
envlist = django{32,42},quality,package
envlist = py{38,311,312}-django{42},quality,package

[pytest]
# Use the workbench settings file.
DJANGO_SETTINGS_MODULE = workbench.settings
addopts = --cov-report term-missing --cov-report xml

[testenv]
allowlist_externals =
mkdir
deps =
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
commands =
Expand Down

0 comments on commit 93410d3

Please sign in to comment.