|
1 | | -[project] |
2 | | -name = "beeai-server" |
3 | | -version = "0.2.15-rc3" |
4 | | -description = "BeeAI server" |
5 | | -readme = "README.md" |
6 | | -authors = [{ name = "IBM Corp." }] |
7 | | -requires-python = ">=3.13,<4.0" |
8 | | -dependencies = [ |
9 | | - "acp-sdk>=1.0.0", |
10 | | - "aiohttp>=3.11.11", |
11 | | - "anyio>=4.9.0", |
12 | | - "asgiref>=3.8.1", |
13 | | - "fastapi[standard]>=0.115.7", |
14 | | - "httpx>=0.28.1", |
15 | | - "kink>=0.8.1", |
16 | | - "orjson>=3.10.15", |
17 | | - "pydantic>=2.10.6", |
18 | | - "pydantic-settings>=2.7.1", |
19 | | - "structlog>=25.1.0", |
20 | | - "uvicorn>=0.34.0", |
21 | | - "opentelemetry-sdk>=1.30.0", |
22 | | - "opentelemetry-api>=1.30.0", |
23 | | - "opentelemetry-exporter-otlp-proto-http>=1.30.0", |
24 | | - "aiodocker>=0.24.0", |
25 | | - "tenacity>=9.0.0", |
26 | | - "cachetools>=5.5.2", |
27 | | - "python-multipart>=0.0.20", |
28 | | - "kr8s>=0.20.7", |
29 | | - "beeai-framework~=0.1.29", |
30 | | - "alembic>=1.15.2", |
31 | | - "asyncpg>=0.30.0", |
32 | | - "sqlalchemy[asyncio]>=2.0.41", |
33 | | - "aioboto3>=14.3.0", |
34 | | - "pyjwt>=2.10.1", |
35 | | - # !!! WARNING !!! |
36 | | - # Migrations need to be applied appropriately when upgrading procrastinate. Make sure to update the appropriate |
37 | | - # migration scripts in ./src/beeai_server/infrastructure/peristence/migrations/alembic |
38 | | - # https://procrastinate.readthedocs.io/en/stable/howto/production/migrations.html#migrate-the-procrastinate-schema |
39 | | - "procrastinate==3.2.2", |
40 | | - "sqlparse>=0.5.3", |
41 | | - "pgvector>=0.4.1", |
42 | | - "ibm-watsonx-ai>=1.3.28", |
43 | | -] |
| 1 | +[build-system] |
| 2 | + build-backend = 'hatchling.build' |
| 3 | + requires = ['hatchling'] |
44 | 4 |
|
45 | | -[tool.ruff] |
46 | | -line-length = 120 |
| 5 | +[dependency-groups] |
| 6 | + dev = ['pytest>=8.3.4', 'pytest-asyncio>=0.25.3', 'pytest-env>=1.1.5', 'pytest-httpx>=0.35.0', 'pytest-subtests>=0.14.1', 'reportlab>=4.4.2'] |
47 | 7 |
|
48 | | -[project.scripts] |
49 | | -beeai-server = "beeai_server:serve" |
50 | | -migrate = "beeai_server:migrate" |
51 | | -create-buckets = "beeai_server:create_buckets" |
52 | | -create-vector-extension = "beeai_server:create_vector_extension" |
| 8 | +[project] |
| 9 | + dependencies = ['acp-sdk>=1.0.0', 'aiohttp>=3.11.11', 'anyio>=4.9.0', 'asgiref>=3.8.1', 'fastapi[standard]>=0.115.7', 'httpx>=0.28.1', 'kink>=0.8.1', 'orjson>=3.10.15', 'pydantic>=2.10.6', 'pydantic-settings>=2.7.1', 'structlog>=25.1.0', 'uvicorn>=0.34.0', 'opentelemetry-sdk>=1.30.0', 'opentelemetry-api>=1.30.0', 'opentelemetry-exporter-otlp-proto-http>=1.30.0', 'aiodocker>=0.24.0', 'tenacity>=9.0.0', 'cachetools>=5.5.2', 'python-multipart>=0.0.20', 'kr8s>=0.20.7', 'beeai-framework~=0.1.29', 'alembic>=1.15.2', 'asyncpg>=0.30.0', 'sqlalchemy[asyncio]>=2.0.41', 'aioboto3>=14.3.0', 'pyjwt>=2.10.1', 'procrastinate==3.2.2', 'sqlparse>=0.5.3', 'pgvector>=0.4.1', 'ibm-watsonx-ai>=1.3.28'] |
| 10 | + description = 'BeeAI server' |
| 11 | + name = 'beeai-server' |
| 12 | + readme = 'README.md' |
| 13 | + requires-python = '>=3.13,<4.0' |
| 14 | + version = '0.2.15-rc4' |
53 | 15 |
|
54 | | -[build-system] |
55 | | -requires = ["hatchling"] |
56 | | -build-backend = "hatchling.build" |
| 16 | + [[project.authors]] |
| 17 | + name = 'IBM Corp.' |
57 | 18 |
|
58 | | -[tool.pytest.ini_options] |
59 | | -asyncio_default_fixture_loop_scope = "function" |
60 | | -markers = ["e2e", "unit", "integration"] |
61 | | -addopts = "-v --strict-markers" |
62 | | -env = [ |
63 | | - # Dummy encryption key |
64 | | - "PERSISTENCE__ENCRYPTION_KEY=3YwblH4IiFObl0igcHFqd-9BxV7csrrCrunaVotMda8=", |
65 | | - "AUTH__DISABLE_AUTH=true", |
66 | | -] |
| 19 | + [project.scripts] |
| 20 | + beeai-server = 'beeai_server:serve' |
| 21 | + create-buckets = 'beeai_server:create_buckets' |
| 22 | + create-vector-extension = 'beeai_server:create_vector_extension' |
| 23 | + migrate = 'beeai_server:migrate' |
67 | 24 |
|
68 | | -[dependency-groups] |
69 | | -dev = [ |
70 | | - "pytest>=8.3.4", |
71 | | - "pytest-asyncio>=0.25.3", |
72 | | - "pytest-env>=1.1.5", |
73 | | - "pytest-httpx>=0.35.0", |
74 | | - "pytest-subtests>=0.14.1", |
75 | | - "reportlab>=4.4.2", |
76 | | -] |
| 25 | +[tool] |
| 26 | + [tool.hatch] |
| 27 | + [tool.hatch.build] |
| 28 | + [tool.hatch.build.targets] |
| 29 | + [tool.hatch.build.targets.wheel] |
| 30 | + artifacts = ['static/'] |
| 31 | + |
| 32 | + [tool.pytest] |
| 33 | + [tool.pytest.ini_options] |
| 34 | + addopts = '-v --strict-markers' |
| 35 | + asyncio_default_fixture_loop_scope = 'function' |
| 36 | + env = ['PERSISTENCE__ENCRYPTION_KEY=3YwblH4IiFObl0igcHFqd-9BxV7csrrCrunaVotMda8=', 'AUTH__DISABLE_AUTH=true'] |
| 37 | + markers = ['e2e', 'unit', 'integration'] |
77 | 38 |
|
78 | | -[tool.hatch.build.targets.wheel] |
79 | | -artifacts = ["static/"] |
| 39 | + [tool.ruff] |
| 40 | + line-length = 120 |
0 commit comments