When we updated away from a deprecated version of the Segment analytics package, a combination of lack of local environment leftovers + test coverage of the CLI tracking features + a bad configuration within the upstream package (see segmentio/analytics-python#325) meant that Spectacles was trying to find the old version but only had dependencies installed for the new version.
This change uses the correct import statement to use the new package.
Type of change
[x] Bug fix (fixes an issue)
[ ] New feature (adds functionality)
Related issues
Closes #760.
Checklists
Security
[x] Security impact of change has been considered
[x] Code follows security best practices and guidelines
Code review
[x] Pull request has a descriptive title and context useful to a reviewer
Change description
When we updated away from a deprecated version of the Segment analytics package, a combination of lack of local environment leftovers + test coverage of the CLI tracking features + a bad configuration within the upstream package (see segmentio/analytics-python#325) meant that Spectacles was trying to find the old version but only had dependencies installed for the new version.
This change uses the correct import statement to use the new package.
Type of change
Related issues
Closes #760.
Checklists
Security
Code review