-
Notifications
You must be signed in to change notification settings - Fork 40
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
Deprecated function is removed from external package #56
Comments
Yes! We are also facing similar issue with opsgenie and we cannot afford upgrading version of opsgenie, as it uses another dependency package called urllib, whose upgraded version is not suitable for our system. It would be great if we could get stable and workable version of 2.0.3. Also, just a advice, it would be great if you defined correct version for each release in requirements. So, each version you release is workable. Otherwise, it's quite difficult to use the sdk |
We are using the opsgenie sdk to trigger alerts. Running a heartbeat_api.ping we end up with the following (partial) stacktrace
As @norbinto mentioned above we too suspect this to be related to the 8.0.0 release of tenacity and the lack of restricting the auto-upgrade. Changing the version of tenacity to Temporary fix PR created (#58) until all the method calls are updated to be compliant with 8.0.0 release of tenacity or switch to another library |
My bad. Not needed. The correct fix was already in place and we had not updated the opsgenie-sdk |
Dear Opsgenie,
We are facing with an issue with the SDK.
We use the version 2.0.3
You use an external package called "tenacity"
In the requirements you declare it as "tenacity>= 5.0.4"
api_client.py, line 197, "response_data = self.retrying.call(...)"
With the latest version of tenacity retry.call function is not only deprecated anymore but even removed. It was realised at 8th of July.
https://github.com/jd/tenacity/blob/master/releasenotes/notes/drop_deprecated-7ea90b212509b082.yaml
And it is breaking right now.
The text was updated successfully, but these errors were encountered: