Skip to content

Commit 9f25dc0

Browse files
committed
Add a pyproject.toml to define a development environment
Add a pyproject.toml that has the dependencies of agents/ and mcp_server as for development purposes. The Containerfiles still define the production enviroment. Add a note to beeai/README.md describing how to set it up with uv. At least for now, add uv.lock to .gitignore rather than committing it - adding overhead for updating pinned dependencies doesn't make sense for just the development environment when we aren't doing it for production.
1 parent d8a258e commit 9f25dc0

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

beeai/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uv.lock

beeai/.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

beeai/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,20 @@ You can connect to http://localhost:6006/ to access Phoenix web interface and tr
5353
(it works with individual runs too).
5454

5555
Redis Commander is available at http://localhost:8081/ for monitoring of the queue.
56+
57+
## Development environment
58+
59+
A stub pyproject.toml is provided to set up a development environment:
60+
61+
```
62+
cd beeai
63+
uv sync
64+
uv run make -f Makefile.tests check
65+
```
66+
67+
In an IDE, select beeai/.venv/bin/python as the Python interpreter.
68+
69+
Note that that Python version in your development environment must match that of the system
70+
because of the use of the RPM Python bindings. Currently, that means you must run this on a
71+
system with python-3.13 as system Python, such as Fedora 42. On a different system,
72+
you can create a F42 toolbox.

beeai/pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[project]
2+
name = "ai-workflows-beeai"
3+
version = "0.1.0"
4+
description = "ai-workflows development environment"
5+
readme = "README.md"
6+
requires-python = ">=3.13,<3.14"
7+
dependencies = [
8+
"aiohttp>=3.12.15",
9+
"arize-phoenix-otel>=0.13.0",
10+
"beeai-framework[mcp,duckduckgo]>=0.1.36",
11+
"fastmcp>=2.11.3",
12+
"flexmock>=0.12.2",
13+
"ogr>=0.55.0",
14+
"openinference-instrumentation-beeai>=0.1.8",
15+
"pytest>=8.4.1",
16+
"pytest-asyncio>=1.1.0",
17+
"redis>=6.4.0",
18+
"rpm>=0.4.0",
19+
"specfile>=0.36.0",
20+
]

0 commit comments

Comments
 (0)