From 9cc7c868d4a43f0c0453ae2f1be58ea55a075f60 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Mon, 23 Sep 2024 20:35:47 -0400 Subject: [PATCH] fix(build): Switched to dynamic dependencies to allow local relative dependencies --- Pipfile | 4 ++++ pyproject.toml | 12 +----------- setup.py | 8 ++++++++ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Pipfile b/Pipfile index 05866e2..df886ff 100644 --- a/Pipfile +++ b/Pipfile @@ -12,6 +12,10 @@ invenio-search = "*" invenio-utilities-tuw = "*" opensearch-dsl = "*" invenio-remote-user-data-kcworks = {file = ".", editable = true} +invenio-communities = {file = "./invenio_remote_user_data_kcworks/dependencies/invenio-communities", editable = true} +invenio-group-collections = {file = "./invenio_remote_user_data_kcworks/dependencies/invenio-group-collections", editable = true} +invenio-records-resources = {file = "./invenio_remote_user_data_kcworks/dependencies/invenio-records-resources", editable = true} +invenio-users-resources = {file = "./invenio_remote_user_data_kcworks/dependencies/invenio-users-resources", editable = true} [dev-packages] build = "*" diff --git a/pyproject.toml b/pyproject.toml index 64688cb..1b9916d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,17 +20,7 @@ classifiers = [ keywords = ["invenio", "inveniordm", "users", "research"] requires-python = ">=3.9" -dependencies = [ - "celery", - "click", - "deepdiff", - "invenio-app-rdm[opensearch2]<13.0.0", - "invenio-queues", - "invenio-search", - "invenio-utilities-tuw", - "opensearch-dsl", -] - +dynamic = ["dependencies"] [project.optional-dependencies] dev = [ diff --git a/setup.py b/setup.py index 2bd1529..96d4002 100644 --- a/setup.py +++ b/setup.py @@ -8,5 +8,13 @@ "invenio-records-resources @ file://./invenio_remote_user_data_kcworks/dependencies/invenio-records-resources", "invenio-communities @ file://./invenio_remote_user_data_kcworks/dependencies/invenio-communities", "invenio-group-collections @ file://./invenio_remote_user_data_kcworks/dependencies/invenio-group-collections", + "celery", + "click", + "deepdiff", + "invenio-app-rdm[opensearch2]<13.0.0", + "invenio-queues", + "invenio-search", + "invenio-utilities-tuw", + "opensearch-dsl", ], )