mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-05 18:33:52 +00:00
docs: fix
This commit is contained in:
parent
6606672c00
commit
bd0603ff99
@ -12,11 +12,10 @@ project = "DB-GPT"
|
|||||||
copyright = "2023, csunny"
|
copyright = "2023, csunny"
|
||||||
author = "csunny"
|
author = "csunny"
|
||||||
|
|
||||||
with open("../pyproject.toml") as f:
|
|
||||||
data = toml.load(f)
|
|
||||||
|
|
||||||
version = data["tool"]["poetry"]["version"]
|
with open("../pilot/VERSION") as f:
|
||||||
release = version
|
version = f.read()
|
||||||
|
|
||||||
html_title = project + " " + version
|
html_title = project + " " + version
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
1
pilot/VERSION
Normal file
1
pilot/VERSION
Normal file
@ -0,0 +1 @@
|
|||||||
|
0.1.0
|
122
pyproject.toml
122
pyproject.toml
@ -8,112 +8,18 @@ license = "MIT"
|
|||||||
packages = [{include = "db_gpt"}]
|
packages = [{include = "db_gpt"}]
|
||||||
repository = "https://www.github.com/csunny/DB-GPT"
|
repository = "https://www.github.com/csunny/DB-GPT"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.mypy]
|
||||||
python = "^3.10"
|
ignore_missing_imports = "True"
|
||||||
accelerate = "^0.16"
|
disallow_untyped_defs = "True"
|
||||||
torch = "^2.0.0"
|
exclude = ["notebooks", "build", "examples"]
|
||||||
aiohttp = "^3.8"
|
|
||||||
aiosignal = "^1.3"
|
|
||||||
async-timeout = "^4.0"
|
|
||||||
attrs = "^22.2"
|
|
||||||
bitsandbytes = "^0.37"
|
|
||||||
cchardet = "^2.1"
|
|
||||||
chardet = "^5.1"
|
|
||||||
contourpy = "^1.0"
|
|
||||||
cycler = "^0.11.0"
|
|
||||||
filelock = "^3.9.0"
|
|
||||||
fonttools = "^4.38.0"
|
|
||||||
frozenlist = "^1.3.3"
|
|
||||||
huggingface-hub = "^0.13.4"
|
|
||||||
importlib-resources = "^5.12.0"
|
|
||||||
kiwisolver = "^1.4.4"
|
|
||||||
matplotlib = "^3.7.0"
|
|
||||||
multidict = "^6.0.4"
|
|
||||||
packaging = "^23.0"
|
|
||||||
psutil = "^5.9.4"
|
|
||||||
pycocotools = "^2.0.6"
|
|
||||||
pyparsing = "^3.0.9"
|
|
||||||
python-dateutil = "^2.8.2"
|
|
||||||
pyyaml = "^6.0"
|
|
||||||
tokenizers = "^0.13.2"
|
|
||||||
tqdm = "^4.64.1"
|
|
||||||
transformers = "^4.28.0"
|
|
||||||
timm = "^0.6.13"
|
|
||||||
spacy = "^3.5.1"
|
|
||||||
webdataset = "^0.2.48"
|
|
||||||
yarl = "^1.8.2"
|
|
||||||
zipp = "^3.14.0"
|
|
||||||
omegaconf = "^2.3.0"
|
|
||||||
opencv-python = "^4.7.0.72"
|
|
||||||
iopath = "^0.1.10"
|
|
||||||
tenacity = "^8.2.2"
|
|
||||||
peft = "^0.3"
|
|
||||||
pycocoevalcap = "^1.2"
|
|
||||||
cpm_kernels = "^1.0.11"
|
|
||||||
umap-learn = "^0.5.3"
|
|
||||||
notebook = "^6.5.4"
|
|
||||||
gradio = "^3.23"
|
|
||||||
gradio-client = "^0.0.8"
|
|
||||||
wandb = "^0.15.2"
|
|
||||||
llama-index = "^0.5.27"
|
|
||||||
pymysql = "^1.0.3"
|
|
||||||
unstructured = "^0.6.3"
|
|
||||||
grpcio = "^1.47.5"
|
|
||||||
|
|
||||||
auto-gpt-plugin-template = "^1.0"
|
[tool.ruff]
|
||||||
pymdown-extensions = "^9.11"
|
exclude = [
|
||||||
gTTS = "^2.3.1"
|
".venv",
|
||||||
langchain = "^0.0.142"
|
"__pycache__",
|
||||||
nltk = "^3.8.1"
|
".ipynb_checkpoints",
|
||||||
python-dotenv = "^1.0.0"
|
".mypy_cache",
|
||||||
pymilvus = {version = "2.2.1", optional = true}
|
".ruff_cache",
|
||||||
vcrpy = "^4.2.1"
|
"examples",
|
||||||
chromadb = "^0.3.22"
|
"notebooks",
|
||||||
markdown2 = "^2.4.8"
|
]
|
||||||
colorama = "^0.4.6"
|
|
||||||
playsound = "^1.3"
|
|
||||||
distro = {version = "1.8.0", optional = true}
|
|
||||||
pypdf = {version = "^3.4.0", optional = true}
|
|
||||||
|
|
||||||
[tool.poetry.group.docs.dependencies]
|
|
||||||
autodoc_pydantic = "^1.8.0"
|
|
||||||
myst_parser = "^0.18.1"
|
|
||||||
nbsphinx = "^0.8.9"
|
|
||||||
sphinx = "^4.5.0"
|
|
||||||
sphinx-autobuild = "^2021.3.14"
|
|
||||||
sphinx_book_theme = "^0.3.3"
|
|
||||||
sphinx_rtd_theme = "^1.0.0"
|
|
||||||
sphinx-typlog-theme = "^0.8.0"
|
|
||||||
sphinx-panels = "^0.6.0"
|
|
||||||
toml = "^0.10.2"
|
|
||||||
myst-nb = "^0.17.1"
|
|
||||||
linkchecker = "^10.2.1"
|
|
||||||
sphinx-copybutton = "^0.5.1"
|
|
||||||
|
|
||||||
[tool.poetry.group.test.dependencies]
|
|
||||||
# The only dependencies that should be added are
|
|
||||||
# dependencies used for running tests (e.g., pytest, freezegun, response).
|
|
||||||
# Any dependencies that do not meet that criteria will be removed.
|
|
||||||
pytest = "^7.3.0"
|
|
||||||
pytest-cov = "^4.0.0"
|
|
||||||
pytest-dotenv = "^0.5.2"
|
|
||||||
duckdb-engine = "^0.7.0"
|
|
||||||
pytest-watcher = "^0.2.6"
|
|
||||||
freezegun = "^1.2.2"
|
|
||||||
responses = "^0.22.0"
|
|
||||||
pytest-asyncio = "^0.20.3"
|
|
||||||
lark = "^1.1.5"
|
|
||||||
pytest-mock = "^3.10.0"
|
|
||||||
pytest-socket = "^0.6.0"
|
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.group.lint.dependencies]
|
|
||||||
ruff = "^0.0.249"
|
|
||||||
types-toml = "^0.10.8.1"
|
|
||||||
types-redis = "^4.3.21.6"
|
|
||||||
black = "^23.1.0"
|
|
||||||
types-chardet = "^5.0.4.6"
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry-core"]
|
|
||||||
build-backend = "poetry.core.masonry.api"
|
|
Loading…
Reference in New Issue
Block a user