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"