Debian Patches

Status for sqlalchemy-utc/0.14.0-3

Patch Description Author Forwarded Bugs Origin Last update
tests-Use-SQLAlchemy-2.x-syntax-for-select.patch tests: Use SQLAlchemy 2.x syntax for select()
Since SQLAlchemy 2.0 the legacy format select[SOMETHING] isn't usable
anymore, version 1.4 introduced the newer format select(SOMETHING) and
allowed the usage of both formats for migration.

https://docs.sqlalchemy.org/en/20/errors.html#error-b8d9
Carsten Schoenert <c.schoenert@t-online.de> no 2024-05-26
tests-Adopt-decorators-to-recent-pytest-syntax.patch tests: Adopt decorators to recent pytest syntax
pytest.yield_fixture is deprecated and replaced by pytest.fixture.

tests/test_now.py:15
/build/sqlalchemy-utc-0.14.0/.pybuild/cpython3_3.11_sqlalchemy-utc/build/tests/test_now.py:15: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
@yield_fixture
Carsten Schoenert <c.schoenert@t-online.de> no 2024-05-26
tests-Move-import-of-function-declarative_base.patch tests: Move import of function declarative_base()
The source for the function declarative_base() has been moved to
sqlalchemy.orm. The deprecation is thrown a while in version 1.4 of
SQLalchemy.

The declarative_base() function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
Base = declarative_base()
Carsten Schoenert <c.schoenert@t-online.de> no 2024-05-26

All known versions for source package 'sqlalchemy-utc'

Links