Skip to content

Convert compare_runs.py to uvx-compatible package#1

Merged
dev-ankit merged 5 commits into
mainfrom
copilot/convert-compare-runs-to-uvx-tool
Jan 8, 2026
Merged

Convert compare_runs.py to uvx-compatible package#1
dev-ankit merged 5 commits into
mainfrom
copilot/convert-compare-runs-to-uvx-tool

Conversation

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown
Contributor
  • Update pyproject.toml to add project metadata and entry point
  • Add project.scripts section to define console script entry point
  • Test that the tool can be run with uvx
  • Update README.md with uvx usage instructions
  • Run existing tests to ensure no breakage
  • Address code review feedback (fix hatch config, update README examples)
  • Add LICENSE file and update pyproject.toml to reference it
  • Add uvx usage with GitHub URL to README
Original prompt

Can you make compare_runs.py a uvx tool?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 8, 2026 09:27
- Add build system configuration with hatchling
- Add project.scripts entry point for locust-compare command
- Add package metadata (authors, license, classifiers)
- Configure hatch build to include compare_runs.py
- Update README with uvx, pip, and direct execution instructions
- All existing tests still pass

Co-authored-by: dev-ankit <1901680+dev-ankit@users.noreply.github.com>
- Remove incorrect 'packages' setting from hatch build config
- Update README to show correct local uvx usage first
- Add note about PyPI publication for simplified uvx usage
- All tests continue to pass

Co-authored-by: dev-ankit <1901680+dev-ankit@users.noreply.github.com>
- Add MIT LICENSE file with standard license text
- Update pyproject.toml to reference LICENSE file
- LICENSE is now properly included in built wheels
- All tests continue to pass

Co-authored-by: dev-ankit <1901680+dev-ankit@users.noreply.github.com>
@dev-ankit

Copy link
Copy Markdown
Owner

@copilot can you add instructions tun directly using github url without cloning the repo as well?

Copilot AI changed the title [WIP] Make compare_runs.py a UVX tool Convert compare_runs.py to uvx-compatible package Jan 8, 2026
Copilot AI requested a review from dev-ankit January 8, 2026 09:34
- Add instruction to run directly from GitHub without cloning
- Reorganize uvx examples with GitHub URL first
- Update wording for PyPI example

Co-authored-by: dev-ankit <1901680+dev-ankit@users.noreply.github.com>

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot can you add instructions tun directly using github url without cloning the repo as well?

Added instructions to run directly from GitHub URL without cloning. The README now shows:

uvx --from git+https://github.com/dev-ankit/locust-compare.git locust-compare base_dir current_dir

This is now the first example in the uvx section. Commit: 8a60315

@dev-ankit dev-ankit marked this pull request as ready for review January 8, 2026 09:43
@dev-ankit dev-ankit merged commit 6fb17a1 into main Jan 8, 2026
5 checks passed
@dev-ankit dev-ankit deleted the copilot/convert-compare-runs-to-uvx-tool branch January 11, 2026 18:07
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