Skip to content

Commit

Permalink
0.0.6 -> 0.1.0 (#25)
Browse files Browse the repository at this point in the history
* 0.0.6 -> 0.1.0

* Drop support for Django 3.2
* upgrade black
  • Loading branch information
DDuarte authored Jul 16, 2024
1 parent d9abae7 commit aeeda2b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.PHONY: style
style:
black --target-version=py36 \
black --target-version=py39 \
--line-length=120 \
--skip-string-normalization \
notifications testapp setup.py

.PHONY: style_check
style_check:
black --target-version=py36 \
black --target-version=py39 \
--line-length=120 \
--skip-string-normalization \
--check \
Expand Down
11 changes: 1 addition & 10 deletions notifications/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
__version__ = '0.0.6'

# set default_app_config when using django earlier than 3.2
try:
import django

if django.VERSION < (3, 2):
default_app_config = 'notifications.apps.NotificationsConfig'
except ImportError:
pass
__version__ = "0.1.0"
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ include_package_data = True
packages = find:
python_requires = >=3.9
install_requires =
Django >= 3.0, <5.0
# FIXME: make locks an optional dependency (and use, in the notification_sender command)
Django >= 4.2, <6.0
django-database-locks < 1
# tested with 2.3.0 and 3.0.0
django-templated-email >= 2.3, <4
Expand Down
2 changes: 1 addition & 1 deletion testapp/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
pytest==6.2.5
pytest-cov==2.12.1
pytest-django==4.4.0
black==20.8b1
black==24.4.2
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[tox]
envlist =
flake8
py{39,311}-dj{22 ,30,32}
py{39,311}-dj{42,50}

[testenv]
deps =
dj22: Django==2.2.*
dj30: Django==3.0.*
dj32: Django==3.2.*
dj42: Django==4.2.*
dj50: Django==5.0.*
coverage
slack-sdk
setenv =
Expand Down

0 comments on commit aeeda2b

Please sign in to comment.