From c4f42bcf25f8bea33224c6a33f298b2447daba94 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Mon, 19 Aug 2024 15:44:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=83=D1=8E=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8E?= =?UTF-8?q?=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 5 +++++ pyproject.toml | 2 +- src/altlinux/pyproject.toml | 2 +- src/gnomik/pyproject.toml | 2 +- src/karkas_blocks/pyproject.toml | 2 +- src/karkas_core/pyproject.toml | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f277a5..ae8249d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.10-', '--violations'] - repo: https://github.com/PyCQA/isort rev: 5.13.2 # sync:isort:poetry.lock hooks: diff --git a/pyproject.toml b/pyproject.toml index d35c7d7..685421a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ init = 'scripts.init:main' module = 'scripts.module:main' [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.10,<=3.12" [tool.poetry.group.dev.dependencies] flake8 = "^7.1.0" diff --git a/src/altlinux/pyproject.toml b/src/altlinux/pyproject.toml index e63ca9e..4fb2fdb 100644 --- a/src/altlinux/pyproject.toml +++ b/src/altlinux/pyproject.toml @@ -8,7 +8,7 @@ authors = [ readme = "README.md" [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.10,<=3.12" karkas-core = { extras=["webhook"], path = "../karkas_core", develop = true } karkas-blocks = { path = "../karkas_blocks", develop = true } diff --git a/src/gnomik/pyproject.toml b/src/gnomik/pyproject.toml index 7b458ed..a1a0931 100644 --- a/src/gnomik/pyproject.toml +++ b/src/gnomik/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Максим Слипенко "] readme = "README.md" [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.10,<=3.12" karkas-core = { extras=["webhook"], path = "../karkas_core", develop = true } karkas-blocks = { path = "../karkas_blocks", develop = true } diff --git a/src/karkas_blocks/pyproject.toml b/src/karkas_blocks/pyproject.toml index 375774b..744798d 100644 --- a/src/karkas_blocks/pyproject.toml +++ b/src/karkas_blocks/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Maxim Slipenko "] readme = "README.md" [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.10,<=3.12" karkas-core = { path = "../karkas_core", develop = true } peewee = "^3.17.6" diff --git a/src/karkas_core/pyproject.toml b/src/karkas_core/pyproject.toml index 26a6621..b36e797 100644 --- a/src/karkas_core/pyproject.toml +++ b/src/karkas_core/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Максим Слипенко "] readme = "README.md" [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.10,<=3.12" aiogram = "^3.10.0" setuptools = "^71.0.1" restrictedpython = "^7.1"