From 05a6556b6f674e62b73abaadaa1d9e05a7db9f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=80=E1=85=A7=E1=86=BC?= =?UTF-8?q?=E1=84=90=E1=85=A2?= Date: Sun, 18 May 2025 11:34:29 +0900 Subject: [PATCH] build: remove poetry config to fix pip install conflict --- pyproject.toml | 98 ++++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 47 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3297e1f..f0d6098 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,51 +1,55 @@ -[tool.black] -line-length = 88 -target-version = ['py311'] -include = '\.pyi?$' -exclude = ''' -( - /( - \.git - | \.venv - | build - | dist - )/ -) -''' +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" -[tool.poetry.group.dev.dependencies] -pytest = "^8.3.5" +# [tool.black] +# line-length = 88 +# target-version = ['py311'] +# include = '\.pyi?$' +# exclude = ''' +# ( +# /( +# \.git +# | \.venv +# | build +# | dist +# )/ +# ) +# ''' -[project] -name = "lang2sql" -version = "0.1.9" -description = "" -authors = [ - {name = "Yoonjin Hwang",email = "21603682@hankooktech.com"} -] -readme = "README.md" -requires-python = ">=3.11, <4.0" -dependencies = [ - "langgraph (==0.2.62)", - "datahub (==0.999.1)", - "langchain (==0.3.14)", - "langchain-community (==0.3.14)", - "openai (==1.59.8)", - "langchain-openai (==0.3.0)", - "streamlit (==1.41.1)", - "python-dotenv (==1.0.1)", - "faiss-cpu (==1.10.0)", - "pre-commit (==4.1.0)", - "setuptools (>=78.1.1,<79.0.0)", - "wheel (>=0.45.1,<0.46.0)", - "twine (>=6.1.0,<7.0.0)", - "langchain-aws (>=0.2.21,<0.3.0)", - "langchain-google-genai (>=2.1.3,<3.0.0)", - "langchain-ollama (>=0.3.2,<0.4.0)", - "langchain-huggingface (>=0.1.2,<0.2.0)" -] +# [tool.poetry.group.dev.dependencies] +# pytest = "^8.3.5" +# [project] +# name = "lang2sql" +# version = "0.1.9" +# description = "" +# authors = [ +# {name = "Yoonjin Hwang",email = "21603682@hankooktech.com"} +# ] +# readme = "README.md" +# requires-python = ">=3.11, <4.0" +# dependencies = [ +# "langgraph (==0.2.62)", +# "datahub (==0.999.1)", +# "langchain (==0.3.14)", +# "langchain-community (==0.3.14)", +# "openai (==1.59.8)", +# "langchain-openai (==0.3.0)", +# "streamlit (==1.41.1)", +# "python-dotenv (==1.0.1)", +# "faiss-cpu (==1.10.0)", +# "pre-commit (==4.1.0)", +# "setuptools (>=78.1.1,<79.0.0)", +# "wheel (>=0.45.1,<0.46.0)", +# "twine (>=6.1.0,<7.0.0)", +# "langchain-aws (>=0.2.21,<0.3.0)", +# "langchain-google-genai (>=2.1.3,<3.0.0)", +# "langchain-ollama (>=0.3.2,<0.4.0)", +# "langchain-huggingface (>=0.1.2,<0.2.0)" +# ] -[build-system] -requires = ["poetry-core>=2.0.0,<3.0.0"] -build-backend = "poetry.core.masonry.api" + +# [build-system] +# requires = ["poetry-core>=2.0.0,<3.0.0"] +# build-backend = "poetry.core.masonry.api"