From 525a67595a2bebc18c125fb4ab65b9e7ba82f96e Mon Sep 17 00:00:00 2001 From: sudoskys Date: Mon, 8 Jul 2024 16:27:22 +0800 Subject: [PATCH] :arrow_up: chore: bump version to 0.2.1 and update dependencies https://github.com/LlmKira/fast-langdetect/issues/3 --- pdm.lock | 10 +++++----- pyproject.toml | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pdm.lock b/pdm.lock index 679b8ce..beb145c 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:ce1d24b13a966f614100c02c32b7cdf66f663228a5f13caa5c748ef4618a2f81" +content_hash = "sha256:1a945c585cb503f984281d7caef427092ba2f8e4fb3520d0f2c786fa57ee20d6" [[package]] name = "certifi" @@ -327,8 +327,8 @@ files = [ [[package]] name = "requests" -version = "2.31.0" -requires_python = ">=3.7" +version = "2.32.3" +requires_python = ">=3.8" summary = "Python HTTP for Humans." groups = ["default"] dependencies = [ @@ -338,8 +338,8 @@ dependencies = [ "urllib3<3,>=1.21.1", ] files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 3be7e41..8200a3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fast-langdetect" -version = "0.2.0" +version = "0.2.1" description = "Quickly detect text language and segment language" authors = [ { name = "sudoskys", email = "coldlando@hotmail.com" }, @@ -8,6 +8,8 @@ authors = [ dependencies = [ "fasttext-wheel>=0.9.2", "robust-downloader>=0.0.2", + "numpy>=1.26.4,<2.0.0", + "requests>=2.30.0", ] requires-python = ">=3.9,<3.13" readme = "README.md"