Merge pull request #404 from Koed00/django3

Django 3 support
This commit is contained in:
Ilan Steemers
2020-01-18 11:00:47 +01:00
committed by GitHub
6 changed files with 34 additions and 38 deletions
+3 -8
View File
@@ -5,17 +5,12 @@ services:
- mongodb - mongodb
python: python:
- "3.6"
- "3.7" - "3.7"
- "3.8"
env: env:
- DJANGO=2.2.5 - DJANGO=3.0.2
- DJANGO=1.11.24 - DJANGO=2.2.9
matrix:
exclude:
- python: "3.7"
env: DJANGO=1.11.24
sudo: true sudo: true
dist: xenial dist: xenial
+2 -2
View File
@@ -26,12 +26,12 @@ Features
Requirements Requirements
~~~~~~~~~~~~ ~~~~~~~~~~~~
- `Django <https://www.djangoproject.com>`__ > = 1.11.24 - `Django <https://www.djangoproject.com>`__ > = 2.2
- `Django-picklefield <https://github.com/gintas/django-picklefield>`__ - `Django-picklefield <https://github.com/gintas/django-picklefield>`__
- `Arrow <https://github.com/crsmithdev/arrow>`__ - `Arrow <https://github.com/crsmithdev/arrow>`__
- `Blessed <https://github.com/jquast/blessed>`__ - `Blessed <https://github.com/jquast/blessed>`__
Tested with: Python 3.6. 3.7 Django 1.11.x and 2.2.x Tested with: Python 3.7, 3.8 Django 2.2.X and 3.0.X
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task` .. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
+1 -1
View File
@@ -24,7 +24,7 @@ Features
- Rollbar and Sentry support - Rollbar and Sentry support
Django Q is tested with: Python 3.6. and 3.7, Django 1.11.x LTS and 2.2.x Django Q is tested with: Python 3.7 and 3.8, Django 2.2.x and 3.0.x
Contents: Contents:
+7 -7
View File
@@ -27,12 +27,12 @@ Installation
Requirements Requirements
------------ ------------
Django Q is tested for Python 3.6 and 3.7 Django Q is tested for Python 3.7 and 3.8
- `Django <https://www.djangoproject.com>`__ - `Django <https://www.djangoproject.com>`__
Django Q aims to use as much of Django's standard offerings as possible Django Q aims to use as much of Django's standard offerings as possible
The code is tested against Django versions `1.11.x LTS` and `2.1.x`. The code is tested against Django versions `2.2.x` and `3.0.x`.
Please note that Django versions below 2.0 do not support Python 3.7 Please note that Django versions below 2.0 do not support Python 3.7
- `Django-picklefield <https://github.com/gintas/django-picklefield>`__ - `Django-picklefield <https://github.com/gintas/django-picklefield>`__
@@ -126,12 +126,12 @@ Other known issues are:
Python Python
~~~~~~ ~~~~~~
The code is always tested against the latest version Python 3 and we try to stay compatible with the last two versions of each. The code is always tested against the latest version Python 3 and we try to stay compatible with the last two versions of each.
Current tests are performed with 3.6 and 3.7 Current tests are performed with 3.7 and 3.8
If you do encounter any regressions with earlier versions, please submit an issue on `github <https://github.com/Koed00/django-q>`__ If you do encounter any regressions with earlier versions, please submit an issue on `github <https://github.com/Koed00/django-q>`__
.. note:: .. note::
Django releases before 1.11 are not officially supported on Python 3.6 Django releases before 1.11 are not supported on Python 3.6
Django releases before 2.0 are not supported on Python 3.7 Django releases before 2.0 are not supported on Python 3.7
Open-source packages Open-source packages
@@ -142,10 +142,10 @@ You can reference the `requirements <https://github.com/Koed00/django-q/blob/mas
Django Django
~~~~~~ ~~~~~~
We strive to be compatible with last two major version of Django. We strive to be compatible with last two major version of Django.
At the moment this means we support the 1.11.x and 2.2.x releases. At the moment this means we support the 2.2.x and 3.0.x releases.
Since we are now no longer supporting Python 2, we can also not support older versions of Django that do not support Python 3. Since we are now no longer supporting Python 2, we can also not support older versions of Django that do not support Python >= 3.6
For this you can always use the pre 1.0 release, but it's no longer maintained. For this you can always use older releases, but they are no longer maintained.
+19 -18
View File
@@ -2,31 +2,32 @@
# This file is autogenerated by pip-compile # This file is autogenerated by pip-compile
# To update, run: # To update, run:
# #
# pip-compile --output-file requirements.txt requirements.in # pip-compile requirements.in
# #
arrow==0.15.2 arrow==0.15.5
blessed==1.15.0 asgiref==3.2.3 # via django
boto3==1.9.236 blessed==1.16.1
botocore==1.12.236 # via boto3, s3transfer boto3==1.11.4
certifi==2019.9.11 # via requests botocore==1.14.4 # via boto3, s3transfer
certifi==2019.11.28 # via requests
chardet==3.0.4 # via requests chardet==3.0.4 # via requests
django-picklefield==2.0 django-picklefield==2.0
django-redis==4.10.0 django-redis==4.11.0
django==2.2.8 # via django-picklefield, django-redis django==3.0.2 # via django-picklefield, django-redis
docutils==0.15.2 # via botocore docutils==0.15.2 # via botocore
hiredis==1.0.0 hiredis==1.0.1
idna==2.8 # via requests idna==2.8 # via requests
iron-core==1.2.0 # via iron-mq iron-core==1.2.0 # via iron-mq
iron-mq==0.9 iron-mq==0.9
jmespath==0.9.4 # via boto3, botocore jmespath==0.9.4 # via boto3, botocore
psutil==5.6.3 psutil==5.6.7
pymongo==3.9.0 pymongo==3.10.1
python-dateutil==2.8.0 # via arrow, botocore, iron-core python-dateutil==2.8.1 # via arrow, botocore, iron-core
pytz==2019.2 # via django pytz==2019.3 # via django
redis==3.3.8 redis==3.3.11
requests==2.22.0 # via iron-core requests==2.22.0 # via iron-core
s3transfer==0.2.1 # via boto3 s3transfer==0.3.1 # via boto3
six==1.12.0 # via blessed, python-dateutil six==1.14.0 # via blessed, python-dateutil
sqlparse==0.3.0 # via django sqlparse==0.3.0 # via django
urllib3==1.25.6 # via botocore, requests urllib3==1.25.7 # via botocore, requests
wcwidth==0.1.7 # via blessed wcwidth==0.1.8 # via blessed
+2 -2
View File
@@ -36,7 +36,7 @@ setup(
license='MIT', license='MIT',
description='A multiprocessing distributed task queue for Django', description='A multiprocessing distributed task queue for Django',
long_description=README, long_description=README,
install_requires=['django>=1.11', 'django-picklefield', 'blessed', 'arrow'], install_requires=['django>=2.2', 'django-picklefield', 'blessed', 'arrow'],
test_requires=['pytest', 'pytest-django', ], test_requires=['pytest', 'pytest-django', ],
cmdclass={'test': PyTest}, cmdclass={'test': PyTest},
classifiers=[ classifiers=[
@@ -49,9 +49,9 @@ setup(
'Operating System :: MacOS', 'Operating System :: MacOS',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Distributed Computing', 'Topic :: System :: Distributed Computing',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',