Skip to content

Lower Python version requirement from 3.11 to 3.9 for macOS compatibility#15

Closed
JRemitz wants to merge 1 commit intomainfrom
claude/loosen-python-version-DgNcj
Closed

Lower Python version requirement from 3.11 to 3.9 for macOS compatibility#15
JRemitz wants to merge 1 commit intomainfrom
claude/loosen-python-version-DgNcj

Conversation

@JRemitz
Copy link
Copy Markdown
Contributor

@JRemitz JRemitz commented Mar 31, 2026

  • Update requires-python, ruff target-version, and mypy python_version to 3.9
  • Replace datetime.UTC (3.11+) with datetime.timezone.utc in 4 files
  • Convert Typer command parameter annotations from X | Y to Optional[X]
    (Typer evaluates annotations at runtime via get_type_hints, and the |
    union syntax requires Python 3.10+ to evaluate)
  • Add UP045 to ruff ignore list since Optional[] is intentionally required
  • Non-Typer annotations are safe as-is due to from future import annotations

https://claude.ai/code/session_011VFp4sXdSNmKVpmRFRxuJA

…lity

- Update requires-python, ruff target-version, and mypy python_version to 3.9
- Replace datetime.UTC (3.11+) with datetime.timezone.utc in 4 files
- Convert Typer command parameter annotations from X | Y to Optional[X]
  (Typer evaluates annotations at runtime via get_type_hints, and the |
  union syntax requires Python 3.10+ to evaluate)
- Add UP045 to ruff ignore list since Optional[] is intentionally required
- Non-Typer annotations are safe as-is due to from __future__ import annotations

https://claude.ai/code/session_011VFp4sXdSNmKVpmRFRxuJA
@JRemitz
Copy link
Copy Markdown
Contributor Author

JRemitz commented Apr 2, 2026

Closing — CI is failing on the Python 3.11 test matrix. Will revisit Python version support separately.

@JRemitz JRemitz closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants