Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-Flask-SQLAlchemy-3.1.1-3.3 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python311-Flask-SQLAlchemy Distribution: openSUSE Tumbleweed
Version: 3.1.1 Vendor: openSUSE
Release: 3.3 Build date: Thu Feb 1 06:13:58 2024
Group: Unspecified Build host: reproducible
Size: 210437 Source RPM: python-Flask-SQLAlchemy-3.1.1-3.3.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/mitsuhiko/flask-sqlalchemy
Summary: SQLAlchemy support for Flask
Adds SQLAlchemy support to your Flask application.

Provides

Requires

License

BSD-3-Clause

Changelog

* Thu Feb 01 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Add patch stop-using-utcnow.patch:
    * Use a callable wrapping datetime.now(utc) rather than utcnow().
* Thu Oct 19 2023 Matej Cepl <mcepl@cepl.eu>
  - Clean up the SPEC file
* Fri Sep 29 2023 Ondřej Súkup <mimi.vx@gmail.com>
  - update to 3.1.1
    * Deprecate the __version__ attribute.
    * Drop support for Python 3.7.
    * Add support for the SQLAlchemy 2.x API via model_class parameter.
    * Bump minimum version of SQLAlchemy to 2.0.16.
    * Remove previously deprecated code.
    * Pass extra keyword arguments from get_or_404 to session.get.
    * Fix bug with finding right bind key for clause statements.
* Wed Aug 02 2023 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 3.0.5:
    * ``Pagination.next()`` enforces ``max_per_page``.
    * Improve type hint for ``get_or_404`` return value to be non-optional.
    * Fix type hint for ``get_or_404`` return value.
    * Fix type hints for pyright (used by VS Code Pylance extension).
    * Show helpful errors when mistakenly using multiple ``SQLAlchemy``
      instances for the same app, or without calling ``init_app``
    * Fix issue with getting the engine associated with a model that uses
      polymorphic table inheritance.
  - Update URL.
* Sun Jun 11 2023 ecsos <ecsos@opensuse.org>
  - Add %{?sle15_python_module_pythons}
* Sat Dec 03 2022 John Vandenberg <jayvdb@gmail.com>
  - Remove  python-Flask-SQLAlchemy-no-mock.patch merged upstream
  - Update to v3.0.2
    * Update compatibility with SQLAlchemy 2.
  - from v3.0.1
    * Export typing information instead of using external typeshed definitions.
    * If default engine options are set, but SQLALCHEMY_DATABASE_URI is not set,
      an invalid default bind will not be configured.
  - from v3.0.0
    * Drop support for Python 2, 3.4, 3.5, and 3.6.
    * Bump minimum version of Flask to 2.2.
    * Bump minimum version of SQLAlchemy to 1.4.18.
    * Remove previously deprecated code.
    * The session is scoped to the current app context instead of the thread.
      This requires that an app context is active. This ensures that the
      session is cleaned up after every request.
    * An active Flask application context is always required to access session
      and engine, regardless of if an application was passed to the constructor.
    * Different bind keys use different SQLAlchemy MetaData registries,
      allowing tables in different databases to have the same name.
      Bind keys are stored and looked up on the resulting metadata rather
      than the model or table.
    * SQLALCHEMY_DATABASE_URI does not default to sqlite:///:memory:.
      An error is raised if neither it nor SQLALCHEMY_BINDS define any engines.
    * Configuring SQLite with a relative path is relative to app.instance_path
      instead of app.root_path. The instance folder is created if necessary.
    * Added get_or_404, first_or_404, one_or_404, and paginate methods to the
      extension object. These use SQLAlchemy's preferred session.execute(select())
      pattern instead of the legacy query interface.
    * Setup methods that create the engines and session are renamed with a
      leading underscore. They are considered internal interfaces which may
      change at any time.
    * All parameters to SQLAlchemy except app are keyword-only.
    * Renamed the bind parameter to bind_key and removed the app parameter
      from various SQLAlchemy methods.
    * The extension object uses __getattr__ to alias names from the SQLAlchemy
      package, rather than copying them as attributes.
    * The extension object is stored directly as app.extensions["sqlalchemy"].
    * The session class can be customized by passing the class_ key in the session_options parameter.
    * SignallingSession is renamed to Session.
    * Session.get_bind more closely matches the base implementation.
    * Model classes and the db instance are available without imports in flask shell.
    * The CamelCase to snake_case table name converter handles more patterns correctly.
      If model that was already created in the database changed, either use Alembic
      to rename the table, or set __tablename__ to keep the old name.
    * Model repr distinguishes between transient and pending instances.
    * A custom model class can implement __init_subclass__ with class parameters.
    * db.Table is a subclass instead of a function.
    * The engine_options parameter is applied as defaults before per-engine configuration.
    * SQLALCHEMY_BINDS values can either be an engine URL, or a dict of engine options
      including URL, for each bind. SQLALCHEMY_DATABASE_URI and SQLALCHEMY_ENGINE_OPTIONS
      correspond to the None key and take precedence.
    * Engines are created when calling init_app rather than the first time they are accessed.
    * db.engines exposes the map of bind keys to engines for the current app.
    * get_engine, get_tables_for_bind, and get_binds are deprecated.
    * SQLite driver-level URIs that look like sqlite:///file:name.db?uri=true are supported.
    * SQLite engines do not use NullPool if pool_size is 0.
    * MySQL engines use the "utf8mb4" charset by default.
    * MySQL engines do not set pool_size to 10.
    * MySQL engines don't set a default for pool_recycle if not using a queue pool.
    * Query is renamed from BaseQuery.
    * Added Query.one_or_404.
    * The query class is applied to backref in relationship.
    * Creating Pagination objects manually is no longer a public API.
      They should be created with db.paginate or query.paginate.
    * Pagination.iter_pages and Query.paginate parameters are keyword-only.
    * Pagination is iterable, iterating over its items.
    * Pagination count query is more efficient.
    * Pagination.iter_pages is more efficient.
    * Pagination.iter_pages right_current parameter is inclusive.
    * Pagination per_page cannot be 0.
    * Pagination max_per_page defaults to 100.
    * Added Pagination.first and last properties, which give the
      number of the first and last item on the page.
    * SQLALCHEMY_RECORD_QUERIES is disabled by default, and is not
      enabled automatically with app.debug or app.testing.
    * get_debug_queries is renamed to get_recorded_queries
      to better match the config and functionality.
    * Recorded query info is a dataclass instead of a tuple.
      The context attribute is renamed to location.
      Finding the location uses a more inclusive check.
    * SQLALCHEMY_TRACK_MODIFICATIONS is disabled by default.
    * SQLALCHEMY_COMMIT_ON_TEARDOWN is deprecated. It can cause various
      design issues that are difficult to debug. Call db.session.commit() directly instead.
* Tue May 17 2022 pgajdos@suse.com
  - do not require python-mock for build
  - added patches
    fix https://github.com/pallets-eco/flask-sqlalchemy/commit/20864ddfe4f9b70f20d38e5dc3f8d49c1ca99207
    + python-Flask-SQLAlchemy-no-mock.patch
* Thu Mar 03 2022 Dominique Leuenberger <dimstar@opensuse.org>
  - Work around test suite failure inside OBS: BuildRequire krb5.
    krb5 is a dependency to python (via tirpc), and inside OBS we get
    a slightly limited version of it as krb5-mini. The test suite of
    this package fails to pass with the mini flavor though. As -mini
    is never offered to actual users, we can get away with this
    workaround.
* Sun Apr 04 2021 Arun Persaud <arun@gmx.de>
  - specfile:
    * update copyright year
  - update to version 2.5.1:
    * Fix compatibility with Python 2.7.
  - changes from version 2.5.0:
    * Update to support SQLAlchemy 1.4.
    * SQLAlchemy URL objects are immutable. Some internal methods have
      changed to return a new URL instead of None. :issue:`885`
* Sat Jul 18 2020 Arun Persaud <arun@gmx.de>
  - update to version 2.4.4:
    * Change base class of meta mixins to type. This fixes an issue
      caused by a regression in CPython 3.8.4. :issue:`852`

Files

/usr/lib/python3.11/site-packages/flask_sqlalchemy
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/LICENSE.rst
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/METADATA
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/RECORD
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/flask_sqlalchemy-3.1.1.dist-info/WHEEL
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/cli.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/cli.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/extension.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/extension.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/model.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/model.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/pagination.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/pagination.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/query.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/query.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/record_queries.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/record_queries.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/session.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/session.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/table.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/table.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/track_modifications.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/__pycache__/track_modifications.cpython-311.pyc
/usr/lib/python3.11/site-packages/flask_sqlalchemy/cli.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/extension.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/model.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/pagination.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/py.typed
/usr/lib/python3.11/site-packages/flask_sqlalchemy/query.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/record_queries.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/session.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/table.py
/usr/lib/python3.11/site-packages/flask_sqlalchemy/track_modifications.py
/usr/share/doc/packages/python311-Flask-SQLAlchemy
/usr/share/doc/packages/python311-Flask-SQLAlchemy/CHANGES.rst
/usr/share/doc/packages/python311-Flask-SQLAlchemy/README.rst
/usr/share/licenses/python311-Flask-SQLAlchemy
/usr/share/licenses/python311-Flask-SQLAlchemy/LICENSE.rst


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024