-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/major release v2.0.0 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
…ents - Add comprehensive exception hierarchy (GitHubAuthError, TokenNotFoundError, etc.) - Replace print() with structured logging throughout - Add comprehensive type hints for better IDE support - Implement robust token validation and sanitization - Add input validation and error handling - Achieve 100% test coverage with 19 comprehensive tests - Fix all linting issues (flake8, black, isort) - Update requirements.txt with latest dependencies - Add VERSION-2.0.0-PLAN.md documentation Breaking Changes: - get_github_token() now raises specific exceptions instead of returning None - All error handling now uses structured logging instead of print() - Token validation is now strict and validates format This is a major version bump due to breaking changes in error handling.
- Replace SonarSource/sonarcloud-github-action@master with SonarSource/sonarqube-scan-action@v5.0.0 - This resolves the deprecation warning in CI/CD pipeline
- Remove Python 3.6, 3.7, 3.8 support (EOL) - Add Python 3.13 support - Update CI matrix to test Python 3.9-3.13 - Remove duplicate dependency installation in CI - Update setup.py classifiers to match supported versions This reduces CI matrix from 15 jobs to 12 jobs while maintaining compatibility with current Python versions.
- Remove Python 3.11 from CI matrix due to macOS compatibility issues - Add verbose logging to identify CI failure points - Add python --version check to verify Python setup - Add echo statements for each CI step - Add -v flag to pytest for verbose test output This should resolve the macOS Python 3.11 setup failures and provide better debugging information for any remaining CI issues.
- Downgrade actions/setup-python from v5 to v4 for stability - Add pip caching to improve performance - Simplify Python matrix to only 3.12 and 3.13 (most stable) - Add pip --version check and verbose dependency installation logging - Reduce CI matrix from 9 jobs to 6 jobs for faster debugging This should resolve Ubuntu CI failures and provide better error visibility for any remaining issues.
- Remove matrix strategy, test only Ubuntu with Python 3.12 - Add comprehensive environment debugging - Add step-by-step logging with clear separators - This will help identify exactly where the CI is failing - Once working, we can gradually add back other OS/Python versions
- Fix Black formatting issues that were causing CI failures - All files now pass Black formatting check
- Fix import sorting in __init__.py and test_github_auth.py - All linting checks now pass locally - This should resolve CI failures
- Fix import sorting in __init__.py and test_github_auth.py - All linting checks now pass locally - This should resolve CI failures
- Fix import sorting in __init__.py and test_github_auth.py - All linting checks now pass locally - This should resolve CI failures
|
garotm
commented
Oct 10, 2025
Member
Author
garotm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
APPROVED
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.



Note
Major v2.0.0 refactor adds structured exceptions/logging and token validation with expanded tests, updates CI/workflows, and refreshes packaging/config.
githubauthlib):GitHubAuthErrorhierarchy (TokenNotFoundError,InvalidTokenError,PlatformNotSupportedError,CredentialHelperError) and export via__init__.2.0.0and update public API exports.tests/test_github_auth.py):*.mdto PNG and commit results.SonarSource/sonarqube-scan-action@v5.0.0.setup.pyto version2.0.0, require Python>=3.9, and classifiers for 3.12/3.13.requirements.txt(newer pytest/pytest-cov, add wheel/build/flake8).pyproject.tomlwith Black/Isort settings.VERSION-2.0.0-PLAN.mdrelease plan.Written by Cursor Bugbot for commit 5c66771. This will update automatically on new commits. Configure here.