Skip to content

Feature Request: Support for Python 3.5+ and Legacy Installation Option #17

@rahlk

Description

@rahlk

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:

  1. 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).
  2. 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.
  3. 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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions