From 588c255461d1d32d09a5ab6cacfe717f7eca92ee Mon Sep 17 00:00:00 2001 From: bilal-aamer Date: Wed, 13 Dec 2023 20:12:13 +0530 Subject: [PATCH 1/2] Init pyproject transition --- pyproject.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..f916ca4fd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[project] +name = "opensearch-py-ml" +description = "OpenSearch Python Machine Learning Library" +readme = "README.md" +requires-python = ">=3.8" +license = {file = "LICENSE.txt"} + +dependencies = [ + "opensearch-py>=2", + "pandas>=1.5,<3", + "matplotlib>=3.6.0,<4", + "numpy>=1.24.0,<2", + "deprecated>=1.2.14,<2", +] + +# ToDo: get from "about" dict in setup.py +[project.urls] +homepage = "https://opensearch-project.github.io/opensearch-py-ml/index.html" +documentation = "https://opensearch.org/docs/latest/clients/opensearch-py-ml/" +repository = "https://github.com/opensearch-project/opensearch-py-ml" +changelog = "https://github.com/opensearch-project/opensearch-py-ml/blob/main/CHANGELOG.md" From 99c5b330ecefe9d958f8b908cad51efc52a26282 Mon Sep 17 00:00:00 2001 From: bilal-aamer Date: Wed, 13 Dec 2023 20:20:11 +0530 Subject: [PATCH 2/2] -s --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f916ca4fd..6d75431cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,6 @@ description = "OpenSearch Python Machine Learning Library" readme = "README.md" requires-python = ">=3.8" license = {file = "LICENSE.txt"} - dependencies = [ "opensearch-py>=2", "pandas>=1.5,<3",