From 235633ddde77c1aec9c4ed48e2082aa805708a3d Mon Sep 17 00:00:00 2001 From: slefforge <57022538+slefforge@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:11:59 -0500 Subject: [PATCH] Add ARM support --- pyproject.toml | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fb22edd..11f1d2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,8 +13,8 @@ asciitree = "^0.3.3" groq = "^0.8.0" openai = "^1.30.5" anthropic = "^0.27.0" -python-magic-bin = { version = "^0.4.14", markers = "sys_platform != 'linux'" } -python-magic = { version = "^0.4.27", markers = "sys_platform == 'linux'" } +python-magic-bin = { version = "^0.4.14", markers = "sys_platform != 'linux' and sys_platform != 'darwin'" } +python-magic = { version = "^0.4.27", markers = "sys_platform == 'linux' or sys_platform == 'darwin'" } [build-system] requires = ["poetry-core"] diff --git a/requirements.txt b/requirements.txt index e1c50d6..d6f6239 100644 --- a/requirements.txt +++ b/requirements.txt @@ -290,11 +290,11 @@ pydantic-core==2.18.3 ; python_version >= "3.10" and python_version < "4.0" \ pydantic==2.7.2 ; python_version >= "3.10" and python_version < "4.0" \ --hash=sha256:71b2945998f9c9b7919a45bde9a50397b289937d215ae141c1d0903ba7149fd7 \ --hash=sha256:834ab954175f94e6e68258537dc49402c4a5e9d0409b9f1b86b7e934a8372de7 -python-magic-bin==0.4.14 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "linux" \ +python-magic-bin==0.4.14 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "linux" and sys_platform != "darwin" \ --hash=sha256:34a788c03adde7608028203e2dbb208f1f62225ad91518787ae26d603ae68892 \ --hash=sha256:7b1743b3dbf16601d6eedf4e7c2c9a637901b0faaf24ad4df4d4527e7d8f66a4 \ --hash=sha256:90be6206ad31071a36065a2fc169c5afb5e0355cbe6030e87641c6c62edc2b69 -python-magic==0.4.27 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "linux" \ +python-magic==0.4.27 ; python_version >= "3.10" and python_version < "4.0" and (sys_platform == "linux" or sys_platform == "darwin") \ --hash=sha256:c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b \ --hash=sha256:c212960ad306f700aa0d01e5d7a325d20548ff97eb9920dcd29513174f0294d3 pyyaml==6.0.1 ; python_version >= "3.10" and python_version < "4.0" \