Build improvements (#569)

* Black linting

* Adding Black to dev dependencies and upping minimal python to 3.6.2 for compatibility

* Updating packages

* Removing pip-tools input and exporting requirements with poetry

* Deleting old setup files and test runner

* Trying 1.3.7

* Looser extras requirements to prevent conflicts

* Sorted imports with isort

* Added iSort to dev dependencies

* Fixes localtime for naive setups
This commit is contained in:
Ilan Steemers
2021-05-30 17:10:07 +02:00
committed by GitHub
parent dc95da3a6b
commit 15155c7a99
45 changed files with 1497 additions and 4194 deletions
+16 -8
View File
@@ -1,8 +1,9 @@
[tool.poetry]
name = "django-q"
version = "1.3.6"
version = "1.3.7"
description = "A multiprocessing distributed task queue for Django"
authors = ["Ilan Steemers <koed00@gmail.com>"]
maintainers = ["Ilan Steemers <koed00@gmail.com>"]
license = "MIT"
readme = 'README.rst'
@@ -32,20 +33,20 @@ classifiers = [
]
include = ['CHANGELOG.md']
[tool.poetry.plugins] # Optional super table
[tool.poetry.plugins."djangoq.errorreporters"]
"rollbar" = "django_q_rollbar:Rollbar"
"sentry" = "django_q_sentry:Sentry"
[tool.poetry.dependencies]
python = ">=3.6, <4"
python = ">=3.6.2, <4"
django = ">=2.2"
blessed = "^1.17.6"
arrow = "^0.15.6"
django-picklefield = "^3.0.1"
django-q-rollbar = { version = "^0.1", optional = true }
django-q-sentry = { version = "^0.1", optional = true }
hiredis = { version = "^1.0.1", optional = true }
redis = { version = "^3.5.3", optional = true }
psutil = { version = "^5.7.0", optional = true }
@@ -54,17 +55,24 @@ iron-mq = { version = "^0.9", optional = true }
boto3 = { version = "^1.14.12", optional = true }
pymongo = { version = "^3.10.1", optional = true }
croniter = { version = "^0.3.34", optional = true }
django-q-rollbar = {version = ">=0.1", optional = true}
django-q-sentry = {version = ">=0.1", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^5.4.2"
pytest-django = "^3.9.0"
Sphinx = "^4.0.2"
pytest-cov = "^2.12.0"
black = { version = "^21.5b1", allow-prereleases = true }
isort = {extras = ["requirements_deprecated_finder"], version = "^5.8.0"}
[tool.poetry.extras]
rollbar = ["django-q-rollbar"]
sentry = ["django-q-sentry "]
requires = ["poetry>=0.12"]
build-backend = ["poetry.masonry.api"]
requires = ["poetry_core>=1.0.0"]
build-backend = ["poetry.core.masonry.api"]
testing = ["django-redis", "croniter", "hiredis", "psutil", "iron-mq", "boto3", "pymongo"]
rollbar = ["django-q-rollbar"]
sentry = ["django-q-sentry"]
[tool.isort]
profile = "black"
multi_line_output = 3