Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 13 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,22 @@ classifiers = [
dependencies = [
"kubernetes>=27.2.0",
"pydantic>=2.10.0",
"kubeflow-trainer-api>=2.0.0",
"kubeflow-trainer-api>=2.2.0",
"kubeflow-katib-api>=0.19.0",
]

[project.optional-dependencies]
docker = [
"docker>=6.1.3",
]
podman = [
"podman>=5.6.0"
]
docker = ["docker>=6.1.3"]
podman = ["podman>=5.6.0"]
spark = [
# pyspark-connect is Apache Spark Python API with Spark Connect by default
# Match major.minor of pyspark-connect to Spark constants declared in kubeflow.spark.backends.kubernetes.constants
# Ensure pyspark-connect and the spark image align with the Spark version used in the Spark operator image
# https://github.com/kubeflow/spark-operator/blob/master/Dockerfile#L17
"pyspark-connect==4.0.1",
"kubeflow-spark-api>=2.4.0",
]
hub = [
"model-registry>=0.3.6",
# pyspark-connect is Apache Spark Python API with Spark Connect by default
# Match major.minor of pyspark-connect to Spark constants declared in kubeflow.spark.backends.kubernetes.constants
# Ensure pyspark-connect and the spark image align with the Spark version used in the Spark operator image
# https://github.com/kubeflow/spark-operator/blob/master/Dockerfile#L17
"pyspark-connect==4.0.1",
"kubeflow-spark-api>=2.4.0",
]
hub = ["model-registry>=0.3.6"]

[dependency-groups]
docs = [
Expand Down Expand Up @@ -133,8 +127,8 @@ select = [
]

ignore = [
"B006", # mutable-argument-default
"E501", # Embedded HTML/SVG has long lines
"B006", # mutable-argument-default
"E501", # Embedded HTML/SVG has long lines
]


Expand All @@ -152,9 +146,7 @@ markers = [
"timeout: marks tests with timeout limit",
"options: marks tests for Spark options pattern",
]
filterwarnings = [
"ignore::pydantic.warnings.PydanticDeprecatedSince20",
]
filterwarnings = ["ignore::pydantic.warnings.PydanticDeprecatedSince20"]

[tool.ty.environment]
python-version = "3.10"
Loading
Loading