blob: a8be08a6042ddb42eb4102ad12390fa8376fb9d2 [file]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[package]
name = "pyballista"
version = "55.0.0"
homepage = "https://datafusion.apache.org/ballista/"
repository = "https://github.com/apache/datafusion-ballista"
authors = ["Apache DataFusion <dev@datafusion.apache.org>"]
description = "Apache DataFusion Ballista Python Client"
readme = "README.md"
license = "Apache-2.0"
edition = "2024"
rust-version = "1.94.0"
include = ["/src", "/ballista", "/LICENSE.txt", "pyproject.toml", "Cargo.toml", "Cargo.lock"]
publish = false
[dependencies]
async-ffi = { version = "0.5" }
async-trait = { version = "0.1.92" }
ballista = { path = "../ballista/client", version = "55.0.0" }
ballista-core = { path = "../ballista/core", version = "55.0.0", features = ["build-binary"] }
ballista-executor = { path = "../ballista/executor", version = "55.0.0", default-features = false }
ballista-scheduler = { path = "../ballista/scheduler", version = "55.0.0", default-features = false }
# ballista = { version = "=55.0.0" }
# ballista-core = { version = "=55.0.0", features = ["build-binary"] }
# ballista-executor = { version = "=55.0.0", default-features = false }
# ballista-scheduler = { version = "=55.0.0", default-features = false }
# DataFusion crates are pinned to exactly 55.2.0 because of a workaround for
# missing file-format support in `datafusion-ffi`, see
# `src/ffi_planner_workaround.rs`. The workaround relies on the private field
# layouts of `FFI_QueryPlanner` and `FFI_SessionRef`, so it is only valid for
# the pinned `datafusion-ffi` version.
#
# Remove once `datafusion-ffi` delegates file formats to
# `DefaultLogicalExtensionCodec` in `ForeignLogicalExtensionCodec`.
datafusion = { version = "=55.2.0", features = ["avro"] }
datafusion-ffi = { version = "=55.2.0" }
datafusion-proto = { version = "=55.2.0" }
datafusion-python = { version = "55.0.0", default-features = false }
futures = { version = "0.3" }
log = { version = "0.4" }
prost = { version = "0.14" }
pyo3 = { version = "0.29", features = ["extension-module", "abi3", "abi3-py310"] }
pyo3-log = "0.13"
stabby = { version = "72.1" }
tokio = { version = "1.48", features = ["macros", "rt", "rt-multi-thread", "sync"] }
tonic = { version = "0.14" }
url = { version = "2.5" }
[lib]
crate-type = ["cdylib"]
name = "ballista"
[build-dependencies]
pyo3-build-config = "0.29"