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

Update analytics for compatibility with cloud SDK #376

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

michael-nml
Copy link
Collaborator

The analytics-python package currently used has a dependency on backoff ==1.10.0. This conflicts with the NannyML Cloud SDK which has a dependency on backoff >=1.11.1,<3.0 (because of its gql dependency).

This commit fixes that by updating the analytics package to the latest version. It was renamed to segment-analytics-python but still performs the same package as the original analytics-python.

The `analytics-python` package currently used has a dependency on
backoff `==1.10.0`. This conflicts with the NannyML Cloud SDK which has
a dependency on backoff `>=1.11.1,<3.0` (because of its `gql`
dependency).

This commit fixes that by updating the analytics package to the latest
version. It was renamed to `segment-analytics-python` but still performs
the same package as the original `analytics-python`.
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 78.44%. Comparing base (7da83e7) to head (c4048a0).

Files Patch % Lines
nannyml/analytics.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #376   +/-   ##
=======================================
  Coverage   78.44%   78.44%           
=======================================
  Files         110      110           
  Lines        8514     8514           
  Branches     1514     1514           
=======================================
  Hits         6679     6679           
  Misses       1472     1472           
  Partials      363      363           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nnansters nnansters merged commit d4f553f into main Apr 19, 2024
6 of 8 checks passed
@nnansters nnansters deleted the fix/sdk-compatibility branch April 19, 2024 21:17
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 this pull request may close these issues.

2 participants