Skip to content

Conversation

@hfudev
Copy link
Member

@hfudev hfudev commented Sep 8, 2025

No description provided.

@hfudev hfudev requested a review from Copilot September 8, 2025 13:56
Copy link

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 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.

@hfudev hfudev merged commit 974ece8 into main Sep 9, 2025
4 of 5 checks passed
@hfudev hfudev deleted the bump/python-3.10 branch September 9, 2025 12:05
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