mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 13:31:58 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4df756ebf | ||
|
|
a10dccba22 | ||
|
|
8b84077e83 | ||
|
|
08d745d367 | ||
|
|
bf62abff3f | ||
|
|
40a47ed36d | ||
|
|
129b331603 | ||
|
|
328abd1306 |
21
CHANGES.rst
21
CHANGES.rst
@@ -8,6 +8,27 @@
|
|||||||
Changes
|
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
|
||||||
|
|
||||||
|
|
||||||
|
Version v0.10.4 (release 2023-02-10)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Version v0.10.2 (release 2023-02-02)
|
Version v0.10.2 (release 2023-02-02)
|
||||||
|
|
||||||
- change version name
|
- change version name
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ from .ext import InvenioConfigTugraz
|
|||||||
from .generators import RecordIp
|
from .generators import RecordIp
|
||||||
from .utils import get_identity_from_user_by_email
|
from .utils import get_identity_from_user_by_email
|
||||||
|
|
||||||
__version__ = "0.10.2"
|
__version__ = "0.12.1"
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
"__version__",
|
"__version__",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- 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
|
# 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
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
"""invenio module that adds tugraz configs."""
|
"""invenio module that adds tugraz configs."""
|
||||||
|
|
||||||
from flask_babelex import gettext as _
|
from invenio_i18n import gettext as _
|
||||||
|
|
||||||
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
|
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
|
||||||
"""Set True if SAML is configured"""
|
"""Set True if SAML is configured"""
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"""invenio module for TUGRAZ config."""
|
"""invenio module for TUGRAZ config."""
|
||||||
|
|
||||||
from flask import Blueprint, current_app, redirect, url_for
|
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):
|
def ui_blueprint(app):
|
||||||
|
|||||||
12
setup.cfg
12
setup.cfg
@@ -25,7 +25,6 @@ classifiers =
|
|||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
||||||
Topic :: Software Development :: Libraries :: Python Modules
|
Topic :: Software Development :: Libraries :: Python Modules
|
||||||
Programming Language :: Python :: 3.8
|
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: 3.10
|
Programming Language :: Python :: 3.10
|
||||||
Development Status :: 3 - Alpha
|
Development Status :: 3 - Alpha
|
||||||
@@ -33,19 +32,20 @@ classifiers =
|
|||||||
[options]
|
[options]
|
||||||
include_package_data = True
|
include_package_data = True
|
||||||
packages = find:
|
packages = find:
|
||||||
python_requires = >=3.8
|
python_requires = >=3.9
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
install_requires =
|
install_requires =
|
||||||
# keep this dependencies identical to invenio-app-rdm
|
# keep this dependencies identical to invenio-app-rdm
|
||||||
invenio-rdm-records>=0.39.0,<0.40.0
|
invenio-cache>=1.1.1,<2.0.0
|
||||||
invenio-cache>=1.1.1,<1.2.0
|
invenio-i18n>=2.0.0,<3.0.0
|
||||||
|
invenio-rdm-records>=4.0.0
|
||||||
|
|
||||||
[options.extras_require]
|
[options.extras_require]
|
||||||
tests =
|
tests =
|
||||||
pytest-black>=0.3.0
|
pytest-black>=0.3.0
|
||||||
Sphinx>=4.5.0
|
pytest-invenio>=2.1.0,<3.0.0
|
||||||
pytest-invenio>=1.4.7
|
|
||||||
invenio-search[opensearch2]>=2.1.0,<3.0.0
|
invenio-search[opensearch2]>=2.1.0,<3.0.0
|
||||||
|
Sphinx>=4.5.0
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
invenio_base.apps =
|
invenio_base.apps =
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import tempfile
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from flask_babelex import Babel
|
|
||||||
from invenio_db import InvenioDB, db
|
from invenio_db import InvenioDB, db
|
||||||
|
from invenio_i18n import InvenioI18N
|
||||||
from sqlalchemy_utils.functions import create_database, database_exists, drop_database
|
from sqlalchemy_utils.functions import create_database, database_exists, drop_database
|
||||||
|
|
||||||
from invenio_config_tugraz import InvenioConfigTugraz
|
from invenio_config_tugraz import InvenioConfigTugraz
|
||||||
@@ -49,7 +49,7 @@ def create_app(request):
|
|||||||
SQLALCHEMY_DATABASE_URI=DB,
|
SQLALCHEMY_DATABASE_URI=DB,
|
||||||
SQLALCHEMY_TRACK_MODIFICATIONS=False,
|
SQLALCHEMY_TRACK_MODIFICATIONS=False,
|
||||||
)
|
)
|
||||||
Babel(app)
|
InvenioI18N(app)
|
||||||
InvenioConfigTugraz(app)
|
InvenioConfigTugraz(app)
|
||||||
InvenioDB(app)
|
InvenioDB(app)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user