Skip to content

Commit

Permalink
feat: upgrade to Django 4.2 (#226)
Browse files Browse the repository at this point in the history
* feat: upgrade to Django 4.2

* fix: version bumped to 1.7.0
  • Loading branch information
zubairshakoorarbisoft authored Jul 21, 2023
1 parent db15604 commit cebbfae
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 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
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ Change Log
Unreleased
~~~~~~~~~~

[1.7.0] - 2023-07-21
~~~~~~~~~~~~~~~~~~~~

* 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
3 changes: 1 addition & 2 deletions edx_ace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
from .recipient import Recipient
from .recipient_resolver import RecipientResolver

__version__ = '1.6.1'
__version__ = '1.7.0'

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 cebbfae

Please sign in to comment.