1- [tool . poetry ]
1+ [project ]
22name = " backend"
33version = " 0.1.0"
44description = " Django Backend"
5- authors = [ " Your Name <you@example.com> " ]
5+ requires-python = " >=3.12,<4 "
66readme = " README.md"
7- packages = [{ include = ' kernelCI' }]
8-
9- [tool .poetry .dependencies ]
10- python = " ^3.12"
11- django = " ^5.2.11"
12- djangorestframework = " ^3.15.2"
13- gunicorn = " ^23.0.0"
14- psycopg = " ^3.1.19"
15- django-query-builder = " ^3.2.0"
16- django-cors-headers = " ^4.4.0"
17- beautifulsoup4 = " ^4.12.3"
18- requests = " ^2.32.4"
19- pydantic = " ^2.10.3"
20- drf-spectacular = " ^0.28.0"
21- jinja2 = " ^3.1.5"
22- django-crontab = " ^0.7.1"
23- django-prometheus = " ^2.3.1"
24- redis = {extras = [" hiredis" ], version = " ^5.2.1" }
25- kcidb_io = {git = " https://github.com/kernelci/kcidb-io.git" }
26- prometheus-client = " ^0.23.1"
7+ dependencies = [
8+ " django>=5.2.11,<6" ,
9+ " djangorestframework>=3.15.2,<4" ,
10+ " gunicorn>=23.0.0,<24" ,
11+ " psycopg>=3.1.19,<4" ,
12+ " django-query-builder>=3.2.0,<4" ,
13+ " django-cors-headers>=4.4.0,<5" ,
14+ " beautifulsoup4>=4.12.3,<5" ,
15+ " requests>=2.32.4,<3" ,
16+ " pydantic>=2.10.3,<3" ,
17+ " drf-spectacular>=0.28.0,<0.29" ,
18+ " jinja2>=3.1.5,<4" ,
19+ " django-crontab>=0.7.1,<0.8" ,
20+ " django-prometheus>=2.3.1,<3" ,
21+ " redis[hiredis]>=5.2.1,<6" ,
22+ " kcidb_io @ git+https://github.com/kernelci/kcidb-io.git" ,
23+ " prometheus-client>=0.23.1,<0.24" ,
24+ ]
2725
28- [tool .poetry .group .dev .dependencies ]
29- mypy = " ^1.10.0"
30- pytest = " ^8.3.4"
31- pytest-django = " ^4.10.0"
32- pytest-xdist = {extras = [" psutil" ], version = " ^3.6.1" }
33- pytest-rerunfailures = " ^15.0"
34- pytest-cov = " ^6.2.1"
35- factory-boy = " ^3.3.3"
36- pytest-benchmark = " ^5.2.3"
37- ruff = " ^0.15.9"
38- pre-commit = " ^4.5.1"
26+ [dependency-groups ]
27+ dev = [
28+ " mypy>=1.10.0,<2" ,
29+ " pytest>=8.3.4,<9" ,
30+ " pytest-django>=4.10.0,<5" ,
31+ " pytest-xdist[psutil]>=3.6.1,<4" ,
32+ " pytest-rerunfailures>=15.0,<16" ,
33+ " pytest-cov>=6.2.1,<7" ,
34+ " factory-boy>=3.3.3,<4" ,
35+ " pytest-benchmark>=5.2.3,<6" ,
36+ " ruff>=0.15.9,<0.16" ,
37+ " pre-commit>=4.5.1,<5" ,
38+ ]
3939
4040[tool .pytest .ini_options ]
4141DJANGO_SETTINGS_MODULE = " kernelCI.settings"
@@ -46,6 +46,9 @@ markers = [
4646 " performance: marks tests as performance/benchmark tests (very slow, requires full setup)"
4747]
4848
49+ [tool .poetry ]
50+ package-mode = false
51+
4952[build-system ]
50- requires = [" poetry-core" ]
53+ requires = [" poetry-core>=1.0.0 " ]
5154build-backend = " poetry.core.masonry.api"
0 commit comments