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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5c8dcea4-f0ad-a881-7328-59ff8d5a5b67 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CAD4:653CE:111E6E:175919:698E2966 |
| html-safe-nonce | eb4e902f36d48fd5533ed66652ec035bbefe283689d7c1d51784c05ced8cfc2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUQ0OjY1M0NFOjExMUU2RToxNzU5MTk6Njk4RTI5NjYiLCJ2aXNpdG9yX2lkIjoiNzI3OTA0Nzg4OTk4NDAzOTI3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb3a6c21b3f62d9b5573efbc89d76a3221dd063f2284844ede6b1f438d1fafee |
| hovercard-subject-tag | pull_request:2664823097 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2f1e729d231ea1ea5a098d21f1491b75bea53631 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width