Skip to content

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
@codecov
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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

This pull request has been automatically marked as stale because it has not had any activity in the last 14 days.

If no updates are made within 7 days, this PR will be automatically closed.

@github-actions github-actions bot added the stale label Feb 6, 2025
@github-actions
Copy link
Contributor

This pull request has been automatically closed because it has been stale for 7 days with no activity.

Feel free to reopen this PR if you'd like to continue working on it.

@github-actions github-actions bot closed this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants