Title: Fix issue 13: Downgrade to python 3.10 by rahlk · Pull Request #14 · codellm-devkit/codeanalyzer-python · GitHub
Open Graph Title: Fix issue 13: Downgrade to python 3.10 by rahlk · Pull Request #14 · codellm-devkit/codeanalyzer-python
X Title: Fix issue 13: Downgrade to python 3.10 by rahlk · Pull Request #14 · codellm-devkit/codeanalyzer-python
Description: Motivation and Context This change addresses a critical backwards compatibility issue where the package unnecessarily required Python 3.12+ as highlighted in issue #13, blocking adoption for users on Python 3.10/3.11 environments. After comprehensive code analysis, no Python 3.11+ or 3.12+ specific features were found in the codebase, making the stricter version requirement unjustified. The change also includes a major refactoring of the core class from AnalyzerCore to Codeanalyzer to provide better library naming consistency and enable direct library imports. How Has This Been Tested? ✅ Verified all Python features used (ast.unparse(), built-in generics, type hints) are compatible with Python 3.10 ✅ Confirmed no Python 3.11+ features (ExceptionGroup, TaskGroup, tomllib, match/case, Self types) are used ✅ Validated all dependencies support Python 3.10+ ✅ Tested CLI functionality remains intact after class rename ✅ Verified library import works: from codeanalyzer import Codeanalyzer ✅ Created and tested sample library usage script Breaking Changes BREAKING: Renamed AnalyzerCore class to Codeanalyzer - users importing the class directly will need to update their imports BREAKING: Changed Python version requirement from >=3.12 to ==3.10 - this actually improves compatibility but is technically a breaking change in version specification CLI usage remains unchanged and backward compatible Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the Codellm-Devkit Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context Key Changes: Class Rename: AnalyzerCore → Codeanalyzer for better naming consistency Library Interface: Added direct import capability: from codeanalyzer import Codeanalyzer Python Compatibility: Downgraded requirement from >=3.12 to ==3.10 for backwards compatibility Documentation: Updated changelog, created bug report, and updated all references Impact: High Impact: Enables adoption for Python 3.10 users (enterprise environments, CI/CD systems) Medium Impact: Provides cleaner library interface for programmatic usage Low Risk: All functionality preserved, only naming and compatibility improvements Files Changed: core.py - Renamed class and updated type hints main.py - Updated imports and usage init.py - Added library exports pyproject.toml - Updated Python version and bumped to 0.2.1 CHANGELOG.md - Documented all changes BUG_REPORT_PYTHON_DOWNGRADE.md - Created comprehensive bug analysis This release significantly improves the package's accessibility while maintaining all existing functionality.
Open Graph Description: Motivation and Context This change addresses a critical backwards compatibility issue where the package unnecessarily required Python 3.12+ as highlighted in issue #13, blocking adoption for users ...
X Description: Motivation and Context This change addresses a critical backwards compatibility issue where the package unnecessarily required Python 3.12+ as highlighted in issue #13, blocking adoption for users ...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-python/pull/14
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a1a1ffaa-7aba-e1ca-00ce-58ab78ec0903 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A2A8:D7A41:FD87D:15D8EB:698F3E5C |
| html-safe-nonce | ace8ff247595b81bb91425b07f99ea13afcb0de61837c04718dad4e40c8f5a86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkE4OkQ3QTQxOkZEODdEOjE1RDhFQjo2OThGM0U1QyIsInZpc2l0b3JfaWQiOiIxMzQ5MTkxOTEyNTUzMTM1NzA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 23a1939c807a17cbf60b25f10336f3555c390bc84cae29e75913a7a0b4b83d46 |
| hovercard-subject-tag | pull_request:2664823097 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codellm-devkit/codeanalyzer-python/pull/14/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| og:image:alt | Motivation and Context This change addresses a critical backwards compatibility issue where the package unnecessarily required Python 3.12+ as highlighted in issue #13, blocking adoption for users ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/codeanalyzer-python git https://github.com/codellm-devkit/codeanalyzer-python.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 978344904 |
| octolytics-dimension-repository_nwo | codellm-devkit/codeanalyzer-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 978344904 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/codeanalyzer-python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d6ba6f2bfbf6399a7c07495a912727369e95bfe8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width