Skip to content

Commit e5e9b15

Browse files
Merge pull request #24 from sqliteai/fix-download-artifacts-folder
fix(package): binaries destination folder
2 parents 422dbac + 0e94af2 commit e5e9b15

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
description: "Version to use for the Python package (e.g. 0.9.9)"
88
required: true
99
type: string
10+
test-pypi:
11+
description: "Publish to Test PyPI"
12+
required: false
13+
type: boolean
14+
default: false
15+
1016
workflow_run:
1117
workflows: ["Build, Test and Release"]
1218
types:
@@ -104,4 +110,4 @@ jobs:
104110
# Avoid workflow to fail if the version has already been published
105111
skip-existing: true
106112
# Upload to Test Pypi for testing
107-
#repository-url: https://test.pypi.org/legacy/
113+
repository-url: ${{ github.event.inputs.test-pypi == 'true' && 'https://test.pypi.org/legacy/' || '' }}

packages/python/MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include README.md
22
include LICENSE.md
3-
recursive-include src/sqlite-vector/binaries *
3+
recursive-include src/sqlite_vector/binaries *

packages/python/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ For detailed information on all available functions, their parameters, and examp
1616

1717
| Platform | Arch | Subpackage name | Binary name |
1818
| ------------- | ------------ | ------------------------ | ------------ |
19-
| Linux (CPU) | x86_64/arm64 | sqlite-vector.binaries | vector.so |
20-
| Windows (CPU) | x86_64 | sqlite-vector.binaries | vector.dll |
21-
| macOS (CPU) | x86_64/arm64 | sqlite-vector.binaries | vector.dylib |
19+
| Linux (CPU) | x86_64/arm64 | sqlite_vector.binaries | vector.so |
20+
| Windows (CPU) | x86_64 | sqlite_vector.binaries | vector.dll |
21+
| macOS (CPU) | x86_64/arm64 | sqlite_vector.binaries | vector.dylib |
2222

2323
## Usage
2424

packages/python/download_artifacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"macosx_11_0_arm64": "vector.dylib",
3232
}
3333

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

3636

3737
def download_and_extract(artifact_name, bin_name, version):

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.25"
27+
#define SQLITE_VECTOR_VERSION "0.9.26"
2828

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

0 commit comments

Comments
 (0)