Skip to content

Commit

Permalink
Reorganize Dependencies and CI packaging (#540)
Browse files Browse the repository at this point in the history
* pep-0735: migrate `dev` under [dependency-groups]

Signed-off-by: Teo <[email protected]>

* ci: add tach to `[dependency-groups.ci]`

* actions: tach-check to install from [ci] depeendency group

---------

Signed-off-by: Teo <[email protected]>
  • Loading branch information
teocns authored Dec 2, 2024
1 parent 6ccb990 commit d664f02
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tach-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tach
pip install ".[ci]"
- name: Run Tach
run: tach check
15 changes: 12 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ dependencies = [
"opentelemetry-sdk>=1.22.0,<2.0.0", # SDK for implementation
"opentelemetry-exporter-otlp-proto-http>=1.22.0,<2.0.0", # For OTLPSpanExporter
]

[project.optional-dependencies]
langchain = [
"langchain==0.2.14; python_version >= '3.8.1'"
]


[dependency-groups]
dev = [
"pytest==7.4.0",
"pytest-depends",
Expand All @@ -39,13 +46,15 @@ dev = [
"pyfakefs",
"requests_mock==1.11.0",
"ruff",
"tach~=0.9",
"vcrpy>=6.0.0; python_version >= '3.8'"
]
langchain = [
"langchain==0.2.14; python_version >= '3.8.1'"


ci = [
"tach~=0.9",
]


[project.urls]
Homepage = "https://github.com/AgentOps-AI/agentops"
Issues = "https://github.com/AgentOps-AI/agentops/issues"
Expand Down

0 comments on commit d664f02

Please sign in to comment.