Files
43293d84d7 Bump shared Liger and LCK release version to 0.8.4 (#1503)
## Summary

Bump the single shared project version from 0.8.3 to 0.8.4. Both Python
and native package setup scripts derive their versions from this field,
and the LCK release workflow compares it with the release tag.

This fixes the version mismatch observed in release run 36758816145 and
prevents the Python release workflow from building another 0.8.3 wheel.
No kernel or workflow changes are included.

## Validation

Both the root and native `setup.py --version` entrypoints report
`0.8.4`.

## Release sequencing

Publish from the corrected commit after merge. Merely rerunning the old
release event without correcting its source reference will still build
version 0.8.3. The separately identified Python-wheel `ops.experimental`
packaging issue also remains to be repaired before shipping a usable
wheel.

Co-authored-by: kolehma8 <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-09-30 20:22:07 +00:00

81 lines
1.7 KiB
TOML

[build-system]
requires = ["setuptools>=42", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "liger_kernel"
version = "0.8.4"
description = "Efficient Triton kernels for LLM Training"
urls = { "Homepage" = "https://github.com/linkedin/Liger-Kernel" }
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
requires-python = ">=3.10"
dynamic = ["dependencies", "optional-dependencies"]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["liger_kernel*"]
namespaces = false
[tool.pytest.ini_options]
pythonpath = ["src", "."]
asyncio_mode = "auto"
log_cli = true
log_cli_level = "INFO"
python_files = "test_*.py"
testpaths = ["test/"]
[tool.coverage.run]
branch = true
parallel = true
source = ["src/liger_kernel"]
# xdist uses subprocesses; "multiprocessing" is a safe concurrency choice
concurrency = ["multiprocessing"]
[tool.coverage.paths]
liger_kernel = [
"src/liger_kernel",
"*/site-packages/liger_kernel"
]
[tool.coverage.report]
omit = ["test/*"]
show_missing = true
skip_covered = false
[tool.ruff]
line-length = 120
target-version = "py310"
respect-gitignore = true
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
ignore = ["E501", "B006", "E731", "A002", "E203"]
exclude = [
".git",
"__pycache__",
"benchmark_internal/others",
".venv",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["liger_kernel"]
force-single-line = true
lines-between-types = 1