Skip to content

Feature/develop/update_project_environment_uv#76

Merged
christianchimezie merged 6 commits into
developfrom
feature/develop/update_project_environment_uv
Jan 16, 2026
Merged

Feature/develop/update_project_environment_uv#76
christianchimezie merged 6 commits into
developfrom
feature/develop/update_project_environment_uv

Conversation

@christianchimezie

Copy link
Copy Markdown
Collaborator

Migrated Project to UV

Migrate the project from pip to uv for faster and more reliable dependency management. This change improves developer experience with 10-100x faster installations and better dependency resolution.

Changes:
- Update pyproject.toml to modern PEP 621 format with [project] section
- Change build backend from setuptools to hatchling (uv-compatible)
- Update requires-python from >=3.8 to >=3.9 (required by matplotlib>=3.8.0)
- Generate uv.lock file for reproducible builds across environments
- Update GitHub Actions workflows to use astral-sh/setup-uv@v5
- Add bandit>=1.7 to dev dependencies for security scanning
- Update README.md with uv installation and usage instructions
- Update CONTRIBUTING.md with comprehensive uv workflow guidance

All commands now show both uv (recommended) and pip (traditional) options for contributor flexibility.
@christianchimezie christianchimezie self-assigned this Jan 16, 2026
Update tests to expect PlotSenseConfigError instead of ValueError when
API keys are missing. Also ensure GROQ_API_KEY environment variable is
properly cleared during tests to validate error handling.

Changes:
- Import PlotSenseConfigError in test_explanations.py
- Update test_init_without_api_keys_non_interactive to expect PlotSenseConfigError
- Update test_validate_keys_missing to expect PlotSenseConfigError
- Clear GROQ_API_KEY environment variable during tests to ensure proper validation
- Restore environment variable after tests complete

Fixes failing CI tests in python-tests.yml workflow.
Remove emoji characters and trailing spaces from Groq API key URLs in
error messages for better consistency and readability.

Changes:
- Remove emoji decorators from service link in explanations.py
- Remove trailing space from service link in suggestions.py

These changes ensure error messages are professional and consistent
across the codebase.
@christianchimezie
christianchimezie merged commit 31888cf into develop Jan 16, 2026
14 checks passed
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.

1 participant