mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 23:12:58 +00:00
This changes `lancedb` from a "pure python" setuptools project to a maturin project and adds a rust lancedb dependency. The async python client is extremely minimal (only `connect` and `Connection.table_names` are supported). The purpose of this PR is to get the infrastructure in place for building out the rest of the async client. Although this is not technically a breaking change (no APIs are changing) it is still a considerable change in the way the wheels are built because they now include the native shared library.
30 lines
680 B
YAML
30 lines
680 B
YAML
name: upload-wheel
|
|
|
|
description: "Upload wheels to Pypi"
|
|
inputs:
|
|
os:
|
|
required: true
|
|
description: "ubuntu-22.04 or macos-13"
|
|
repo:
|
|
required: false
|
|
description: "pypi or testpypi"
|
|
default: "pypi"
|
|
token:
|
|
required: true
|
|
description: "release token for the repo"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install twine
|
|
- name: Publish wheel
|
|
env:
|
|
TWINE_USERNAME: __token__
|
|
TWINE_PASSWORD: ${{ inputs.token }}
|
|
shell: bash
|
|
run: twine upload --repository ${{ inputs.repo }} target/wheels/lancedb-*.whl
|