From 1333cad3f3c3972c8e94706fcf1f3080100efd08 Mon Sep 17 00:00:00 2001 From: LUIS NOVO Date: Sun, 1 Jun 2025 09:44:48 -0300 Subject: [PATCH] chore: python magic on windows --- pyproject.toml | 1 + uv.lock | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c722717..31fec19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ dependencies = [ "nest-asyncio>=1.6.0", "content-core>=1.0.0", "ai-prompter>=0.3", + "python-magic-bin==0.4.14; sys_platform == 'win32'" ] [tool.setuptools] diff --git a/uv.lock b/uv.lock index da70186..7dff3c1 100644 --- a/uv.lock +++ b/uv.lock @@ -2726,6 +2726,7 @@ dependencies = [ { name = "podcastfy" }, { name = "pydantic" }, { name = "python-dotenv" }, + { name = "python-magic-bin", marker = "(platform_machine != 'aarch64' and platform_system == 'Linux' and sys_platform == 'win32') or (platform_system != 'Darwin' and platform_system != 'Linux' and sys_platform == 'win32')" }, { name = "sdblpy" }, { name = "streamlit" }, { name = "streamlit-monaco" }, @@ -2779,6 +2780,7 @@ requires-dist = [ { name = "pre-commit", marker = "extra == 'dev'", specifier = ">=4.0.1" }, { name = "pydantic", specifier = ">=2.9.2" }, { name = "python-dotenv", specifier = ">=1.0.1" }, + { name = "python-magic-bin", marker = "sys_platform == 'win32'", specifier = "==0.4.14" }, { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.5.5" }, { name = "sdblpy", git = "https://github.com/lfnovo/surreal-lite-py" }, { name = "streamlit", specifier = ">=1.39.0" }, @@ -3598,6 +3600,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6c/73/9f872cb81fc5c3bb48f7227872c28975f998f3e7c2b1c16e95e6432bbb90/python_magic-0.4.27-py2.py3-none-any.whl", hash = "sha256:c212960ad306f700aa0d01e5d7a325d20548ff97eb9920dcd29513174f0294d3", size = 13840 }, ] +[[package]] +name = "python-magic-bin" +version = "0.4.14" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5a/5d/10b9ac745d9fd2f7151a2ab901e6bb6983dbd70e87c71111f54859d1ca2e/python_magic_bin-0.4.14-py2.py3-none-win32.whl", hash = "sha256:34a788c03adde7608028203e2dbb208f1f62225ad91518787ae26d603ae68892", size = 397784 }, + { url = "https://files.pythonhosted.org/packages/07/c2/094e3d62b906d952537196603a23aec4bcd7c6126bf80eb14e6f9f4be3a2/python_magic_bin-0.4.14-py2.py3-none-win_amd64.whl", hash = "sha256:90be6206ad31071a36065a2fc169c5afb5e0355cbe6030e87641c6c62edc2b69", size = 409299 }, +] + [[package]] name = "python-pptx" version = "1.0.2"