feat(python): support macOS x64 runtime wheels
This commit is contained in:
1 parent
427d210b5e
commit
7dcdcc2965
23 files changed
+181
-63
No files matched your search
@@ -79,12 +79,11 @@ def test_current_platform_supports_windows_x64_only(monkeypatch: pytest.MonkeyPa
|
||||
runtime._current_platform_tag()
|
||||
|
||||
|
||||
def test_current_platform_rejects_macos_x64(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
def test_current_platform_supports_macos_x64(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
monkeypatch.setattr(runtime.sys, "platform", "darwin")
|
||||
monkeypatch.setattr(runtime.platform, "machine", lambda: "x86_64")
|
||||
|
||||
with pytest.raises(FileNotFoundError, match="macOS arm64"):
|
||||
runtime._current_platform_tag()
|
||||
assert runtime._current_platform_tag() == "macos-x64"
|
||||
|
||||
|
||||
def test_runtime_requires_ripgrep_sidecar(
|
||||
|
||||
Reference in new issue
Block a user