Feature/develop/update_project_environment_uv#76
Merged
christianchimezie merged 6 commits intoJan 16, 2026
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrated Project to UV