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

Automated version control system: the agentops cli command is back! #652

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Jan 18, 2025

What Changed

  • Removed hardcoded version number from pyproject.toml
  • Added automatic version detection using git tags with hatch-vcs
  • Revived the agentops command line:
    • AgentOps now ships with the agentops CLI bin
    • You can check the version: agentops version

Why

Previously, we had to manually update the version number in pyproject.toml every time we made a release.
Now, the version is automatically picked up from git tags, making releases simpler and more reliable.

How to Use

  1. Check current version:
agentops version
  1. For new releases, just create and push a git tag:
git tag 0.3.25
git push origin 0.3.25

The package version will automatically match the latest git tag.

Changes Made

  1. pyproject.toml:
    • Added hatch-vcs to build dependencies
    • Removed static version number
    • Added version configuration
    • Added CLI entry point

@teocns teocns requested a review from areibman January 18, 2025 19:30
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentops/cli.py 0.00% 20 Missing ⚠️

📢 Thoughts on this report? Let us know!

@areibman
Copy link
Contributor

The CLI is long gone because time travel debugging is on pause

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