From 525b01d7e6eaf4409208e9d95b26d67f4d6d523b Mon Sep 17 00:00:00 2001 From: Vosjedev Date: Sat, 24 Jan 2026 13:40:17 +0100 Subject: add python-magic (libmagic) as dep Signed-off-by: Vosjedev --- poetry.lock | 14 +++++++++++++- pyproject.toml | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9000d23..f633005 100644 --- a/poetry.lock +++ b/poetry.lock @@ -406,6 +406,18 @@ files = [ [package.dependencies] six = ">=1.5" +[[package]] +name = "python-magic" +version = "0.4.27" +description = "File type identification using libmagic" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +groups = ["main"] +files = [ + {file = "python-magic-0.4.27.tar.gz", hash = "sha256:c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b"}, + {file = "python_magic-0.4.27-py2.py3-none-any.whl", hash = "sha256:c212960ad306f700aa0d01e5d7a325d20548ff97eb9920dcd29513174f0294d3"}, +] + [[package]] name = "requests" version = "2.32.5" @@ -536,4 +548,4 @@ test = ["zope.testing"] [metadata] lock-version = "2.1" python-versions = ">=3.10" -content-hash = "b78940d6cda11cb62509700eea1b09c52246eb7afe824cf0cfcef173dd4a9bf6" +content-hash = "84a7c0b9744d6ccd966414bb2fee74cbd5871f53e6e1366c32330afa61abc7a3" diff --git a/pyproject.toml b/pyproject.toml index 93d6303..32077cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,8 @@ dependencies = [ "cherrypy (>=18.10.0,<19.0.0)", "requests (>=2.32.5,<3.0.0)", "mariadb (>=1.1.14,<2.0.0)", - "ws4py (>=0.6.0,<0.7.0)" + "ws4py (>=0.6.0,<0.7.0)", + "python-magic (>=0.4.27,<0.5.0)" ] [project.urls] -- cgit