Skip to content

chore: downgrade python to 3.12#15

Merged
SebastienWae merged 1 commit intomainfrom
python-3.12
Jan 14, 2026
Merged

chore: downgrade python to 3.12#15
SebastienWae merged 1 commit intomainfrom
python-3.12

Conversation

@SebastienWae
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 14, 2026 19:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR downgrades the Python version requirement from 3.14 to 3.12 and adds necessary compatibility imports. The changes include updating Python version constraints across configuration files, adding from __future__ import annotations imports for forward compatibility, fixing exception handling syntax, and updating dependency locks.

Changes:

  • Python version downgraded from 3.14 to 3.12 across all configuration files
  • Added from __future__ import annotations imports to multiple source and test files
  • Fixed exception handling syntax in sessionsync/git.py
  • Updated dependency lockfile with Python 3.12 compatible wheels

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.python-version Updated Python version from 3.14 to 3.12
pyproject.toml Updated requires-python and classifier to 3.12
.github/workflows/ci.yml Updated Python version in all CI jobs to 3.12
.github/workflows/publish.yml Updated Python version in publish workflow to 3.12
uv.lock Updated lockfile with Python 3.12 requirements and wheels
sessionsync/git.py Fixed exception handling syntax
Multiple .py files Added from __future__ import annotations for compatibility
Comments suppressed due to low confidence (1)

sessionsync/git.py:4

  • This file uses str | None syntax (PEP 604 union types) but is missing from __future__ import annotations at the top. While Python 3.12 supports this syntax natively at runtime, adding the import ensures consistency with other files in the project and maintains forward compatibility patterns.
def get_current_branch() -> str | None:

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SebastienWae SebastienWae merged commit 70e9159 into main Jan 14, 2026
12 checks passed
@SebastienWae SebastienWae deleted the python-3.12 branch January 14, 2026 19:42
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