mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4df756ebf | ||
|
|
a10dccba22 | ||
|
|
8b84077e83 | ||
|
|
08d745d367 | ||
|
|
bf62abff3f |
11
CHANGES.rst
11
CHANGES.rst
@@ -8,6 +8,17 @@
|
||||
Changes
|
||||
=======
|
||||
|
||||
Version v0.12.1 (release 2024-03-08)
|
||||
|
||||
- setup: remove upper limit of rdm-records
|
||||
|
||||
|
||||
Version v0.12.0 (release 2023-11-10)
|
||||
|
||||
- setup: remove python3.8 support
|
||||
- global: make it compatible with v12
|
||||
|
||||
|
||||
Version v0.11.0 (release 2023-04-20)
|
||||
|
||||
- global: make package compatible with v11
|
||||
|
||||
@@ -12,7 +12,7 @@ from .ext import InvenioConfigTugraz
|
||||
from .generators import RecordIp
|
||||
from .utils import get_identity_from_user_by_email
|
||||
|
||||
__version__ = "0.11.0"
|
||||
__version__ = "0.12.1"
|
||||
|
||||
__all__ = (
|
||||
"__version__",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2020-2022 Graz University of Technology.
|
||||
# Copyright (C) 2020-2023 Graz University of Technology.
|
||||
#
|
||||
# invenio-config-tugraz is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
"""invenio module that adds tugraz configs."""
|
||||
|
||||
from flask_babelex import gettext as _
|
||||
from invenio_i18n import gettext as _
|
||||
|
||||
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
|
||||
"""Set True if SAML is configured"""
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"""invenio module for TUGRAZ config."""
|
||||
|
||||
from flask import Blueprint, current_app, redirect, url_for
|
||||
from flask_babelex import get_locale
|
||||
from invenio_i18n import get_locale
|
||||
|
||||
|
||||
def ui_blueprint(app):
|
||||
|
||||
11
setup.cfg
11
setup.cfg
@@ -25,7 +25,6 @@ classifiers =
|
||||
Programming Language :: Python
|
||||
Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
||||
Topic :: Software Development :: Libraries :: Python Modules
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Development Status :: 3 - Alpha
|
||||
@@ -33,20 +32,20 @@ classifiers =
|
||||
[options]
|
||||
include_package_data = True
|
||||
packages = find:
|
||||
python_requires = >=3.8
|
||||
python_requires = >=3.9
|
||||
zip_safe = False
|
||||
install_requires =
|
||||
# keep this dependencies identical to invenio-app-rdm
|
||||
invenio-rdm-records>=1.1.0,<2.0.0
|
||||
invenio-cache>=1.1.1,<1.2.0
|
||||
flask-babel>=2,<3
|
||||
invenio-cache>=1.1.1,<2.0.0
|
||||
invenio-i18n>=2.0.0,<3.0.0
|
||||
invenio-rdm-records>=4.0.0
|
||||
|
||||
[options.extras_require]
|
||||
tests =
|
||||
pytest-black>=0.3.0
|
||||
Sphinx>=4.5.0
|
||||
pytest-invenio>=2.1.0,<3.0.0
|
||||
invenio-search[opensearch2]>=2.1.0,<3.0.0
|
||||
Sphinx>=4.5.0
|
||||
|
||||
[options.entry_points]
|
||||
invenio_base.apps =
|
||||
|
||||
@@ -18,8 +18,8 @@ import tempfile
|
||||
|
||||
import pytest
|
||||
from flask import Flask
|
||||
from flask_babelex import Babel
|
||||
from invenio_db import InvenioDB, db
|
||||
from invenio_i18n import InvenioI18N
|
||||
from sqlalchemy_utils.functions import create_database, database_exists, drop_database
|
||||
|
||||
from invenio_config_tugraz import InvenioConfigTugraz
|
||||
@@ -49,7 +49,7 @@ def create_app(request):
|
||||
SQLALCHEMY_DATABASE_URI=DB,
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS=False,
|
||||
)
|
||||
Babel(app)
|
||||
InvenioI18N(app)
|
||||
InvenioConfigTugraz(app)
|
||||
InvenioDB(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user