From 0284fae309ef2f85759453d17c47c8f75ef3b10b Mon Sep 17 00:00:00 2001 From: Viginum-DataScientist-6 <210390336+Viginum-DataScientist-6@users.noreply.github.com> Date: Thu, 31 Jul 2025 09:30:08 +0000 Subject: [PATCH] refactor: convert [tool.poetry] to [project] - Use the recommended PEP621 syntax for the pyproject.toml --- poetry.lock | 27 +++++++++++++++++++++++++-- pyproject.toml | 32 +++++++++++++++++--------------- 2 files changed, 42 insertions(+), 17 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8a8cecb..5edeffb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1243,6 +1243,28 @@ files = [ {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, ] +[[package]] +name = "smart-open" +version = "5.1.0" +description = "Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...)" +optional = false +python-versions = ">=3.6.*" +groups = ["main"] +markers = "python_version >= \"3.12\"" +files = [ + {file = "smart_open-5.1.0-py3-none-any.whl", hash = "sha256:2059b07f530c8c9e2158e4e1575309aacb74bd813da2325c1f348015d04f3bd6"}, + {file = "smart_open-5.1.0.tar.gz", hash = "sha256:e4dc1350b240ef0759e343e4e2f361bfd4e5477bb2619866e97f80240652e92e"}, +] + +[package.extras] +all = ["azure-common", "azure-core", "azure-storage-blob", "boto3", "google-cloud-storage", "requests"] +azure = ["azure-common", "azure-core", "azure-storage-blob"] +gcs = ["google-cloud-storage"] +http = ["requests"] +s3 = ["boto3"] +test = ["azure-common", "azure-core", "azure-storage-blob", "boto3", "google-cloud-storage", "moto[server] (==1.3.14)", "parameterizedtestcase", "paramiko", "pathlib2", "pytest", "pytest-rerunfailures", "requests", "responses"] +webhdfs = ["requests"] + [[package]] name = "smart-open" version = "7.1.0" @@ -1250,6 +1272,7 @@ description = "Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storag optional = false python-versions = "<4.0,>=3.7" groups = ["main"] +markers = "python_version <= \"3.11\"" files = [ {file = "smart_open-7.1.0-py3-none-any.whl", hash = "sha256:4b8489bb6058196258bafe901730c7db0dcf4f083f316e97269c66f45502055b"}, {file = "smart_open-7.1.0.tar.gz", hash = "sha256:a4f09f84f0f6d3637c6543aca7b5487438877a21360e7368ccf1f704789752ba"}, @@ -1699,5 +1722,5 @@ files = [ [metadata] lock-version = "2.1" -python-versions = "^3.10" -content-hash = "63a5c842aafa7166bcfbdd716b0d51a14f2df0827ad594e0f8d8bb3d74e7df54" +python-versions = ">=3.10" +content-hash = "3315c4aedc40f50a78569149ca711d514b9a06b30c9c3b5a6f1402e5abf7e032" diff --git a/pyproject.toml b/pyproject.toml index 62434ad..d5666e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,23 +1,25 @@ -[tool.poetry] +[project] name = "d3lta" version = "1.0.2" description = "A library for detecting verbatim-duplicated contents within a vast amount of documents" readme = "README.md" -authors = ["Viginum"] +authors = [{ name = "VIGINUM" }] +license = { file = "LICENSE.txt" } +requires-python = ">=3.10" +dependencies = [ + "faiss-cpu==1.9.0.post1", + "fasttext==0.9.3", + "gensim==4.3.3", + "networkx==2.8.8", + "pandas==2.2.3", + "polyleven==0.8", + "scipy==1.12.0", + "tensorflow==2.18.0", + "tensorflow-hub==0.16.1", + "tensorflow-text==2.18.1", + "tqdm==4.67.1", +] -[tool.poetry.dependencies] -python = "^3.10" -faiss-cpu = "1.9.0.post1" -fasttext = "0.9.3" -gensim = "4.3.3" -networkx = "2.8.8" -pandas = "2.2.3" -polyleven = "0.8" -scipy = "1.12.0" -tensorflow = "2.18.0" -tensorflow-hub = "0.16.1" -tensorflow-text = "2.18.1" -tqdm = "4.67.1" [tool.poetry.group.dev] optional = true