Skip to content

Commit 7b44a3b

Browse files
fix: add package definition and resolve remaining CI issues
- Add proper package definition to pyproject.toml for pip install -e . - Fix end-of-file issue in CI workflow - Update .secrets.baseline with latest line numbers - Define project dependencies and build system configuration
1 parent 3607d1b commit 7b44a3b

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ jobs:
125125
pip install -e .
126126
pip install pre-commit pip-audit
127127
- name: Run pre-commit
128-
run: pre-commit run --all-files --show-diff-on-failure
128+
run: pre-commit run --all-files --show-diff-on-failure

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,40 @@ combine-as-imports = true
4343
quote-style = "double"
4444
docstring-code-format = true
4545

46+
[build-system]
47+
requires = ["setuptools>=61.0", "wheel"]
48+
build-backend = "setuptools.build_meta"
49+
50+
[project]
51+
name = "contextforge-memory"
52+
version = "0.1.0"
53+
description = "ContextForge Memory - A memory management system for AI applications"
54+
readme = "README.md"
55+
requires-python = ">=3.8"
56+
dependencies = [
57+
"fastapi>=0.104.0",
58+
"uvicorn[standard]>=0.24.0",
59+
"pydantic>=2.0.0",
60+
"numpy>=1.24.0",
61+
"tenacity>=8.0.0",
62+
]
63+
64+
[project.optional-dependencies]
65+
dev = [
66+
"pytest>=7.0.0",
67+
"pytest-asyncio>=0.21.0",
68+
"black>=23.0.0",
69+
"ruff>=0.1.0",
70+
"pre-commit>=3.0.0",
71+
"detect-secrets>=1.4.0",
72+
"commitizen>=3.0.0",
73+
"safety>=2.0.0",
74+
"pip-audit>=2.6.0",
75+
]
76+
77+
[tool.setuptools.packages.find]
78+
where = ["src"]
79+
4680
[tool.commitizen]
4781
name = "cz_conventional_commits"
4882
version = "0.0.0"

0 commit comments

Comments
 (0)