Skip to content

Commit

Permalink
fix(uv): Fix uv pyproyect
Browse files Browse the repository at this point in the history
  • Loading branch information
christianint committed Dec 5, 2024
1 parent addf6e5 commit eacbdd9
Show file tree
Hide file tree
Showing 3 changed files with 594 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/demo-workflow/exits/training/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ This process is an example of a training process for a machine learning model.

## Pre-requisites

- python 3.12. Please refer to [installation](https://www.python.org/about/gettingstarted/)
- python 3.13. Please refer to [installation](https://www.python.org/about/gettingstarted/)
- uv: It is used as the package/project manager for this project. Please refer to [installation](https://docs.astral.sh/uv/getting-started/installation/)
9 changes: 4 additions & 5 deletions src/demo-workflow/exits/training/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies = [
"nats-py==2.6.0",
"protobuf==4.23.4",
"loguru==0.7.0",
"kai-runner",
]

[dependency-groups]
Expand All @@ -21,10 +22,8 @@ dev = [
[tool.uv]
default-groups = ["dev"]

[tool.hatch.build.targets.sdist]
exclude = [
"*_test.py",
]
[tool.uv.sources]
kai-runner = { git = "https://github.com/konstellation-io/kai-pysdk.git" }

[tool.ruff]
# Exclude a variety of commonly ignored directories.
Expand Down Expand Up @@ -62,7 +61,7 @@ exclude = [
line-length = 88
indent-width = 4

target-version = "py311"
target-version = "py313"

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "Q"]
Expand Down
Loading

0 comments on commit eacbdd9

Please sign in to comment.