Description:
Expand compatibility to support Python versions 3.5 and above. Additionally, provide a legacy installation option via pip (pip install codeanalyzer[legacy]) to ensure backward compatibility for older Python environments.
Proposed Changes:
Compatibility Updates:
- Refactor codebase to ensure compatibility with Python 3.5+.
- Replace or conditionally handle features incompatible with Python 3.5 (e.g., type hints, f-strings).
Legacy Installation:
- Add a
legacy extra in pyproject.toml for dependencies compatible with Python 3.5. - Ensure the
codeanalyzer[legacy] installation includes all necessary adjustments for older environments.
Testing:
- Set up CI pipelines to test compatibility across Python versions 3.5 to 3.12+.
- Include legacy-specific tests to verify functionality in older environments.
CLI and Documentation Updates:
- Update the README to reflect Python 3.5+ support and the legacy installation option.
- Add examples for installing and using the legacy version:
pip install codeanalyzer[legacy]
Description:
Expand compatibility to support Python versions 3.5 and above. Additionally, provide a legacy installation option via pip (
pip install codeanalyzer[legacy]) to ensure backward compatibility for older Python environments.Proposed Changes:
Compatibility Updates:
Legacy Installation:
legacyextra in pyproject.toml for dependencies compatible with Python 3.5.codeanalyzer[legacy]installation includes all necessary adjustments for older environments.Testing:
CLI and Documentation Updates: