From c00c413453c7950f9f702f5c6ef5170f97d974c2 Mon Sep 17 00:00:00 2001 From: Vadym Parakonnyi Date: Tue, 30 Jul 2024 01:37:51 +0200 Subject: [PATCH] fix: correct dependencies --- .gitignore | 2 +- poetry.toml | 2 ++ pyproject.toml | 12 +++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 poetry.toml diff --git a/.gitignore b/.gitignore index 91c66e0..7082bbe 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,4 @@ junit.xml .DS_Store Thumbs.db -.nx/cache +.venv diff --git a/poetry.toml b/poetry.toml new file mode 100644 index 0000000..ab1033b --- /dev/null +++ b/poetry.toml @@ -0,0 +1,2 @@ +[virtualenvs] +in-project = true diff --git a/pyproject.toml b/pyproject.toml index 6f78790..6ad66a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "streamlit-textcomplete" -version = "0.1.1" +version = "0.1.2" description = "Streamlit autocomplete Textcomplete editor for HTMLTextAreaElement" authors = ["voznik "] readme = "README.md" @@ -12,15 +12,15 @@ packages = [{ include = "textcomplete" }] [tool.poetry.dependencies] python = "^3.10" -streamlit = "^1.36.0" +streamlit = ">=1.34.0" pandas = "^2.2.2" -emoji = "^2.12.1" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry.group.dev.dependencies] +emoji = "^2.12.1" playwright = "^1.45.0" pytest-playwright = "^0.5.1" pytest = "^7.4.4" @@ -62,6 +62,8 @@ python_version = "3.10" [tool.ruff] +# venvPath = "." +# venv = ".venv" exclude = [ ".git", ".vscode", @@ -81,8 +83,8 @@ select = ["B", "E", "F", "W", "I"] [tool.semantic_release] version_variable = [ - "textcomplete/__init__.py:__version__", - "pyproject.toml:version" + "textcomplete/__init__.py:__version__", + "pyproject.toml:version", ] branch = "main" upload_to_pypi = true