..
This file is part of Invenio.
Copyright (C) 2015-2018 CERN.
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.
============
Invenio-DB
============
.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-db.svg
:target: https://github.com/inveniosoftware/invenio-db/blob/master/LICENSE
.. image:: https://github.com/inveniosoftware/invenio-db/workflows/CI/badge.svg
:target: https://github.com/inveniosoftware/invenio-db/actions?query=workflow%3ACI
.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-db.svg
:target: https://coveralls.io/r/inveniosoftware/invenio-db
.. image:: https://img.shields.io/pypi/v/invenio-db.svg
:target: https://pypi.org/pypi/invenio-db
Database management for Invenio.
Further documentation available on https://invenio-db.readthedocs.io/
..
This file is part of Invenio.
Copyright (C) 2015-2024 CERN.
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.
Changes
=======
Version v1.3.1 (released 2024-11-14)
- uow: improve decorator to create uow if it's None
Version v1.3.0 (released 2024-11-04)
- uow: add "on_exception" lifecycle hook
* When an exception occurs and the unit of work is being rolled back, we
want to add the possibility to perform some clean-up actions that can
also be commited to the database.
* The new `on_exception` method is added because we want to keep
backwards compatibility and also introduce the same "triplet" of
methods as we have for the "happy path" (`on_register`, `on_commit`,
`on_post_commit`).
Version 1.2.0 (released 2024-10-01)
- uow: moved Unit of Work pattern and non-records Operations from
invenio-records-resources to invenio-db package
Version 1.1.5 (released 2023-09-11)
- shared: removed 'text()' from cursor.execute for SQLite
Version 1.1.4 (released 2023-08-18)
- shared: fix sqlalchemy op.execute statements due to latest sqlalchemy-continuum
Version 1.1.3 (released 2023-08-17)
- alembic: fix sqlalchemy op.execute statements due to latest sqlalchemy-continuum
Version 1.1.2 (released 2023-05-23)
- fix db engine dependencies
Version 1.1.1 (released 2023-05-22)
- upgrade minimal python version
- code formatting
- force installing greenlet dependency
- upper pin alembic dependency version
Version 1.0.15 (released 2023-05-17)
- yanked due to mixed commits in the release
Version 1.1.0 (released 2023-04-06)
- yanked, because of an incompatibility with Flask-SQLAlchemy v3.
Version 1.0.14 (released 2022-03-30)
- Adds support for SQLAlchemy 1.4 and Flask v2.1.
Version 1.0.13 (released 2022-02-21)
- Changes alembic migrations to run a single migration in one transaction
instead of all migrations in a single transaction.
Version 1.0.12 (released 2022-02-14)
- Fixes a deprecation warning.
Version 1.0.11 (released 2022-02-08)
- Fixed issue with alembic version locations introduced in v1.0.10 due to the
importlib change.
Version 1.0.10 (released 2022-02-08)
- Adds a utility for creating an alembic test context to centrally manage
fixes for alembic migration tests in other modules.
- Replaces pkg_resources with importlib
Version 1.0.9 (released 2021-03-18)
- Pins Flask-SQLAlchemy below 2.5 due to breaking changes. Perhaps to revisit when fixed.
Version 1.0.8 (released 2020-11-16)
- Pins SQLAlchemy to >=1.2.18 and <1.4 due to incompatibility between
SQLAlchemy and SQLAlchemy-Utils.
Version 1.0.7 (released 2020-11-08)
- Hides password from output when running db init or db create.
- Disables MySQL 8 tests due to issue with Alembic
Version 1.0.6 (released 2020-10-02)
- Bump SQLAlchemy version to ``>=1.2.18`` to add support for PostgreSQL 12
- Integrate ``pytest-invenio`` and ``docker-services-cli`` for testing
- Support Python 3.8
Version 1.0.5 (released 2020-05-11)
- Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0
- Use centrally managed Flask version (through Invenio-Base)
- Bumped SQLAlchemy version to ``>=1.1.0``
- SQLAlchemy-Utils set to ``<0.36`` due to breaking changes with MySQL
(``VARCHAR`` length)
- Enriched documentation on DB session management
- Stop using example app
Version 1.0.4 (released 2019-07-29)
- Unpin sqlalchemy-continuum
- Added tests for postgresql 10
Version 1.0.3 (released 2019-02-22)
- Added handling in case of missing Sqlite db file.
Version 1.0.2 (released 2018-06-22)
- Pin SQLAlchemy-Continuum.
Version 1.0.1 (released 2018-05-16)
- Minor fixes in documenation links and the license file.
Version 1.0.0 (released 2018-03-23)
- Initial public release.
Raw data
{
"_id": null,
"home_page": "https://github.com/inveniosoftware/invenio-db",
"name": "invenio-db",
"maintainer": null,
"docs_url": "https://pythonhosted.org/invenio-db/",
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "invenio database",
"author": "CERN",
"author_email": "info@inveniosoftware.org",
"download_url": "https://files.pythonhosted.org/packages/36/42/d6c5541d6855a9711c49b9cd5fc219c6e168fca0d85a230c4c1413f4856e/invenio-db-1.3.1.tar.gz",
"platform": "any",
"description": "..\n This file is part of Invenio.\n Copyright (C) 2015-2018 CERN.\n\n Invenio is free software; you can redistribute it and/or modify it\n under the terms of the MIT License; see LICENSE file for more details.\n\n============\n Invenio-DB\n============\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-db.svg\n :target: https://github.com/inveniosoftware/invenio-db/blob/master/LICENSE\n\n.. image:: https://github.com/inveniosoftware/invenio-db/workflows/CI/badge.svg\n :target: https://github.com/inveniosoftware/invenio-db/actions?query=workflow%3ACI\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-db.svg\n :target: https://coveralls.io/r/inveniosoftware/invenio-db\n\n.. image:: https://img.shields.io/pypi/v/invenio-db.svg\n :target: https://pypi.org/pypi/invenio-db\n\n\nDatabase management for Invenio.\nFurther documentation available on https://invenio-db.readthedocs.io/\n\n..\n This file is part of Invenio.\n Copyright (C) 2015-2024 CERN.\n\n Invenio is free software; you can redistribute it and/or modify it\n under the terms of the MIT License; see LICENSE file for more details.\n\nChanges\n=======\n\nVersion v1.3.1 (released 2024-11-14)\n\n- uow: improve decorator to create uow if it's None\n\nVersion v1.3.0 (released 2024-11-04)\n\n- uow: add \"on_exception\" lifecycle hook\n * When an exception occurs and the unit of work is being rolled back, we\n want to add the possibility to perform some clean-up actions that can\n also be commited to the database.\n * The new `on_exception` method is added because we want to keep\n backwards compatibility and also introduce the same \"triplet\" of\n methods as we have for the \"happy path\" (`on_register`, `on_commit`,\n `on_post_commit`).\n\nVersion 1.2.0 (released 2024-10-01)\n\n- uow: moved Unit of Work pattern and non-records Operations from\n invenio-records-resources to invenio-db package\n\nVersion 1.1.5 (released 2023-09-11)\n\n- shared: removed 'text()' from cursor.execute for SQLite\n\nVersion 1.1.4 (released 2023-08-18)\n\n- shared: fix sqlalchemy op.execute statements due to latest sqlalchemy-continuum\n\nVersion 1.1.3 (released 2023-08-17)\n\n- alembic: fix sqlalchemy op.execute statements due to latest sqlalchemy-continuum\n\nVersion 1.1.2 (released 2023-05-23)\n\n- fix db engine dependencies\n\nVersion 1.1.1 (released 2023-05-22)\n\n- upgrade minimal python version\n- code formatting\n- force installing greenlet dependency\n- upper pin alembic dependency version\n\nVersion 1.0.15 (released 2023-05-17)\n\n- yanked due to mixed commits in the release\n\nVersion 1.1.0 (released 2023-04-06)\n\n- yanked, because of an incompatibility with Flask-SQLAlchemy v3.\n\nVersion 1.0.14 (released 2022-03-30)\n\n- Adds support for SQLAlchemy 1.4 and Flask v2.1.\n\nVersion 1.0.13 (released 2022-02-21)\n\n- Changes alembic migrations to run a single migration in one transaction\n instead of all migrations in a single transaction.\n\nVersion 1.0.12 (released 2022-02-14)\n\n- Fixes a deprecation warning.\n\nVersion 1.0.11 (released 2022-02-08)\n\n- Fixed issue with alembic version locations introduced in v1.0.10 due to the\n importlib change.\n\nVersion 1.0.10 (released 2022-02-08)\n\n- Adds a utility for creating an alembic test context to centrally manage\n fixes for alembic migration tests in other modules.\n\n- Replaces pkg_resources with importlib\n\nVersion 1.0.9 (released 2021-03-18)\n\n- Pins Flask-SQLAlchemy below 2.5 due to breaking changes. Perhaps to revisit when fixed.\n\nVersion 1.0.8 (released 2020-11-16)\n\n- Pins SQLAlchemy to >=1.2.18 and <1.4 due to incompatibility between\n SQLAlchemy and SQLAlchemy-Utils.\n\nVersion 1.0.7 (released 2020-11-08)\n\n- Hides password from output when running db init or db create.\n- Disables MySQL 8 tests due to issue with Alembic\n\nVersion 1.0.6 (released 2020-10-02)\n\n- Bump SQLAlchemy version to ``>=1.2.18`` to add support for PostgreSQL 12\n- Integrate ``pytest-invenio`` and ``docker-services-cli`` for testing\n- Support Python 3.8\n\nVersion 1.0.5 (released 2020-05-11)\n\n- Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0\n- Use centrally managed Flask version (through Invenio-Base)\n- Bumped SQLAlchemy version to ``>=1.1.0``\n- SQLAlchemy-Utils set to ``<0.36`` due to breaking changes with MySQL\n (``VARCHAR`` length)\n- Enriched documentation on DB session management\n- Stop using example app\n\nVersion 1.0.4 (released 2019-07-29)\n\n- Unpin sqlalchemy-continuum\n- Added tests for postgresql 10\n\nVersion 1.0.3 (released 2019-02-22)\n\n- Added handling in case of missing Sqlite db file.\n\nVersion 1.0.2 (released 2018-06-22)\n\n- Pin SQLAlchemy-Continuum.\n\nVersion 1.0.1 (released 2018-05-16)\n\n- Minor fixes in documenation links and the license file.\n\nVersion 1.0.0 (released 2018-03-23)\n\n- Initial public release.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Database management for Invenio.",
"version": "1.3.1",
"project_urls": {
"Homepage": "https://github.com/inveniosoftware/invenio-db"
},
"split_keywords": [
"invenio",
"database"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "25c8db4f7890c871b944b5ba931be925597ad64c276d1a33237f5160ed58b0c8",
"md5": "fb1059c03ab71597d3293ad384a44ee1",
"sha256": "9f07739b8854185b594ea7917dfb8443ffb309981c60d2f660da3e2c12fe7a2d"
},
"downloads": -1,
"filename": "invenio_db-1.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb1059c03ab71597d3293ad384a44ee1",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 18939,
"upload_time": "2024-11-14T14:23:44",
"upload_time_iso_8601": "2024-11-14T14:23:44.326414Z",
"url": "https://files.pythonhosted.org/packages/25/c8/db4f7890c871b944b5ba931be925597ad64c276d1a33237f5160ed58b0c8/invenio_db-1.3.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3642d6c5541d6855a9711c49b9cd5fc219c6e168fca0d85a230c4c1413f4856e",
"md5": "7d2a712d394de444bab63a8efd92e6d5",
"sha256": "275307e6a6980140f05ce765f54e0efc5f91a09cf206bdeecea874251f3aafbb"
},
"downloads": -1,
"filename": "invenio-db-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "7d2a712d394de444bab63a8efd92e6d5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 35682,
"upload_time": "2024-11-14T14:23:46",
"upload_time_iso_8601": "2024-11-14T14:23:46.038872Z",
"url": "https://files.pythonhosted.org/packages/36/42/d6c5541d6855a9711c49b9cd5fc219c6e168fca0d85a230c4c1413f4856e/invenio-db-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 14:23:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inveniosoftware",
"github_project": "invenio-db",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "invenio-db"
}