usearch 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +9 -1
- package/CITATION.cff +1 -1
- package/Cargo.toml +1 -1
- package/README.md +1 -1
- package/conanfile.py +1 -1
- package/csharp/nuget/nuget-package.props +1 -1
- package/include/usearch/index.hpp +1 -1
- package/package.json +1 -1
- package/pyproject.toml +10 -8
- package/rust/lib.rs +1 -0
- package/wasmer.toml +1 -1
|
@@ -56,6 +56,7 @@ jobs:
|
|
|
56
56
|
runs-on: ubuntu-22.04
|
|
57
57
|
needs: versioning
|
|
58
58
|
strategy:
|
|
59
|
+
fail-fast: false
|
|
59
60
|
matrix:
|
|
60
61
|
arch: ["linux/amd64", "linux/arm64"]
|
|
61
62
|
steps:
|
|
@@ -110,6 +111,7 @@ jobs:
|
|
|
110
111
|
runs-on: windows-2022
|
|
111
112
|
needs: versioning
|
|
112
113
|
strategy:
|
|
114
|
+
fail-fast: false
|
|
113
115
|
matrix:
|
|
114
116
|
arch: [x64, x86]
|
|
115
117
|
steps:
|
|
@@ -158,6 +160,7 @@ jobs:
|
|
|
158
160
|
runs-on: macos-12
|
|
159
161
|
needs: versioning
|
|
160
162
|
strategy:
|
|
163
|
+
fail-fast: false
|
|
161
164
|
matrix:
|
|
162
165
|
arch: [arm64, x86_64]
|
|
163
166
|
steps:
|
|
@@ -196,6 +199,7 @@ jobs:
|
|
|
196
199
|
runs-on: ${{ matrix.os }}
|
|
197
200
|
needs: versioning
|
|
198
201
|
strategy:
|
|
202
|
+
fail-fast: false
|
|
199
203
|
matrix:
|
|
200
204
|
os: [ubuntu-22.04, macOS-11, windows-2022]
|
|
201
205
|
steps:
|
|
@@ -346,6 +350,7 @@ jobs:
|
|
|
346
350
|
needs: versioning
|
|
347
351
|
runs-on: ${{ matrix.os }}
|
|
348
352
|
strategy:
|
|
353
|
+
fail-fast: false
|
|
349
354
|
matrix:
|
|
350
355
|
os: [ubuntu-22.04, macOS-11, windows-2022]
|
|
351
356
|
|
|
@@ -537,12 +542,14 @@ jobs:
|
|
|
537
542
|
name: Build C Dependencies for C#
|
|
538
543
|
needs: versioning
|
|
539
544
|
strategy:
|
|
545
|
+
fail-fast: false
|
|
540
546
|
matrix:
|
|
541
547
|
os: [ubuntu-22.04, macos-12, windows-2022]
|
|
542
548
|
runs-on: ${{ matrix.os }}
|
|
543
549
|
defaults:
|
|
544
550
|
run:
|
|
545
551
|
shell: bash
|
|
552
|
+
|
|
546
553
|
steps:
|
|
547
554
|
- uses: actions/checkout@v3
|
|
548
555
|
with:
|
|
@@ -554,6 +561,8 @@ jobs:
|
|
|
554
561
|
run: |
|
|
555
562
|
sudo apt update
|
|
556
563
|
sudo apt install -y cmake build-essential libjemalloc-dev libomp-dev gcc-12 g++-12
|
|
564
|
+
export CC=gcc-12
|
|
565
|
+
export CXX=g++-12
|
|
557
566
|
cmake -B build_artifacts -DCMAKE_BUILD_TYPE=Release -DUSEARCH_BUILD_TEST_CPP=0 -DUSEARCH_BUILD_TEST_C=0 -DUSEARCH_BUILD_LIB_C=1 -DUSEARCH_USE_OPENMP=1 -DUSEARCH_USE_SIMSIMD=1 -DUSEARCH_USE_JEMALLOC=1
|
|
558
567
|
cmake --build build_artifacts --config Release
|
|
559
568
|
mkdir -p "${{ github.workspace }}/csharp/lib/runtimes/linux-x64/native"
|
|
@@ -577,7 +586,6 @@ jobs:
|
|
|
577
586
|
cmake --build build_artifacts --config Release
|
|
578
587
|
mkdir -p "${{ github.workspace }}\csharp\lib\runtimes\win-x64\native"
|
|
579
588
|
cp "${{ github.workspace }}\build_artifacts\libusearch_c.dll" "${{ github.workspace }}\csharp\lib\runtimes\win-x64\native"
|
|
580
|
-
shell: bash
|
|
581
589
|
|
|
582
590
|
- name: Upload Artifacts
|
|
583
591
|
uses: actions/upload-artifact@v3
|
package/CITATION.cff
CHANGED
package/Cargo.toml
CHANGED
package/README.md
CHANGED
package/conanfile.py
CHANGED
|
@@ -7,7 +7,7 @@ required_conan_version = ">=1.53.0"
|
|
|
7
7
|
class USearchConan(ConanFile):
|
|
8
8
|
|
|
9
9
|
name = "usearch"
|
|
10
|
-
version = '2.8.
|
|
10
|
+
version = '2.8.1'
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
description = "Smaller & Faster Single-File Vector Search Engine from Unum"
|
|
13
13
|
homepage = "https://github.com/unum-cloud/usearch"
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -8,9 +8,13 @@ addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
|
|
|
8
8
|
xfail_strict = true
|
|
9
9
|
filterwarnings = ["error"]
|
|
10
10
|
|
|
11
|
+
# Avoid running tests, as everything is happening in a super slow container
|
|
12
|
+
# We have already run all the relavent Python tests in `prerelease.yml`
|
|
13
|
+
# test-requires = ["pytest", "numpy"]
|
|
14
|
+
# test-command = "pytest {project}/python/scripts"
|
|
11
15
|
[tool.cibuildwheel]
|
|
12
|
-
test-requires = [
|
|
13
|
-
test-command = "
|
|
16
|
+
test-requires = []
|
|
17
|
+
test-command = ""
|
|
14
18
|
build-verbosity = 0
|
|
15
19
|
skip = ["*musllinux*", "*i686*", "pp*", "cp36-*", "cp312-*"]
|
|
16
20
|
|
|
@@ -18,22 +22,20 @@ skip = ["*musllinux*", "*i686*", "pp*", "cp36-*", "cp312-*"]
|
|
|
18
22
|
before-build = [
|
|
19
23
|
"rm -rf {project}/CMakeCache.txt {project}/build {project}/build_debug {project}/CMakeFiles.txt {project}/_deps {project}/.pytest_cache",
|
|
20
24
|
"mkdir -p build/usearch",
|
|
21
|
-
"git submodule update --init --recursive"
|
|
25
|
+
"git submodule update --init --recursive",
|
|
22
26
|
]
|
|
23
27
|
manylinux-x86_64-image = "manylinux_2_28"
|
|
24
28
|
manylinux-aarch64-image = "manylinux_2_28"
|
|
25
29
|
|
|
26
30
|
archs = ["x86_64", "aarch64"]
|
|
27
|
-
before-all = [
|
|
28
|
-
"yum install -y glibc-devel wget python3-devel"
|
|
29
|
-
]
|
|
31
|
+
before-all = ["yum install -y glibc-devel wget python3-devel"]
|
|
30
32
|
repair-wheel-command = "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
|
|
31
33
|
|
|
32
34
|
[tool.cibuildwheel.macos]
|
|
33
35
|
before-build = [
|
|
34
36
|
"rm -rf {project}/CMakeCache.txt {project}/build {project}/build_debug {project}/CMakeFiles.txt {project}/_deps {project}/.pytest_cache",
|
|
35
37
|
"mkdir -p build/usearch",
|
|
36
|
-
"git submodule update --init --recursive"
|
|
38
|
+
"git submodule update --init --recursive",
|
|
37
39
|
]
|
|
38
40
|
archs = ["x86_64", "universal2", "arm64"]
|
|
39
41
|
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
|
|
@@ -43,7 +45,7 @@ repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest
|
|
|
43
45
|
before-build = [
|
|
44
46
|
"rd /s /q {project}\\CMakeCache.txt {project}\\build {project}\\build_debug {project}\\CMakeFiles.txt {project}\\_deps {project}\\.pytest_cache || echo Done",
|
|
45
47
|
"md build\\usearch",
|
|
46
|
-
"git submodule update --init --recursive"
|
|
48
|
+
"git submodule update --init --recursive",
|
|
47
49
|
]
|
|
48
50
|
archs = ["x86", "AMD64"]
|
|
49
51
|
skip = ["*win32*", "pp*", "cp36-*", "cp312-*"]
|
package/rust/lib.rs
CHANGED