https://github.com/RasaHQ/rasa_nlu
Raw File
Tip revision: 6254f35ab58864b0ecdf3b4ac346a9893ccc80da authored by Thomas Werkmeister on 04 October 2022, 18:17:54 UTC
Caching feature and message fingerprints (#11596)
Tip revision: 6254f35
pyproject.toml
[build-system]
requires = [ "poetry-core>=1.0.4",]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = [ "py37", "py38", "py39",]
exclude = "((.eggs | .git | .pytest_cache | build | dist))"

[tool.poetry]
name = "rasa"
version = "3.2.8"
description = "Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants"
authors = [ "Rasa Technologies GmbH <hi@rasa.com>",]
maintainers = [ "Tom Bocklisch <tom@rasa.com>",]
homepage = "https://rasa.com"
repository = "https://github.com/rasahq/rasa"
documentation = "https://rasa.com/docs"
classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Topic :: Software Development :: Libraries",]
keywords = [ "nlp", "machine-learning", "machine-learning-library", "bot", "bots", "botkit", "rasa conversational-agents", "conversational-ai", "chatbot", "chatbot-framework", "bot-framework",]
include = [ "LICENSE.txt", "README.md", "rasa/shared/core/training_data/visualization.html", "rasa/cli/default_config.yml", "rasa/shared/importers/*", "rasa/utils/schemas/*", "rasa/keys",]
readme = "README.md"
license = "Apache-2.0"

[tool.towncrier]
package = "rasa"
package_dir = "rasa"
filename = "CHANGELOG.mdx"
directory = "./changelog"
underlines = "   "
title_format = "## [{version}] - {project_date}"
template = "./changelog/_template.md.jinja2"
start_string = "<!-- TOWNCRIER -->\n"
issue_format = "[#{issue}](https://github.com/rasahq/rasa/issues/{issue})"
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true

[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true

[[tool.towncrier.type]]
directory = "improvement"
name = "Improvements"
showcontent = true

[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true

[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true

[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous internal changes"
showcontent = false

[[tool.poetry.source]]
# additional registry used to distribute macosx arm images for psycopg2-binary
# can be removed once the pacakge is properly distributed through pypi.org
name = "internal repository mirroring psycopg binary for macos"
url = "https://europe-west3-python.pkg.dev/rasa-releases/psycopg-binary/simple/"

[tool.poetry.dependencies]
python = ">=3.7,<3.10"
boto3 = "^1.12"
requests = "^2.23"
matplotlib = ">=3.1,<3.6"
attrs = ">=19.3,<22.2"
jsonpickle = ">=1.3,<2.3"
redis = ">=3.4,<5.0"
numpy = ">=1.19.2,<1.22.0"
scipy = ">=1.4.1,<1.8.0"
absl-py = ">=0.9,<1.3"
apscheduler = ">=3.6,<3.10"
tqdm = "^4.31"
networkx = ">=2.4,<2.7"
fbmessenger = "~6.0.0"
pykwalify = ">=1.7,<1.9"
coloredlogs = ">=10,<16"
"ruamel.yaml" = ">=0.16.5,<0.18.0"
scikit-learn = ">=0.22,<1.1"
slackclient = "^2.0.0"
twilio = ">=6.26,<7.15"
webexteamssdk = ">=1.1.1,<1.7.0"
mattermostwrapper = "~2.2"
rocketchat_API = ">=0.6.31,<1.27.0"
colorhash = ">=1.0.2,<1.2.0"
jsonschema = ">=3.2,<4.17"
packaging = ">=20.0,<21.0"
pytz = ">=2019.1,<2023.0"
rasa-sdk = "~3.2.0"
colorclass = "~2.2"
terminaltables = "~3.1.0"
sanic = "~21.12"
sanic-cors = "~2.0.0"
sanic-jwt = "^1.6.0"
cloudpickle = ">=1.2,<2.3"
aiohttp = ">=3.6,!=3.7.4.post0,<3.9"
questionary = ">=1.5.1,<1.11.0"
# there is currently an issue with 3.0.29 as it changes the unit test
# interface for testing CLI interactions. this change breaks our unit
# tests.
prompt-toolkit = "^3.0,<3.0.29"
python-socketio = ">=4.4,<6"
python-engineio = ">=4,<6,!=5.0.0"
pydot = "~1.4"
SQLAlchemy = ">=1.4.0,<1.5.0"
sklearn-crfsuite = "~0.3"
# this is fetched from an internal repository for macos m1 machines. when you upgrade this one
# either check that the pypi.org repository has published arm packages for the version you 
# selected or manually upload the arm packages to the Rasa registry at 
# https://europe-west3-python.pkg.dev/rasa-releases/psycopg-binary/
psycopg2-binary = ">=2.8.2,<2.10.0"
python-dateutil = "~2.8"
tensorflow = { version = "~2.8.2", markers="platform_machine != 'arm64'"} 
tensorflow-macos = { version = "2.8.0", markers="platform_machine == 'arm64'"}
tensorflow-metal = { version = "0.5.1", markers="platform_machine == 'arm64'"}
# protobuf in newer versions currenlty creates issues for tensorflow
# see: https://github.com/tensorflow/tensorflow/blob/v2.8.2/tensorflow/tools/pip_package/setup.py#L84
protobuf = ">=3.9.2,< 3.20"
tensorflow_hub = "~0.12.0"
tensorflow-addons = "~0.17.0"
setuptools = ">=41.0.0"
kafka-python = ">=1.4,<3.0"
ujson = ">=1.35,<6.0"
regex = ">=2020.6,<2022.10"
joblib = ">=0.15.1,<1.3.0"
sentry-sdk = ">=0.17.0,<1.10.0"
aio-pika = ">=6.7.1,<9.0.0"
aiogram = "<2.20"
dask = "2022.2.0"
typing-extensions = ">=3.7.4,<5.0.0"
typing-utils = "^0.1.0"
tarsafe = "^0.0.3"
google-auth = "<3"
CacheControl = "^0.12.9"
randomname = "^0.1.5"
sanic-routing = "^0.7.2"
pluggy = "^1.0.0"

[tool.poetry.dev-dependencies]
pytest-cov = "^3.0.0"
pytest-asyncio = "^0.14.0"
pytest-xdist = "^2.2.1"
pytest = "^7.1.3"
freezegun = "^1.0.0"
responses = "^0.21.0"
aioresponses = "^0.7.2"
moto = "~=4.0.0"
fakeredis = "^1.5.2"
mongomock = "^4.1.2"
black = "^22.8"
flake8 = "^5.0.4"
flake8-docstrings = "^1.5.0"
google-cloud-storage = "^2.4.0"
azure-storage-blob = "<12.12.0"
coveralls = "^3.0.1"
towncrier = "^21.3.0"
toml = "^0.10.0"
pep440-version-utils = "^0.3.0"
pydoc-markdown = "^4.5.1"
pytest-timeout = "^2.1.0"
mypy = "^0.971"
bandit = "^1.6.3"
types-pkg-resources = "^0.1.3"
types-pytz = "^2022.1.1"
types-python-dateutil = "^2.8.12"
types-requests = "^2.25.0"
types-setuptools = "^65.1.0"
memory-profiler = "^0.60.0"
psutil = "^5.8.0"
mypy-extensions = "^0.4.3"
sanic-testing = "^22.6.0"
analytics-python = "^1.4.0"
datadog-api-client = "^2.0.0"
datadog = "^0.44.0"
types-redis = "^4.3.20"

[tool.poetry.extras]
spacy = [ "spacy",]
jieba = [ "jieba",]
transformers = [ "transformers", "sentencepiece",]
full = [ "spacy", "transformers", "sentencepiece", "jieba",]
gh-release-notes = [ "github3.py",]

[tool.poetry.scripts]
rasa = "rasa.__main__:main"

[tool.poetry.dependencies.PyJWT]
version = "^2.0.0"
extras = [ "crypto",]

[tool.poetry.dependencies.colorama]
version = "^0.4.4"
markers = "sys_platform == 'win32'"

[tool.poetry.dependencies.spacy]
version = ">=3.1,<3.3"
optional = true

[tool.poetry.dependencies.tensorflow-text]
version = "~2.8.0"
markers = "sys_platform!='win32' and platform_machine!='arm64'"

[tool.poetry.dependencies."github3.py"]
version = "~1.3.0"
optional = true

[tool.poetry.dependencies.transformers]
version = "~4.13.0"
optional = true

[tool.poetry.dependencies.sentencepiece]
version = "~0.1.96"
optional = true
extras = [ "sentencepiece",]

[tool.poetry.dependencies.jieba]
version = ">=0.39, <0.43"
optional = true

[tool.poetry.dependencies.pymongo]
version = ">=3.8,<3.11"
extras = [ "tls", "srv",]

[tool.poetry.dev-dependencies.pytest-sanic]
git = "https://github.com/RasaHQ/pytest-sanic"
branch = "fix_signal_issue"
back to top