Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump major #95

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
Changes
=======

Version 5.0.0 (release 2024-12-10)

- comp: make compatible to flask-sqlalchemy>=3.1
- setup: bump major dependencies

Version 4.1.2 (release 2024-11-30)

- setup: change to reusable workflows
Expand Down
2 changes: 1 addition & 1 deletion invenio_pages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
from .ext import InvenioPages, InvenioPagesREST
from .records.models import PageList, PageModel

__version__ = "4.1.2"
__version__ = "5.0.0"

__all__ = ("__version__", "InvenioPages", "InvenioPagesREST", "PageModel", "PageList")
23 changes: 12 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# This file is part of Invenio.
# Copyright (C) 2015-2024 CERN.
# Copyright (C) 2024 Graz University of Technology.
#
# Copyright (C) 2024 Graz University of Technology.
# Invenio is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -36,25 +37,25 @@ packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
invenio-base>=1.3.0,<2.0.0
invenio-rest>=1.2.0,<2.0.0
invenio-records-resources>=1.0.5,<7.0.0
invenio-administration>=2.0.0,<3.0.0
invenio-base>=2.0.0,<3.0.0
invenio-rest>=2.0.0,<3.0.0
invenio-records-resources>=7.0.0,<8.0.0
invenio-administration>=3.0.0,<4.0.0

[options.extras_require]
tests =
pytest-cache>=1.0
pytest-black-ng>=0.3.0
invenio-app>=1.4.0,<2.0.0
pytest-invenio>=2.1.0,<3.0.0
invenio-db[postgresql,mysql]>=1.0.14,<2.0.0
pytest-black-ng>=0.4.0
invenio-app>=2.0.0,<3.0.0
pytest-invenio>=3.0.0,<4.0.0
invenio-db[postgresql,mysql]>=2.0.0,<3.0.0
sphinx>=4.5.0
elasticsearch7 =
invenio-search[elasticsearch7]>=2.1.0,<3.0.0
invenio-search[elasticsearch7]>=3.0.0,<4.0.0
opensearch1 =
invenio-search[opensearch1]>=2.1.0,<3.0.0
invenio-search[opensearch1]>=3.0.0,<4.0.0
opensearch2 =
invenio-search[opensearch2]>=2.1.0,<3.0.0
invenio-search[opensearch2]>=3.0.0,<4.0.0

[options.entry_points]
invenio_base.apps =
Expand Down
3 changes: 2 additions & 1 deletion tests/alembic/test_alembic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2024 Graz University of Technology.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -21,7 +22,7 @@ def test_alembic(base_app, db):

base_app.config["ALEMBIC_CONTEXT"] = alembic_test_context()
# Check that this package's SQLAlchemy models have been properly registered
tables = [x.name for x in db.get_tables_for_bind()]
tables = [x for x in db.metadata.tables]

assert "pages_page" in tables
assert "pages_pagelist" in tables
Expand Down