mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-24 00:33:06 +03:00
Merged with fix-karkaslite
This commit is contained in:
parent
da2a5c21c1
commit
421c14ea00
@ -10,5 +10,4 @@
|
||||
**/.mypy_cache
|
||||
**/__pycache__/
|
||||
|
||||
src/gnomik/config.yaml
|
||||
src/gnomik/database/*
|
||||
src/altlinux/config.yaml
|
||||
|
1720
src/altlinux/poetry.lock
generated
1720
src/altlinux/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,8 +8,8 @@ authors = [
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8,<=3.12"
|
||||
karkas-core = { extras=["webhook"], path = "../karkas_core", develop = true }
|
||||
python = ">=3.8,<3.13"
|
||||
karkas-core = { path = "../karkas_core", develop = true }
|
||||
karkas-blocks = { path = "../karkas_blocks", develop = true }
|
||||
|
||||
[build-system]
|
||||
|
1012
src/karkas_blocks/poetry.lock
generated
1012
src/karkas_blocks/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ authors = ["Maxim Slipenko <maxim@slipenko.com>"]
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8,<=3.12"
|
||||
python = ">=3.8,<3.13"
|
||||
karkas-core = { path = "../karkas_core", develop = true }
|
||||
|
||||
# peewee = "^3.17.6"
|
||||
|
@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
|
||||
from aiogram import Bot, Dispatcher
|
||||
|
||||
from karkas_core.lib import register_bot_webhook
|
||||
from karkas_core.logger import CustomLogger, log, setup_logger
|
||||
from karkas_core.logger import log, setup_logger
|
||||
from karkas_core.modules_system import ModulesManager
|
||||
from karkas_core.modules_system.public_api import get_module
|
||||
from karkas_core.singleton import Singleton
|
||||
@ -70,6 +70,8 @@ class Karkas:
|
||||
from fastapi import FastAPI
|
||||
from hypercorn.asyncio import serve
|
||||
from hypercorn.config import Config as HyperConfig
|
||||
|
||||
from karkas_core.logger import CustomLogger
|
||||
except ImportError:
|
||||
log(
|
||||
"Error: FastAPI and Hypercorn are required"
|
||||
|
1354
src/karkas_core/poetry.lock
generated
1354
src/karkas_core/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ authors = ["Максим Слипенко <maxim@slipenko.com>"]
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8,<=3.12"
|
||||
python = ">=3.8,<3.13"
|
||||
aiogram = "^3.10.0"
|
||||
setuptools = "^71.0.1"
|
||||
restrictedpython = "^7.1"
|
||||
|
Loading…
Reference in New Issue
Block a user