Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR drops support for Python 3.7, 3.8, and 3.9, updating the minimum required Python version to 3.10. This enables the use of modern Python type hints and syntax throughout the codebase.
- Update minimum Python version from 3.7 to 3.10 across all packages
- Modernize type annotations to use built-in types instead of typing module equivalents
- Remove deprecated code and CLI options that were scheduled for removal in v2.0.0
Reviewed Changes
Copilot reviewed 38 out of 38 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| ruff.toml | Update target Python version from 3.7 to 3.10 |
| pytest-embedded/pyproject.toml | Update minimum Python requirement and remove old version classifiers |
| pytest-embedded/pytest_embedded/utils.py | Replace typing.Dict/List with built-in dict/list types |
| pytest-embedded/pytest_embedded/unity.py | Modernize type annotations and remove typing imports |
| pytest-embedded/pytest_embedded/plugin.py | Update type hints and remove deprecated CLI option |
| pytest-embedded/pytest_embedded/log.py | Replace typing union syntax with pipe operator |
| pytest-embedded/pytest_embedded/dut_factory.py | Modernize type annotations throughout |
| pytest-embedded/pytest_embedded/dut.py | Update type hints and imports |
| pytest-embedded/pytest_embedded/app.py | Replace Optional type hints with union syntax |
| pytest-embedded/tests/test_base.py | Remove deprecated test methods and update formatting |
| pytest-embedded-*/pyproject.toml | Update Python requirements across all sub-packages |
| pytest-embedded-/pytest_embedded_/*.py | Modernize type annotations in all modules |
| .pre-commit-config.yaml | Update hook versions and configuration |
| .github/workflows/test-python.yml | Update test matrix to start from Python 3.10 |
| CHANGELOG.md | Add comprehensive v2.0.0 release notes with breaking changes |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
375f17a to
8450dba
Compare
8450dba to
4963ff0
Compare
4963ff0 to
dc35678
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.