chore: bump version to 0.9.5#341
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
WalkthroughIncremented package version from 0.9.4 to 0.9.5 in dcs_core/version.py and pyproject.toml. No other files or logic changed. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
dcs_core/__version__.py(1 hunks)pyproject.toml(1 hunks)
🔇 Additional comments (1)
dcs_core/__version__.py (1)
15-15: LGTM: version updated to 0.9.5.Matches pyproject version.
| [tool.poetry] | ||
| name = "dcs-core" | ||
| version = "0.9.4" | ||
| version = "0.9.5" |
There was a problem hiding this comment.
🛠️ Refactor suggestion | 🟠 Major
🧩 Analysis chain
Version bump looks good; verify consistency and stale refs.
Aligned with dcs_core.version. Run the script below to confirm no leftover 0.9.4 references and that versions match.
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Compare versions between pyproject.toml and dcs_core/__version__.py
ver_toml=$(sed -n 's/^[[:space:]]*version[[:space:]]*=[[:space:]]*"\(.*\)".*/\1/p' pyproject.toml | head -1)
ver_py=$(sed -n 's/^[[:space:]]*__version__[[:space:]]*=[[:space:]]*"\(.*\)".*/\1/p' dcs_core/__version__.py | head -1)
echo "pyproject.toml version: $ver_toml"
echo "__version__.py version: $ver_py"
test "$ver_toml" = "$ver_py"
# Search for lingering old version strings
old_ver="0.9.4"
echo "Searching for lingering references to $old_ver ..."
rg -nP --hidden --glob '!**/.git/**' "$old_ver" || echo "No references found."Length of output: 278704
Escape dots when verifying old version references
The current rg -P '0.9.4' treats . as wildcards and flags unrelated entries in poetry.lock and assets. Replace with a fixed‐string search or escape the dots and limit to source files, for example:
# Confirm no lingering 0.9.4 in code (excluding lock and asset files)
rg -nF '0.9.4' --glob '!poetry.lock' --glob '!**/*.svg' .🤖 Prompt for AI Agents
In pyproject.toml around line 3, the review points out that using a regex search
like 'rg -P '0.9.4'' treats dots as wildcards and returns false positives;
update any verification steps or documentation/scripts to either escape the dots
(e.g. use '0\.9\.4') or use fixed-string search (rg -nF '0.9.4') and restrict
globs to source files (exclude poetry.lock and asset files like SVGs) so only
actual code references are matched.
User description
Fixes/Implements
Description
Summary Goes here.
Type of change
Delete irrelevant options.
How Has This Been Tested?
PR Type
Other
Description
File Walkthrough
__version__.py
Update version string to 0.9.5dcs_core/version.py
__version__string from "0.9.4" to "0.9.5"pyproject.toml
Update project version to 0.9.5pyproject.toml
Summary by CodeRabbit