Skip to content

Commit

Permalink
Add django 3.0 to support matrix, bump version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnaderi committed Jan 21, 2020
1 parent d953e0d commit 5355acb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 16 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,19 @@ matrix:
- python: 3.7
env: DJANGO=2.2

- python: 3.6
env: DJANGO=3.0
- python: 3.7
env: DJANGO=3.0
- python: 3.8
env: DJANGO=3.0

- python: 3.6
env: DJANGO=master
- python: 3.7
env: DJANGO=master
- python: 3.8
env: DJANGO=master

allow_failures:
- env: DJANGO=master
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.0

- Added Django 3.0 to support matrix.

# 0.3.0

- Added `qsessions.backends.db` session backend.
Expand Down
28 changes: 15 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,21 @@ Here is a brief comparison between Django's session backends (db, cache, cached_
Compatibility
=============

+----------------+---------------------------+
| Python version | Django versions |
+================+===========================+
| 3.7 | 2.0, 2.1, 2.2 |
+----------------+---------------------------+
| 3.6 | 1.10, 1.11, 2.0, 2.1, 2.2 |
+----------------+---------------------------+
| 3.5 | 1.10, 1.11, 2.0, 2.1, 2.2 |
+----------------+---------------------------+
| 3.4 | 1.10, 1.11, 2.0 |
+----------------+---------------------------+
| 2.7 | 1.10, 1.11 |
+----------------+---------------------------+
+----------------+--------------------------------+
| Python version | Django versions |
+================+================================+
| 3.8 | 3.0 |
+----------------+--------------------------------+
| 3.7 | 2.0, 2.1, 2.2, 3.0 |
+----------------+--------------------------------+
| 3.6 | 1.10, 1.11, 2.0, 2.1, 2.2, 3.0 |
+----------------+--------------------------------+
| 3.5 | 1.10, 1.11, 2.0, 2.1, 2.2 |
+----------------+--------------------------------+
| 3.4 | 1.10, 1.11, 2.0 |
+----------------+--------------------------------+
| 2.7 | 1.10, 1.11 |
+----------------+--------------------------------+

Installation
============
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

dev_requirements = [
'geoip2==2.9.0', # for testing GeoIP2
'geoip2==3.0.0', # for testing GeoIP2
'pytest',
'pytest-cov',
'pytest-django',
]

setup(
name='django-qsessions',
version='0.3.0',
version='0.4.0',
description='Extended session backends for Django',
long_description=README,
author='Mohammad Javad Naderi',
Expand All @@ -40,6 +40,7 @@
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ envlist =
py{27,34,35,36}-{dj110,dj111}-{db,cached_db},
py{34,35,36,37}-dj20-{db,cached_db},
py{35,36,37}-{dj21,dj22}-{db,cached_db},
py{36,37}-{djmaster}-{db,cached_db}
py{36,37,38}-{dj30}-{db,cached_db},
py{36,37,38}-{djmaster}-{db,cached_db}

[travis]
unignore_outcomes = True
Expand All @@ -15,6 +16,7 @@ DJANGO =
2.0: dj20
2.1: dj21
2.2: dj22
3.0: dj30
master: djmaster

[testenv]
Expand All @@ -29,6 +31,7 @@ deps=
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
djmaster: https://github.com/django/django/archive/master.tar.gz
ignore_outcome =
djmaster: True

0 comments on commit 5355acb

Please sign in to comment.