feat: bump project version to 1.22.0
Some checks failed
Tests / test (macos-latest, 3.10) (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (windows-latest, 3.10) (push) Waiting to run
Tests / test (windows-latest, 3.11) (push) Waiting to run
Tests / test (windows-latest, 3.12) (push) Waiting to run
Lint / lint (push) Failing after 24s
Tests / test (ubuntu-latest, 3.10) (push) Failing after 43s
Tests / test (ubuntu-latest, 3.11) (push) Failing after 47s
Tests / test (ubuntu-latest, 3.12) (push) Failing after 1m10s

refactor: remove assistant version print
fix: use "rp" instead of "pr" in tests
This commit is contained in:
retoor 2025-11-07 19:13:41 +01:00
parent 0a5530cc57
commit 543dc44004
4 changed files with 12 additions and 17 deletions

View File

@ -18,6 +18,14 @@
## Version 1.21.0 - 2025-11-07
The project has been updated to version 1.21.0, and the release notes for version 1.20.0 are now included in the changelog.
**Changes:** 2 files, 10 lines
**Languages:** Markdown (8 lines), TOML (2 lines)
## Version 1.20.0 - 2025-11-07
The project has been updated to version 1.20.0. This release includes updated documentation and version information.

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "rp"
version = "1.20.0"
version = "1.21.0"
description = "R python edition. The ultimate autonomous AI CLI."
readme = "README.md"
requires-python = ">=3.10"

View File

@ -375,19 +375,6 @@ class Assistant:
def run_repl(self):
self.setup_readline()
signal.signal(signal.SIGINT, self.signal_handler)
print(
f"{Colors.BOLD}{Colors.CYAN}╔══════════════════════════════════════════════╗{Colors.RESET}"
)
print(
f"{Colors.BOLD}{Colors.CYAN}{Colors.RESET}{Colors.BOLD} RP Assistant v{__import__('rp').__version__} {Colors.RESET}{Colors.BOLD}{Colors.CYAN}{Colors.RESET}"
)
print(
f"{Colors.BOLD}{Colors.CYAN}╚══════════════════════════════════════════════╝{Colors.RESET}"
)
print(
f"{Colors.GRAY}Type 'help' for commands, 'exit' to quit, or start chatting.{Colors.RESET}"
)
print(f"{Colors.GRAY}AI calls will show costs and progress indicators.{Colors.RESET}\n")
while True:
try:
if self.background_monitoring:

View File

@ -20,7 +20,7 @@ class TestLogging:
result = setup_logging(verbose=False)
mock_makedirs.assert_called_once_with("/tmp/logs", exist_ok=True)
mock_get_logger.assert_called_once_with("pr")
mock_get_logger.assert_called_once_with("rp")
mock_logger.setLevel.assert_called_once_with(20) # INFO level
mock_handler.assert_called_once()
assert result == mock_logger
@ -49,7 +49,7 @@ class TestLogging:
result = setup_logging(verbose=True)
mock_makedirs.assert_not_called()
mock_get_logger.assert_called_once_with("pr")
mock_get_logger.assert_called_once_with("rp")
mock_logger.setLevel.assert_called_once_with(10) # DEBUG level
mock_logger.handlers.clear.assert_called_once()
mock_file_handler.assert_called_once()
@ -63,7 +63,7 @@ class TestLogging:
result = get_logger()
mock_get_logger.assert_called_once_with("pr")
mock_get_logger.assert_called_once_with("rp")
assert result == mock_logger
@patch("rp.core.logging.logging.getLogger")