feat(core): switch to uv

This commit is contained in:
dextmorgn
2026-04-11 13:14:41 +02:00
parent 5569a2f9b7
commit 6f3af239b2
3 changed files with 49 additions and 5377 deletions

View File

@@ -14,7 +14,7 @@ It contains:
## Testing
```bash
poetry run pytest
uv run pytest
```
> ⚠️ 🚧 Work in progress !.

5335
flowsint-core/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,48 +1,55 @@
[tool.poetry]
[project]
name = "flowsint-core"
version = "1.0.0"
version = "1.2.8"
description = "Core utilities and base classes for flowsint modules"
authors = ["dextmorgn <contact@flowsint.io>"]
packages = [{ include = "flowsint_core", from = "src" }]
authors = [{ name = "dextmorgn", email = "contact@flowsint.io" }]
requires-python = ">=3.12,<4.0"
dependencies = [
"flowsint-enrichers",
"pydantic[email]>=2.11.7,<3.0.0",
"neo4j>=5.0,<6.0",
"sqlalchemy>=2.0,<3.0",
"psycopg2-binary>=2.9,<3.0",
"asyncpg>=0.30,<0.31",
"redis>=5.0,<6.0",
"celery>=5.3,<6.0",
"python-dotenv>=1.0,<2.0",
"requests>=2.31,<3.0",
"httpx>=0.28,<0.29",
"networkx>=2.6.3,<3.0.0",
"passlib[bcrypt]>=1.7,<2.0",
"bcrypt>=4.0.0,<5.0.0",
"python-jose[cryptography]>=3.3,<4.0",
"sse-starlette>=1.8,<2.0",
"alembic==1.13.0",
"phonenumbers>=9.0.8,<10.0.0",
"python-multipart>=0.0.20,<0.0.21",
"docker>=7.1.0,<8.0.0",
"pytest>=8.4.2,<9.0.0",
"cryptography>=45.0.7,<46.0.0",
"openpyxl>=3.1,<4.0",
]
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
pydantic = {extras = ["email"], version = "^2.11.7"}
flowsint-enrichers = { path = "../flowsint-enrichers", develop = true }
neo4j = "^5.0"
sqlalchemy = "^2.0"
psycopg2-binary = "^2.9"
asyncpg = "^0.30"
redis = "^5.0"
celery = "^5.3"
python-dotenv = "^1.0"
requests = "^2.31"
httpx = "^0.28"
networkx = "^2.6.3"
passlib = {extras = ["bcrypt"], version = "^1.7"}
bcrypt = ">=4.0.0,<5.0.0"
python-jose = {extras = ["cryptography"], version = "^3.3"}
sse-starlette = "^1.8"
alembic = "1.13.0"
phonenumbers = "^9.0.8"
python-multipart = "^0.0.20"
docker = "^7.1.0"
pytest = "^8.4.2"
cryptography = "^45.0.7"
openpyxl = "^3.1"
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.21"
pytest-httpx = "^0.35"
black = "^23.0"
isort = "^5.12"
flake8 = "^6.0"
mypy = "^1.5"
factory-boy = "^3.3"
[dependency-groups]
dev = [
"pytest-asyncio>=0.21,<0.22",
"pytest-httpx>=0.35,<0.36",
"black>=25.0,<26.0",
"isort>=6.0,<7.0",
"flake8>=7.0,<8.0",
"mypy>=1.17,<2.0",
"factory-boy>=3.3,<4.0",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/flowsint_core"]
[tool.uv.sources]
flowsint-enrichers = { workspace = true }
[tool.black]
line-length = 88
@@ -56,4 +63,4 @@ multi_line_output = 3
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_untyped_defs = true