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 Apr 2, 2024
1 parent 3c8e12e commit a19ae81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
CACHE: ${{ matrix.cache-service }}
DB: ${{ matrix.db-service }}
EXTRAS: tests
EXTRAS: tests,admin
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
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 a19ae81

Please sign in to comment.