Metadata-Version: 2.1
Name: invenio-db
Version: 1.0.13
Summary: Database management for Invenio.
Home-page: https://github.com/inveniosoftware/invenio-db
Author: Invenio Collaboration
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio database
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: Flask-Alembic (>=2.0.1)
Requires-Dist: Flask-SQLAlchemy (<2.5.0,>=2.1)
Requires-Dist: importlib-metadata (>=4.4)
Requires-Dist: importlib-resources (>=5.0)
Requires-Dist: invenio-base (>=1.2.3)
Requires-Dist: SQLAlchemy-Utils (<0.36,>=0.33.1)
Requires-Dist: SQLAlchemy (<1.4.0,>=1.2.18)
Provides-Extra: all
Requires-Dist: Sphinx (==4.2.0) ; extra == 'all'
Requires-Dist: pymysql (>=0.10.1) ; extra == 'all'
Requires-Dist: psycopg2-binary (>=2.8.6) ; extra == 'all'
Requires-Dist: SQLAlchemy-Continuum (>=1.3.11) ; extra == 'all'
Requires-Dist: pytest-invenio (>=1.4.0) ; extra == 'all'
Requires-Dist: cryptography (>=2.1.4) ; extra == 'all'
Requires-Dist: mock (>=4.0.0) ; extra == 'all'
Provides-Extra: docs
Requires-Dist: Sphinx (==4.2.0) ; extra == 'docs'
Provides-Extra: mysql
Requires-Dist: pymysql (>=0.10.1) ; extra == 'mysql'
Provides-Extra: postgresql
Requires-Dist: psycopg2-binary (>=2.8.6) ; extra == 'postgresql'
Provides-Extra: tests
Requires-Dist: pytest-invenio (>=1.4.0) ; extra == 'tests'
Requires-Dist: cryptography (>=2.1.4) ; extra == 'tests'
Requires-Dist: mock (>=4.0.0) ; extra == 'tests'
Provides-Extra: versioning
Requires-Dist: SQLAlchemy-Continuum (>=1.3.11) ; extra == 'versioning'

..
    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-2022 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 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.


