From 9b3c44aca86e6bc41a0223669f0cedd6fbd305e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:12:56 +0300 Subject: [PATCH 1/6] [pre-commit.ci] pre-commit autoupdate (#41) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.4.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.10.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- examples/attachment.py | 1 + examples/simple.py | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79e1a7e..d3b8e74 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ # * Run "pre-commit install". repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-toml - id: check-yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.4.2 hooks: - id: ruff args: [--fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.10.0 hooks: - id: mypy args: ["--explicit-package-bases"] diff --git a/examples/attachment.py b/examples/attachment.py index d30a692..7178a76 100644 --- a/examples/attachment.py +++ b/examples/attachment.py @@ -2,6 +2,7 @@ A simple command line tool that connects to an SMTP server, sends a mail message with an attachment and then exits. """ + from __future__ import annotations import logging diff --git a/examples/simple.py b/examples/simple.py index 66fcbb2..98b54f7 100644 --- a/examples/simple.py +++ b/examples/simple.py @@ -2,6 +2,7 @@ A simple command line tool that connects to an SMTP server, sends a mail message and then exits. """ + from __future__ import annotations import logging From 9c46888c10c1dd975163ad906577df4dd660b3a2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 09:38:22 +0300 Subject: [PATCH 2/6] [pre-commit.ci] pre-commit autoupdate (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d3b8e74..4ecfc2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.2 + rev: v0.4.3 hooks: - id: ruff args: [--fix, --show-fixes] From 00650065d879829d128de5aac9a6376f6596f83b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 01:29:39 +0300 Subject: [PATCH 3/6] [pre-commit.ci] pre-commit autoupdate (#43) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ecfc2f..0ed101c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.4.4 hooks: - id: ruff args: [--fix, --show-fixes] From a4ab9ab0af375d3730fcf2e8d2cf99562ee92901 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 15:25:01 +0300 Subject: [PATCH 4/6] [pre-commit.ci] pre-commit autoupdate (#44) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ed101c..496cf6f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.4.5 hooks: - id: ruff args: [--fix, --show-fixes] From a89f42a647df7e36f1f31389b32152ffa2f668d9 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Fri, 13 Dec 2024 10:21:47 +0100 Subject: [PATCH 5/6] Installed Asphalt v5.0 in CI, dropped Python 3.8 --- .github/workflows/test.yml | 6 ++++-- pyproject.toml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e67dcd3..fa62b04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -22,7 +22,9 @@ jobs: cache: pip cache-dependency-path: pyproject.toml - name: Install dependencies - run: pip install -e .[test] + run: | + pip install git+https://github.com/asphalt-framework/asphalt.git@5.0 + pip install -e .[test] - name: Test with pytest run: coverage run -m pytest -v - name: Generate coverage report diff --git a/pyproject.toml b/pyproject.toml index dd397de..bb6e59d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,13 +18,13 @@ classifiers = [ "Topic :: Communications :: Email", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "asphalt ~= 4.8", "smtpproto ~= 2.0", From 3dcbede565145043439d9f933e4438fe4c195c27 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Fri, 13 Dec 2024 10:44:27 +0100 Subject: [PATCH 6/6] Bumped Python in readthedocs --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 026b967..ac1099a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.8" + python: "3.9" sphinx: configuration: docs/conf.py