Compare commits

...

5 Commits

Author SHA1 Message Date
Christoph Ladurner
d4df756ebf release v0.12.1 2024-03-08 12:57:11 +01:00
Christoph Ladurner
a10dccba22 setup: remove upper limit of rdm-records 2024-03-08 12:56:37 +01:00
Christoph Ladurner
8b84077e83 release v0.12.0 2023-11-10 09:01:40 +01:00
Christoph Ladurner
08d745d367 setup: remove python3.8 support 2023-11-10 09:01:16 +01:00
Christoph Ladurner
bf62abff3f global: make it compatible with v12 2023-11-10 09:01:16 +01:00
6 changed files with 22 additions and 12 deletions

View File

@@ -8,6 +8,17 @@
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) Version v0.11.0 (release 2023-04-20)
- global: make package compatible with v11 - global: make package compatible with v11

View File

@@ -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.11.0" __version__ = "0.12.1"
__all__ = ( __all__ = (
"__version__", "__version__",

View File

@@ -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"""

View File

@@ -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):

View File

@@ -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,20 +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>=1.1.0,<2.0.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
flask-babel>=2,<3 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>=2.1.0,<3.0.0
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 =

View File

@@ -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)