Skip to content

Commit

Permalink
ci(test): Test build python tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Nov 2, 2024
1 parent 443f156 commit b212084
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,23 @@ requires-python = ">= 3.8"
[tool.rye]
managed = true
virtual = true
dev-dependencies = [

[tool.rye.dev-dependencies]
base = [
"pip",
"pytest>=7.0.0",
"black>=23.0.0",
"isort>=5.0.0",
"maturin>=1.7,<2.0",
"tomli>=2.0.2",
"tomli-w>=1.1.0",
]
testing = [
"pytest>=7.0.0"
]
formatting = [
"black>=23.0.0",
"isort>=5.0.0"
]
build = [
"maturin>=1.7,<2.0"
]

[tool.rye.workspace]
members = ["lyric-*"]
Expand Down Expand Up @@ -53,4 +61,10 @@ fmt-check = { chain = [
"isort --check lyric-py",
]}
# Sync version number across all packages
sync-version = "python scripts/sync_version.py"
sync-version = "python scripts/sync_version.py"

[tool.rye.scripts.dependencies.sync-version]
dependencies = [
"tomli>=2.0.2",
"tomli-w>=1.1.0",
]

0 comments on commit b212084

Please sign in to comment.