Skip to content

Compatibility Issue: singer-sdk 0.43.1 Requires SQLAlchemy > 2.0 Due to ObjectKind Usage #114

Open
@Ronnos

Description

@Ronnos

After upgrading to singer sdk 0.43.1, we encountered a compatibility issue because of meltano/sdk@d3dcc8e

This change introduces the use of sqlalchemy.engine.reflection.ObjectKind, which requires SQLAlchemy 2.0+.

Currently, this package does not enforce sqlalchemy>=2.0, which leads to the following error when running with an older version of SQLAlchemy:

site-packages/singer_sdk/connectors/sql.py", line 998

AttributeError: module 'sqlalchemy.engine.reflection' has no attribute 'ObjectKind' 

Suggested Fix:

Please update pyproject.toml to explicitly require:
sqlalchemy >=2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions