Skip to content

Commit

Permalink
Updated to uv dependency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza committed Nov 4, 2024
1 parent 95c9baf commit 4bf8d67
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeflash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
with:
enable-cache: true
- if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: |-
uv sync
uv pip install codeflash
run: uv sync --group=codeflash
- name: Run CodeFlash on fhaviary
if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: uv run codeflash
Expand Down
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools_scm>=8"]

[dependency-groups]
codeflash = [
"codeflash>=0.7", # Pin to keep recent
"fhaviary[dev]",
]
dev = ["fhaviary[dev]"]

[project]
authors = [
{email = "hello@futurehouse.org", name = "FutureHouse technical staff"},
Expand Down Expand Up @@ -428,11 +435,6 @@ spaces_before_inline_comment = 2 # Match Python PEP 8
spaces_indent_inline_array = 4 # Match Python PEP 8
trailing_comma_inline_array = true

[tool.uv]
dev-dependencies = [
"fhaviary[dev]",
]

[tool.uv.sources]
"aviary.gsm8k" = {workspace = true}
"aviary.hotpotqa" = {workspace = true}
Expand Down
Loading

0 comments on commit 4bf8d67

Please sign in to comment.