mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-24 00:33:06 +03:00
исправляет минимальную версию python
This commit is contained in:
parent
2917c9ee46
commit
d5e79375ae
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user