Skip to content

Commit e51d109

Browse files
[Test] Revert uv no-binary approach
1 parent 0e925a9 commit e51d109

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

charmcraft.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ parts:
1919
source: .
2020
build-snaps:
2121
- astral-uv
22+
build-environment:
23+
- UV_NO_BINARY: "true"
2224
build-packages:
2325
- libffi-dev # Needed to build Python dependencies with Rust from source
2426
- libssl-dev # Needed to build Python dependencies with Rust from source

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ max-complexity = 10
111111
convention = "google"
112112

113113
[tool.uv]
114-
no-binary = true
114+
no-binary = false

tox.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ all_path = {[vars]src_path} {[vars]tests_path} {[vars]lib_path}
1515
set_env =
1616
PYTHONPATH = {tox_root}/src:{tox_root}/lib
1717
PY_COLORS = 1
18-
UV_NO_BINARY = false
1918
allowlist_externals =
2019
uv
2120

2221
[testenv:format]
2322
description = Apply coding style standards to code
24-
set_env =
25-
{[testenv]set_env}
2623
commands_pre =
2724
uv sync --active --group format
2825
commands =
@@ -31,8 +28,6 @@ commands =
3128

3229
[testenv:lint]
3330
description = Check code against coding style standards
34-
set_env =
35-
{[testenv]set_env}
3631
allowlist_externals =
3732
{[testenv]allowlist_externals}
3833
find
@@ -59,8 +54,6 @@ commands =
5954

6055
[testenv:integration]
6156
description = Run integration tests
62-
set_env =
63-
{[testenv]set_env}
6457
pass_env =
6558
CI
6659
AWS_ACCESS_KEY

0 commit comments

Comments
 (0)