DanCardin / sqlalchemy-declarative-extensions

Library to declare additional kinds of objects not natively supported by SqlAlchemy/Alembic.
https://sqlalchemy-declarative-extensions.readthedocs.io/en/latest/
Apache License 2.0
32 stars 5 forks source link

fix: Ensure compatibility with sqlalchemy 1.3 and 2.0 #17

Closed DanCardin closed 1 year ago

DanCardin commented 1 year ago

Apparently my prior specific-version install of pip install sqlalchemy~=1.3 was, in fact, installing 1.4. So there were some minimal changes required to support 1.3.

While at it, it seemed prudent to test 2.0.0b4 at the same time. Largely requiring a bunch of changes to tests.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3790694572


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/sqlalchemy_declarative_extensions/role/ddl.py 4 6 66.67%
<!-- Total: 54 56 96.43% -->
Totals Coverage Status
Change from base Build 3714547734: -0.05%
Covered Lines: 1551
Relevant Lines: 1605

💛 - Coveralls