Skip to content

Commit

Permalink
feat: upgrade to Django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft committed Jul 17, 2023
1 parent db15604 commit 2f11b22
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, django32, django40]
toxenv: [quality, docs, django32, django42]

steps:
- uses: actions/checkout@v2
Expand All @@ -34,7 +34,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django32'
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Unreleased

* Switch from ``edx-sphinx-theme`` to ``sphinx-book-theme`` since the former is
deprecated
* Added support for django 4.2

[1.6.1] - 2023-02-07
~~~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 0 additions & 1 deletion edx_ace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

__version__ = '1.6.1'

default_app_config = 'edx_ace.apps.EdxAceConfig'

__all__ = [
'send',
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,11 @@ def is_requirement(line):
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.8',
],
entry_points={
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist = py38-django{32,40}, quality
envlist = py38-django{32, 42}, quality

[testenv]
deps =
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
quality: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
quality: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/quality.txt
commands =
Expand All @@ -15,7 +15,7 @@ commands =
setenv =
DJANGO_SETTINGS_MODULE = test_settings
PYTHONPATH = {toxinidir}
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand All @@ -33,7 +33,7 @@ setenv =
DJANGO_SETTINGS_MODULE=test_settings
PYTHONPATH = {toxinidir}/:{toxinidir}/edx_ace
basepython = python3.8
whitelist_externals =
allowlist_externals =
make
rm
touch
Expand Down

0 comments on commit 2f11b22

Please sign in to comment.