Skip to content

Commit

Permalink
setup: move invenio-admin to optional
Browse files Browse the repository at this point in the history
* this step makes the invenio-admin dependency optional and keeps a
  backward compatibility while it makes it possible to remove on other
  packages too.
  • Loading branch information
utnapischtim committed Nov 7, 2024
1 parent 1baac21 commit 52aebab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ on:
jobs:
Python:
uses: inveniosoftware/workflows/.github/workflows/tests-python.yml@master

with:
extras: tests,admin
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
invenio-admin>=1.2.0
invenio-accounts>=3.0.0
invenio-base>=1.2.11
invenio-i18n>=2.0.0
Expand All @@ -40,6 +39,8 @@ tests =
pytest-invenio>=1.4.1
redis>=2.10.5
sphinx>=4.5
admin =
invenio-admin>=1.2.0
# Kept for backwards compatibility
postgresql =
mysql =
Expand Down

0 comments on commit 52aebab

Please sign in to comment.