Skip to content

Migrate to Python 3.14 as minimum version#440

Open
ludeeus wants to merge 2 commits intomainfrom
claude/migrate-to-version-3-I04gr
Open

Migrate to Python 3.14 as minimum version#440
ludeeus wants to merge 2 commits intomainfrom
claude/migrate-to-version-3-I04gr

Conversation

@ludeeus
Copy link
Copy Markdown
Owner

@ludeeus ludeeus commented Jan 18, 2026

  • Update pyproject.toml to require Python 3.14
  • Update GitHub Actions workflow to test on Python 3.14
  • Update README badge to reflect Python 3.14
  • Fix typo in error message: "Timeouterror" → "Timeout error"

This change sets Python 3.14 as the minimum supported version for the project. The codebase already uses modern Python patterns (async/await, type hints, StrEnum) and requires no code refactoring for compatibility.

Note: poetry.lock will need to be regenerated when Python 3.14 is available in the CI environment.

- Update pyproject.toml to require Python 3.14
- Update GitHub Actions workflow to test on Python 3.14
- Update README badge to reflect Python 3.14
- Fix typo in error message: "Timeouterror" → "Timeout error"

This change sets Python 3.14 as the minimum supported version for the
project. The codebase already uses modern Python patterns (async/await,
type hints, StrEnum) and requires no code refactoring for compatibility.

Note: poetry.lock will need to be regenerated when Python 3.14 is
available in the CI environment.
Copilot AI review requested due to automatic review settings January 18, 2026 13:50
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 attempts to migrate the project to require Python 3.14 as the minimum supported version. It updates version specifications across configuration files, CI workflows, and documentation, and includes a typo fix in an error message.

Changes:

  • Updated Python version requirement from 3.13 to 3.14 in pyproject.toml (requires-python, poetry dependencies, and mypy configuration)
  • Updated GitHub Actions workflow (actions.yml) to use Python 3.14 for all jobs
  • Updated README badge to display Python 3.14
  • Fixed typo in error message: "Timeouterror" → "Timeout error"

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
pytraccar/client.py Fixed spelling error in timeout error message
pyproject.toml Updated Python version requirements from 3.13 to 3.14 in three locations
README.md Updated Python version badge from 3.13 to 3.14
.github/workflows/actions.yml Updated all Python version references from 3.13 to 3.14 in three jobs

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

@ludeeus ludeeus added the breaking-change For things that will require consumers of the project to adjust the implementation label Jan 18, 2026
Update python-versions metadata in poetry.lock to match Python 3.14
requirement in pyproject.toml. This resolves the CI error:
"pyproject.toml changed significantly since poetry.lock was last generated"

Note: The content-hash may need to be regenerated by running
`poetry lock` in an environment with Python 3.14 and network access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change For things that will require consumers of the project to adjust the implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants