mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 05:38:12 +08:00
Update dependencies and add support for python 3.10
This commit is contained in:
@@ -1,11 +1,17 @@
|
|||||||
name: tests
|
name: tests
|
||||||
on: [ push, pull_request ]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ 3.7, 3.8, 3.9 ]
|
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
|
||||||
django: [ "2.2", "3.2" ]
|
django: [ "2.2", "3.2" ]
|
||||||
services:
|
services:
|
||||||
disque:
|
disque:
|
||||||
|
|||||||
Generated
+555
-522
File diff suppressed because it is too large
Load Diff
+8
-8
@@ -23,10 +23,10 @@ classifiers = [
|
|||||||
'Operating System :: MacOS',
|
'Operating System :: MacOS',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
'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',
|
||||||
@@ -41,7 +41,7 @@ include = ['CHANGELOG.md']
|
|||||||
|
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.6.2, <4"
|
python = ">=3.7.13, <4"
|
||||||
django = ">=2.2"
|
django = ">=2.2"
|
||||||
blessed = "^1.17.6"
|
blessed = "^1.17.6"
|
||||||
arrow = "^1.1.0"
|
arrow = "^1.1.0"
|
||||||
@@ -60,12 +60,12 @@ django-q-sentry = {version = ">=0.1", optional = true}
|
|||||||
|
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
pytest = "^5.4.2"
|
pytest = "^7.1.3"
|
||||||
pytest-django = "^3.9.0"
|
pytest-django = "^4.5.2"
|
||||||
Sphinx = "^4.0.2"
|
Sphinx = "^4.0.2"
|
||||||
pytest-cov = "^2.12.0"
|
pytest-cov = "^3.0.0"
|
||||||
black = { version = "^21.5b1", allow-prereleases = true }
|
black = "^22.8.0"
|
||||||
isort = {extras = ["requirements_deprecated_finder"], version = "^5.8.0"}
|
isort = {extras = ["requirements_deprecated_finder"], version = "^5.10.1"}
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
requires = ["poetry_core>=1.0.0"]
|
requires = ["poetry_core>=1.0.0"]
|
||||||
@@ -76,4 +76,4 @@ sentry = ["django-q-sentry"]
|
|||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
profile = "black"
|
profile = "black"
|
||||||
multi_line_output = 3
|
multi_line_output = 3
|
||||||
|
|||||||
Reference in New Issue
Block a user