Skip to content

Commit

Permalink
fix(build): Switched to dynamic dependencies to allow local relative …
Browse files Browse the repository at this point in the history
…dependencies
  • Loading branch information
monotasker committed Sep 24, 2024
1 parent 6f70678 commit 9cc7c86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 4 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "*"
Expand Down
12 changes: 1 addition & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)

0 comments on commit 9cc7c86

Please sign in to comment.