diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index 9711b27..8e80bfb 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -12,8 +12,8 @@ jobs: with: enable-cache: true cache-dependency-glob: "**/pyproject.toml" - - run: uv python install 3.10 - - run: uv python pin 3.10 + - run: uv python install 3.11 + - run: uv python pin 3.11 - run: just install lint-ci - run: just adr-check @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: python-version: - - "3.10" - "3.11" - "3.12" - "3.13" @@ -55,7 +54,6 @@ jobs: fail-fast: false matrix: python-version: - - "3.10" - "3.11" - "3.12" - "3.13" diff --git a/pyproject.toml b/pyproject.toml index 0a98b8a..1120108 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,14 +2,13 @@ name = "modern-di-aiogram" description = "modern-di integration for aiogram" authors = [{ name = "Artur Shiriev", email = "me@shiriev.ru" }] -requires-python = ">=3.10,<4" +requires-python = ">=3.11,<4" license = "MIT" readme = "README.md" keywords = ["dependency-injection", "di", "ioc-container", "modern-di", "aiogram", "telegram", "python"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", diff --git a/tests/factories.py b/tests/factories.py index 6b97633..f3244a1 100644 --- a/tests/factories.py +++ b/tests/factories.py @@ -8,7 +8,7 @@ def make_message_update(text: str = "hi", update_id: int = 1) -> Update: update_id=update_id, message=Message( message_id=1, - date=datetime.datetime.now(tz=datetime.timezone.utc), + date=datetime.datetime.now(tz=datetime.UTC), chat=Chat(id=1, type="private"), from_user=User(id=1, is_bot=False, first_name="Tester"), text=text,