Skip to content

SQLAlchemy integration fails to parse version 2.0.0rc1 #1811

@peterschutt

Description

@peterschutt

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.12.1

Steps to Reproduce

Call sentry_sdk.init() with SQLAlchemy integration and install SQLAlchemy==2.0.0rc1.

Expected Result

no error

Actual Result

      @staticmethod
      def setup_once():
          # type: () -> None
      
          try:
              version = tuple(map(int, SQLALCHEMY_VERSION.split("b")[0].split(".")))
          except (TypeError, ValueError):
  >           raise DidNotEnable(
                  "Unparsable SQLAlchemy version: {}".format(SQLALCHEMY_VERSION)
              )
  E           sentry_sdk.integrations.DidNotEnable: Unparsable SQLAlchemy version: 2.0.0rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions