Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLAlchemy integration fails to parse version 2.0.0rc1 #1811

Closed
peterschutt opened this issue Dec 29, 2022 · 0 comments · Fixed by #1812
Closed

SQLAlchemy integration fails to parse version 2.0.0rc1 #1811

peterschutt opened this issue Dec 29, 2022 · 0 comments · Fixed by #1812

Comments

@peterschutt
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants