исправляет минимальную версию python

This commit is contained in:
Maxim Slipenko 2024-08-19 15:38:37 +03:00
parent 2917c9ee46
commit d5e79375ae
No known key found for this signature in database
GPG Key ID: 6DEA9FA7DE98C7D6
5 changed files with 10 additions and 5 deletions

View File

@ -12,6 +12,11 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/netromdk/vermin
rev: v1.6.0
hooks:
- id: vermin
args: ['-t=3.8-', '--violations']
- repo: https://github.com/PyCQA/isort
rev: 5.13.2 # sync:isort:poetry.lock
hooks:

View File

@ -1,4 +1,4 @@
FROM python:3.12-slim as builder
FROM python:3.8-slim as builder
RUN pip install poetry
RUN mkdir -p /app
@ -14,7 +14,7 @@ WORKDIR /app/src/altlinux
RUN poetry lock && poetry install
FROM python:3.12-slim as base
FROM python:3.8-slim as base
COPY --from=builder /app/src/altlinux /app

View File

@ -8,7 +8,7 @@ authors = [
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.12"
python = ">=3.8,<=3.12"
karkas-core = { extras=["webhook"], path = "../karkas_core", develop = true }
karkas-blocks = { path = "../karkas_blocks", develop = true }

View File

@ -6,7 +6,7 @@ authors = ["Maxim Slipenko <maxim@slipenko.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.12"
python = ">=3.8,<=3.12"
karkas-core = { path = "../karkas_core", develop = true }
# peewee = "^3.17.6"

View File

@ -6,7 +6,7 @@ authors = ["Максим Слипенко <maxim@slipenko.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.12"
python = ">=3.8,<=3.12"
aiogram = "^3.10.0"
setuptools = "^71.0.1"
restrictedpython = "^7.1"