Skip to content

Commit

Permalink
Added python 3.10 and 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jan 3, 2023
1 parent 1b801c0 commit 6a65810
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['3.1.*', '3.2.*']
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion pynotify/handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable

from django.core.exceptions import ImproperlyConfigured
from django.utils.functional import cached_property
Expand Down
2 changes: 1 addition & 1 deletion pynotify/serializers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable

from django.contrib.contenttypes.models import ContentType
from django.db.models import Model
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bumpversion==0.5.3
coverage==6.3.2
flake8==3.8.3
pip==19.2
pip==21.1
sphinx==1.8.1
sphinx_rtd_theme==0.4.3
twine==1.12.1
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
'beautifulsoup4 >=4.8.0',
'celery >= 4.2.0',
'django ~= 3.0',
'django-chamber >= 0.6.13',
'django-chamber >= 0.6.16',
'lxml >= 4.6.2',
]

setup(
python_requires=">=3.6",
author="Ondřej Kulatý",
author_email='kulaty.o@gmail.com',
classifiers=[
Expand All @@ -30,6 +31,9 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
description="General purpose notification library for Django",
install_requires=requirements,
Expand Down

0 comments on commit 6a65810

Please sign in to comment.