Skip to content

added version to tracker.py#682

Merged
mrpositron merged 2 commits intomainfrom
nauryzbay-trn-1874-track-version
Apr 2, 2026
Merged

added version to tracker.py#682
mrpositron merged 2 commits intomainfrom
nauryzbay-trn-1874-track-version

Conversation

@mrpositron
Copy link
Copy Markdown
Contributor

What has changed and why?

Added lightly version to the tracker.py.

How has it been tested?

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

Did you update the documentation?

  • Yes
  • Not needed (internal change without effects for user)

Copilot AI review requested due to automatic review settings April 2, 2026 12:25
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

@mrpositron
Copy link
Copy Markdown
Contributor Author

/review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Lightly Train package version to analytics events emitted by the event tracker.

Changes:

  • Import lightly_train in the tracker module to access __version__.
  • Add a version field to the PostHog event payload generated in track_event().

Comment thread src/lightly_train/_events/tracker.py Outdated
Comment thread src/lightly_train/_events/tracker.py Outdated
Copy link
Copy Markdown
Contributor

@yutong-xiang-97 yutong-xiang-97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the issues above.

@mrpositron mrpositron enabled auto-merge (squash) April 2, 2026 12:56
@mrpositron mrpositron merged commit aed079e into main Apr 2, 2026
16 of 18 checks passed
@mrpositron mrpositron deleted the nauryzbay-trn-1874-track-version branch April 2, 2026 13: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.

5 participants