From ffa692f358cdce08536ad7c169979959f2c5e18b 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.lock | 4 ++-- poetry.toml | 2 ++ pyproject.toml | 12 +++++++----- 4 files changed, 12 insertions(+), 8 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.lock b/poetry.lock index 8da2136..1cc1319 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "altair" @@ -1459,4 +1459,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "66b90a33ec9f3b754ae57ebbbc7bbbc9f6fd6831cfaf2812b0f5f933aebf9105" +content-hash = "a58ac529c826e413ae7b796a2a9eb02bfa5277e40ae3174ccf0a78b3a1fefe3b" 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