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
8 changes: 7 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
description: "Version to use for the Python package (e.g. 0.9.9)"
required: true
type: string
test-pypi:
description: "Publish to Test PyPI"
required: false
type: boolean
default: false

workflow_run:
workflows: ["Build, Test and Release"]
types:
Expand Down Expand Up @@ -104,4 +110,4 @@ jobs:
# Avoid workflow to fail if the version has already been published
skip-existing: true
# Upload to Test Pypi for testing
#repository-url: https://test.pypi.org/legacy/
repository-url: ${{ github.event.inputs.test-pypi == 'true' && 'https://test.pypi.org/legacy/' || '' }}
2 changes: 1 addition & 1 deletion packages/python/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README.md
include LICENSE.md
recursive-include src/sqlite-vector/binaries *
recursive-include src/sqlite_vector/binaries *
6 changes: 3 additions & 3 deletions packages/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ For detailed information on all available functions, their parameters, and examp

| Platform | Arch | Subpackage name | Binary name |
| ------------- | ------------ | ------------------------ | ------------ |
| Linux (CPU) | x86_64/arm64 | sqlite-vector.binaries | vector.so |
| Windows (CPU) | x86_64 | sqlite-vector.binaries | vector.dll |
| macOS (CPU) | x86_64/arm64 | sqlite-vector.binaries | vector.dylib |
| Linux (CPU) | x86_64/arm64 | sqlite_vector.binaries | vector.so |
| Windows (CPU) | x86_64 | sqlite_vector.binaries | vector.dll |
| macOS (CPU) | x86_64/arm64 | sqlite_vector.binaries | vector.dylib |

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/python/download_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"macosx_11_0_arm64": "vector.dylib",
}

BINARIES_DIR = Path(__file__).parent / "src/sqlite-vector/binaries"
BINARIES_DIR = Path(__file__).parent / "src/sqlite_vector/binaries"


def download_and_extract(artifact_name, bin_name, version):
Expand Down
2 changes: 1 addition & 1 deletion src/sqlite-vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
extern "C" {
#endif

#define SQLITE_VECTOR_VERSION "0.9.25"
#define SQLITE_VECTOR_VERSION "0.9.26"

SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);

Expand Down