Skip to content

Commit 2cd26d2

Browse files
[release-2.0] fix(api): Fix license path for Kubeflow Trainer Python API (#2772)
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
1 parent 117ad23 commit 2cd26d2

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ __debug_bin
1616
# The default output for various artifacts (e.g. Jupyter Notebooks after Papermill execution).
1717
artifacts
1818

19-
# Python cache files
19+
# Python cache files / packaging
2020
__pycache__/
2121
*.egg-info/
22+
dist/
2223

2324
# Coverage
2425
cover.out

api/python_api/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
62
name = "kubeflow_trainer_api"
73
dynamic = ["version"]
4+
requires-python = ">=3.9"
85
authors = [
96
{ name = "The Kubeflow Authors", email = "kubeflow-discuss@googlegroups.com" },
107
]
11-
license = { file = "../../LICENSE" }
8+
license = { text = "Apache-2.0" }
129
description = "Kubeflow Trainer API models for Kubernetes resources to interact with Kubeflow APIs."
1310
readme = "README.md"
1411
keywords = ["kubeflow", "trainer", "model training", "llm", "ai", "api"]
1512
classifiers = [
1613
"Intended Audience :: Developers",
1714
"Intended Audience :: Education",
1815
"Intended Audience :: Science/Research",
19-
"Programming Language :: Python :: 3.8",
2016
"Programming Language :: Python :: 3.9",
2117
"Programming Language :: Python :: 3.10",
2218
"Programming Language :: Python :: 3.11",
@@ -35,6 +31,10 @@ Homepage = "https://github.com/kubeflow/trainer"
3531
Documentation = "https://www.kubeflow.org/docs/components/trainer/"
3632
Source = "https://github.com/kubeflow/trainer"
3733

34+
[build-system]
35+
requires = ["hatchling"]
36+
build-backend = "hatchling.build"
37+
3838
[tool.hatch.build.targets.wheel]
3939
packages = ["kubeflow_trainer_api"]
4040

0 commit comments

Comments
 (0)