Replace poetry with uv (#4471)

### What problem does this PR solve?

Replace poetry with uv

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2025-01-14 11:49:43 +08:00
committed by GitHub
parent fd0bf3adf0
commit d3c07794b5
17 changed files with 7047 additions and 11323 deletions

View File

@ -1,19 +1,20 @@
[tool.poetry]
[project]
name = "ragflow-sdk"
version = "0.15.1"
description = "Python client sdk of [RAGFlow](https://github.com/infiniflow/ragflow). RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding."
authors = ["Zhichang Yu <yuzhichang@gmail.com>"]
license = "Apache License, Version 2.0"
authors = [
{ name = "Zhichang Yu", email = "yuzhichang@gmail.com" }
]
license = { text = "Apache License, Version 2.0" }
readme = "README.md"
package-mode = true
requires-python = ">=3.10,<3.13"
dependencies = [
"requests>=2.30.0,<3.0.0",
"beartype>=0.18.5,<0.19.0",
"pytest>=8.0.0,<9.0.0"
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
requests = "^2.30.0"
beartype = "^0.18.5"
pytest = "^8.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project.optional-dependencies]
test = [
"pytest>=8.0.0,<9.0.0"
]