Upgrade aiosonic
Currently datadog-api-client pins aiosonic==0.15.1 The current version is aiosonic 0.24.0
It was pinned for a reason related to onecache that no longer applies
Quite a few nasty bugs have been fixed in aiosonic in the meantime:
- https://github.com/sonic182/aiosonic/issues/473
- https://github.com/sonic182/aiosonic/issues/448 I've been experiencing some cryptic bugs which I think are related.
I don't know why aiosonic was selected as the backbone for this library, but I'd reevaluate this dependency.
I opened a PR for this over at https://github.com/DataDog/datadog-api-client-python/pull/2522 btw
I am also seeing strange timeouts, likely related to connection handling. Upgrading means I would at least be able to exclude old aiosonic issues. For now I will interact directly with the Rest API using aiohttp.
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
-
Verify that you can still reproduce the issue in the latest version of this project.
-
Comment that the issue is still reproducible and include updated details requested in the issue template.
The issue is still relevant
cc @damfleu would it be possible to get a review or merge on https://github.com/DataDog/datadog-api-client-python/pull/2522 ?
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
-
Verify that you can still reproduce the issue in the latest version of this project.
-
Comment that the issue is still reproducible and include updated details requested in the issue template.
Another good reason to update this is to import security fixes from transitive dependencies (e.g., aiosonic relying on h2: https://github.com/python-hyper/h2/security/advisories/GHSA-847f-9342-265h).
Hi,
I'm the author of aiosonic, very happy of seeing the package in datadog ❤️
The most important fix was made in 0.22.3 https://github.com/sonic182/aiosonic/blob/master/CHANGELOG.md#0223-2025-02-10 that caused a lot of problems, you should be ok with any version after it
A note: it seems that you use proxy (if configured) it didn't work for https before 0.18.1