GeezerVison is showing github.com — Native parity: install setuptools in the parity env, pass SYSTEMROOT … · ArcadeData/arcadedb-python@a561129
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-native.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -512,7 +512,7 @@ jobs: |
512 | 512 | cores="$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2)" |
513 | 513 | limit=() |
514 | 514 | if [ "$FINAL" = true ]; then limit=(--max-notyet 0); fi |
515 | | - uv run --no-project --python "$PY" --with "$w" --with pytest --with numpy --with requests --with jpype1 --with pyarrow \ |
| 515 | + uv run --no-project --python "$PY" --with "$w" --with pytest --with setuptools --with numpy --with requests --with jpype1 --with pyarrow \ |
516 | 516 | --with polars --with pandas --with duckdb --with networkx --with "psycopg[binary]" --with adbc-driver-postgresql \ |
517 | 517 | --with redis --with neo4j --with ladybug \ |
518 | 518 | python native/wheel/parity_wheel.py --repo "$GITHUB_WORKSPACE" \ |
|
Collapse file
Copy file name to clipboardExpand all lines: tests/test_wheel_packages.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -61,6 +61,8 @@ def test_backend_selection_imports_without_native_library(tmp_path): |
61 | 61 | """A fresh interpreter, as the wheel's ``test_install.py`` runs: the JVM backend is the default.""" |
62 | 62 | root = _built_root(tmp_path) |
63 | 63 | env = {"PATH": os.environ["PATH"]} |
| 64 | + if "SYSTEMROOT" in os.environ: # a Windows child without it cannot import socket |
| 65 | + env["SYSTEMROOT"] = os.environ["SYSTEMROOT"] |
64 | 66 | if root is not None: |
65 | 67 | env["PYTHONPATH"] = str(root) |
66 | 68 | code = "import arcadedb.core, arcadedb._native as n;" "assert n.enabled() is False" |
|