Skip to content

Commit 5c31f51

Browse files
committed
fix rouge and release
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
1 parent 26c4855 commit 5c31f51

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@ jobs:
2929
cache: npm
3030
cache-dependency-path: ui/package-lock.json
3131

32-
- name: Verify tag matches pyproject.toml version
33-
run: |
34-
REF=${{ github.event.inputs.tag || github.ref_name }}
35-
TOML_VERSION=$(grep '^version' pyproject.toml | cut -d'"' -f2)
36-
TAG_VERSION=${REF#v}
37-
if [ "$TOML_VERSION" != "$TAG_VERSION" ]; then
38-
echo "Error: $REF does not match pyproject.toml version $TOML_VERSION"
39-
exit 1
40-
fi
41-
echo "RELEASE_TAG=$REF" >> $GITHUB_ENV
42-
4332
- name: Build core and bundled wheels
4433
run: make release
4534

@@ -69,6 +58,7 @@ jobs:
6958
generate_release_notes: true
7059

7160
publish:
61+
needs: build
7262
runs-on: ubuntu-latest
7363
steps:
7464
- name: 'Checkout GitHub Action'

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "agentevals-cli"
7-
version = "0.5.1"
7+
version = "0.5.2"
88
description = "Standalone framework to evaluate agent correctness based on portable OpenTelemetry traces"
99
requires-python = ">=3.11"
1010
dependencies = [
@@ -84,3 +84,6 @@ ignore = ["F401", "E501", "B008", "ASYNC109"]
8484
"src/agentevals/streaming/__init__.py" = ["T201"]
8585
"packages/evaluator-sdk-py/**" = ["T201"]
8686
"tests/test_otlp_receiver.py" = ["E402"]
87+
88+
[tool.uv.extra-build-dependencies]
89+
rouge-score = ["setuptools"]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)