From 4e235f410703b474a360ce511d98586ca5d2ba10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Aug 2026 15:53:43 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump the pip group across 1 directory with 3 updates Updates the requirements on [pytest](https://github.com/pytest-dev/pytest), [mypy](https://github.com/python/mypy) and [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version. Updates `pytest` to 9.1.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.1.1) Updates `mypy` to 2.3.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.19.1...v2.3.1) Updates `pre-commit` to 4.6.2 - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v4.3.0...v4.6.2) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.3.1 dependency-type: direct:development dependency-group: pip - dependency-name: pre-commit dependency-version: 4.6.2 dependency-type: direct:development dependency-group: pip - dependency-name: pytest dependency-version: 9.1.1 dependency-type: direct:development dependency-group: pip ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0ce5c41..5b85a99 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,14 +2,14 @@ # Install with: pip install -r requirements-dev.txt # Testing -pytest>=8.4.2 +pytest>=9.1.1 pytest-cov>=7.1.0 # Type checking -mypy>=1.19.1 +mypy>=2.3.1 types-PyYAML types-requests # Linting and formatting (via pre-commit) -pre-commit>=4.3.0 +pre-commit>=4.6.2 vulture>=2.16 From e5d0e906f833330bcf5abd18836a216aad6874e9 Mon Sep 17 00:00:00 2001 From: xnoto Date: Tue, 25 Aug 2026 11:40:40 -0600 Subject: [PATCH 2/2] chore: drop eol python 3.9 (pytest 9 and mypy 2 require >=3.10) --- .github/workflows/ci.yml | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 011609c..13b1ce1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/pyproject.toml b/pyproject.toml index 95200e2..d5e2f54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ "Topic :: Internet :: Name Service (DNS)", "Topic :: System :: Networking", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "cloudflare", "netifaces", @@ -49,7 +49,7 @@ Repository = "https://github.com/welchworks/cflan" Issues = "https://github.com/welchworks/cflan/issues" [tool.ruff] -target-version = "py39" +target-version = "py310" line-length = 88 indent-width = 4 @@ -84,7 +84,7 @@ paths = ["set_dns.py", "install.py"] min_confidence = 80 [tool.mypy] -python_version = "3.9" +python_version = "3.10" warn_return_any = true warn_unused_configs = true ignore_missing_imports = true