selene-backend/api/public/pyproject.toml

39 lines
1.1 KiB
TOML

[tool.poetry]
name = "public"
version = "0.1.0"
description = "API for interactions between Selene and Mycroft devices"
authors = ["Chris Veilleux <veilleux.chris@gmail.com>"]
license = "GNU AGPL 3.0"
[tool.poetry.dependencies]
python = "^3.9"
# Version 1.0 of flask required because later versions do not allow lists to be passed as API repsonses. The Google
# STT endpoint passes a list of transcriptions to the device. Changing this to return a dictionary would break the
# API's V1 contract with Mycroft Core.
#
# To make flask 1.0 work, older versions of itsdangerous, jinja2, markupsafe and werkszeug are required.
flask = "<1.1"
itsdangerous = "<=2.0.1"
jinja2 = "<=2.10.1"
markupsafe = "<=2.0.1"
requests = "*"
selene = {path = "./../../shared", develop = true}
SpeechRecognition = "*"
stripe = "*"
uwsgi = "*"
werkzeug = "<=2.0.3"
librosa = "^0.9.2"
numpy = "<=1.22"
[tool.poetry.dev-dependencies]
allure-behave = "*"
black = "*"
pyhamcrest = "*"
pylint = "*"
behave = "^1.2.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"