Skip to content

Commit fcb4a2f

Browse files
updated project and versions of tasks
1 parent 145ad9b commit fcb4a2f

File tree

8 files changed

+1809
-1861
lines changed

8 files changed

+1809
-1861
lines changed

.github/workflows/python-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up uv
2222
uses: astral-sh/setup-uv@v6
2323
with:
24-
version: "0.5.x"
24+
version-file: "python/pyproject.toml"
2525
enable-cache: true
2626
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
2727
cache-dependency-glob: "**/uv.lock"

.github/workflows/python-integration-tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Set up uv
122122
uses: astral-sh/setup-uv@v6
123123
with:
124-
version: "0.5.x"
124+
version-file: "python/pyproject.toml"
125125
enable-cache: true
126126
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
127127
cache-dependency-glob: "**/uv.lock"
@@ -176,9 +176,10 @@ jobs:
176176
- name: Set up uv
177177
uses: astral-sh/setup-uv@v6
178178
with:
179-
version: "0.5.x"
179+
version-file: "python/pyproject.toml"
180180
enable-cache: true
181181
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
182+
cache-dependency-glob: "**/uv.lock"
182183
- name: Install dependencies
183184
run: |
184185
uv sync --all-extras --dev
@@ -217,9 +218,10 @@ jobs:
217218
- name: Set up uv
218219
uses: astral-sh/setup-uv@v6
219220
with:
220-
version: "0.5.x"
221+
version-file: "python/pyproject.toml"
221222
enable-cache: true
222223
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
224+
cache-dependency-glob: "**/uv.lock"
223225
- name: Install dependencies
224226
run: |
225227
uv sync --all-extras --dev
@@ -266,7 +268,7 @@ jobs:
266268
- name: Set up uv
267269
uses: astral-sh/setup-uv@v6
268270
with:
269-
version: "0.5.x"
271+
version-file: "python/pyproject.toml"
270272
enable-cache: true
271273
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
272274
cache-dependency-glob: "**/uv.lock"
@@ -331,7 +333,7 @@ jobs:
331333
- name: Set up uv
332334
uses: astral-sh/setup-uv@v6
333335
with:
334-
version: "0.5.x"
336+
version-file: "python/pyproject.toml"
335337
enable-cache: true
336338
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
337339
cache-dependency-glob: "**/uv.lock"
@@ -389,7 +391,7 @@ jobs:
389391
- name: Set up uv
390392
uses: astral-sh/setup-uv@v6
391393
with:
392-
version: "0.5.x"
394+
version-file: "python/pyproject.toml"
393395
enable-cache: true
394396
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
395397
cache-dependency-glob: "**/uv.lock"

.github/workflows/python-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up uv
2828
uses: astral-sh/setup-uv@v6
2929
with:
30-
version: "0.5.x"
30+
version-file: "python/pyproject.toml"
3131
enable-cache: true
3232
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
3333
cache-dependency-glob: "**/uv.lock"

.github/workflows/python-test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up uv
3030
uses: astral-sh/setup-uv@v6
3131
with:
32-
version: "0.5.x"
32+
version-file: "python/pyproject.toml"
3333
enable-cache: true
3434
cache-suffix: ${{ runner.os }}-${{ env.UV_PYTHON }}
3535
cache-dependency-glob: "**/uv.lock"

.github/workflows/python-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up uv
3737
uses: astral-sh/setup-uv@v6
3838
with:
39-
version: "0.5.x"
39+
version-file: "python/pyproject.toml"
4040
enable-cache: true
4141
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
4242
cache-dependency-glob: "**/uv.lock"

python/.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- id: ruff-format
4040
- repo: https://github.com/astral-sh/uv-pre-commit
4141
# uv version.
42-
rev: 0.5.30
42+
rev: 0.9.8
4343
hooks:
4444
# Update the uv lockfile
4545
- id: uv-lock
@@ -51,4 +51,3 @@ repos:
5151
- id: bandit
5252
args: ["-c", "python/pyproject.toml"]
5353
additional_dependencies: [ "bandit[toml]" ]
54-

python/pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,8 @@ usearch = [
156156
weaviate = [
157157
"weaviate-client>=4.17.0,<5.0",
158158
]
159-
160-
[tool.uv]
161-
prerelease = "if-necessary-or-explicit"
162-
dev-dependencies = [
159+
[dependency-groups]
160+
dev = [
163161
"pre-commit ~= 3.7",
164162
"ipykernel ~= 6.29",
165163
"nbconvert ~= 7.16",
@@ -173,11 +171,15 @@ dev-dependencies = [
173171
"types-PyYAML ~= 6.0.12.20240311",
174172
"ruff ~= 0.9"
175173
]
174+
175+
[tool.uv]
176+
prerelease = "if-necessary-or-explicit"
176177
environments = [
177178
"sys_platform == 'darwin'",
178179
"sys_platform == 'linux'",
179180
"sys_platform == 'win32'"
180181
]
182+
required-version = ">=0.8.4"
181183

182184
[tool.pytest.ini_options]
183185
testpaths = 'tests'

python/uv.lock

Lines changed: 1790 additions & 1845 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)