@@ -7,7 +7,7 @@ readme = "README.md"
7
7
authors = [
8
8
{
name =
' Jens Diemer' ,
email =
' [email protected] ' }
9
9
]
10
- requires-python = " >=3.10 "
10
+ requires-python = " >=3.11 "
11
11
dependencies = [
12
12
" huey" , # https://github.com/coleifer/huey
13
13
" django" ,
@@ -34,27 +34,29 @@ dev = [
34
34
" pyflakes" , # https://github.com/PyCQA/pyflakes
35
35
" codespell" , # https://github.com/codespell-project/codespell
36
36
" EditorConfig" , # https://github.com/editorconfig/editorconfig-core-py
37
- " safety " , # https://github.com/pyupio/safety
37
+ " pip-audit " , # https://github.com/pypa/pip-audit
38
38
" mypy" , # https://github.com/python/mypy
39
39
" twine" , # https://github.com/pypa/twine
40
+ " typeguard" , # https://github.com/agronholm/typeguard/
40
41
41
42
# https://github.com/akaihola/darker
42
43
# https://github.com/ikamensh/flynt
43
44
# https://github.com/pycqa/isort
44
45
# https://github.com/pygments/pygments
45
46
" darker[flynt, isort, color]" ,
46
47
47
- " tomli" , # https://github.com/hukkin/tomli
48
- # tomli only needed for Python <3.11, but see bug:
49
- # https://github.com/pypa/pip/issues/9644#issuecomment-1456583402
50
- # "tomli;python_version<\"3.11\"", # https://github.com/hukkin/tomli
51
-
52
48
" model_bakery" , # https://github.com/model-bakers/model_bakery
53
49
" requests-mock" ,
50
+ " django-override-storage" , # https://github.com/danifus/django-override-storage
51
+
52
+ # Work-a-round for: https://github.com/jazzband/pip-tools/issues/1866
53
+ # see also: https://github.com/jazzband/pip-tools/issues/994#issuecomment-1321226661
54
+ # backports.tarfile is needed for python <3.12
55
+ ' backports.tarfile' , # via jaraco-context -> keyring -> twine
54
56
]
55
- django32 =[" django>=3.2,<3.3" ]
56
57
django42 =[" django>=4.2,<4.3" ]
57
58
django50 =[" django>=5.0,<5.1" ]
59
+ django51 =[" django>=5.1,<5.2" ]
58
60
59
61
[project .urls ]
60
62
Documentation = " https://github.com/boxine/django-huey-monitor/"
@@ -75,6 +77,16 @@ local_settings='huey_monitor_project.settings.local'
75
77
test_settings =' huey_monitor_project.settings.tests'
76
78
77
79
80
+ [tool .cli_base .pip_audit ]
81
+ requirements =[" requirements.dev.txt" ]
82
+ strict =true
83
+ require_hashes =true
84
+ ignore-vuln =[
85
+ # "CVE-2019-8341", # Jinja2: Side Template Injection (SSTI)
86
+ ]
87
+
88
+
89
+
78
90
[build-system ]
79
91
requires = [" setuptools>=61.0" , " setuptools_scm>=7.1" ]
80
92
build-backend = " setuptools.build_meta"
@@ -91,14 +103,12 @@ version = {attr = "huey_monitor.__version__"}
91
103
src = [' .' ]
92
104
revision = " origin/main..."
93
105
line_length = 119
94
- verbose = true
95
106
color = true
96
107
skip_string_normalization = true
97
108
diff = false
98
109
check = false
99
110
stdout = false
100
111
isort = true
101
- flynt = true
102
112
lint = [
103
113
" flake8" ,
104
114
]
@@ -115,7 +125,7 @@ line_length=119
115
125
lines_after_imports =2
116
126
117
127
118
- [tool .coverage .run ]
128
+ [tool .coverage .run ] # https://coverage.readthedocs.io/en/latest/config.html#run
119
129
branch = true
120
130
parallel = true
121
131
concurrency = [" multiprocessing" ]
@@ -139,21 +149,22 @@ exclude_lines = [
139
149
legacy_tox_ini = """
140
150
[tox]
141
151
isolated_build = True
142
- envlist = py{312,311,310 }-django{50,42,32 }
152
+ envlist = py{312,311}-django{52,51,42 }
143
153
skip_missing_interpreters = True
144
154
145
155
[testenv]
146
156
passenv = *
147
157
skip_install = true
148
158
commands_pre =
159
+ pip install -U pip
149
160
pip install -U pip-tools
150
- django32: pip-sync requirements.django32.txt
151
161
django42: pip-sync requirements.django42.txt
152
162
django50: pip-sync requirements.django50.txt
163
+ django51: pip-sync requirements.django51.txt
153
164
commands =
154
- django32 : {envpython} -m coverage run --context='{envname}' -m huey_monitor_project test --buffer
155
- django42 : {envpython} -m coverage run --context='{envname}' -m huey_monitor_project test --buffer --shuffle --parallel
156
- django50 : {envpython} -m coverage run --context='{envname}' -m huey_monitor_project test --buffer --shuffle --parallel
165
+ django42 : {envpython} -m coverage run --context='{envname}'
166
+ django50 : {envpython} -m coverage run --context='{envname}'
167
+ django51 : {envpython} -m coverage run --context='{envname}'
157
168
"""
158
169
159
170
@@ -173,6 +184,7 @@ cookiecutter_template = "https://github.com/jedie/cookiecutter_templates/"
173
184
cookiecutter_directory = " managed-django-project"
174
185
applied_migrations = [
175
186
" 3c16cf7" , # 2023-12-21T22:22:06+01:00
187
+ " e2b20e5" , # 2024-09-26T19:43:41+02:00
176
188
]
177
189
178
190
[manageprojects .cookiecutter_context .cookiecutter ]
0 commit comments