question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working with older boto version

See original GitHub issue

Hello, we use it in Django==2.1.7 app and this row breaks the app.

https://github.com/getsentry/sentry-python/blob/cc08a6bed116e09db41c712c20ab63eb0a839e41/sentry_sdk/integrations/boto3.py#L36

For versions boto3==1.7.45 botocore==1.10.84

this throws AttributeError: 'str' object has no attribute 'hyphenize'

I’m not sure the base of the integrations but I thought they must be enabled in settings, but this part of Boto3Integration is triggered even if we have not enabled it in django settings.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
potiukcommented, Nov 16, 2020

FYI. i fixed those cases and runnig a test where I removed the limitation for Sentry 😃. Thanks for pointing in the right direction! https://github.com/apache/airflow/commit/c9f74a839eff923754a63b435635ec964b3de88a

1reaction
potiukcommented, Nov 16, 2020

Ah yeah!

@mock.patch('airflow.contrib.operators.dataproc_operator.uuid.uuid4', return_value='test')
Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS Boto3 Compatibility Issue, How can I install an older ...
So I'm trying to install the older version of Botocore, 1.24.0 or 1.23.41, but after looking at PyPi I can't seem to find...
Read more >
Troubleshoot Python (Boto 3) Lambda function runtime errors
To resolve the issue, create a Lambda layer that uses the latest version of Boto 3. Then, add the layer to your function's...
Read more >
Quickstart — Boto3 Docs 1.26.33 documentation - AWS
This guide details the steps needed to install or update the AWS SDK for Python. The SDK is composed of two key Python...
Read more >
Update boto3 version
I did a print on boto3.version and observed that Glue Python Shell job still uses 1.9.203 even if i see ... because of...
Read more >
Lambda Functions with Newer Version of boto3 than ...
To solve this problem, there are two steps: download the newer versions of boto3 and botocore into the lambda function's directory, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found