From 60ecc52464766512415cab3d22fa173f3c3c2dc5 Mon Sep 17 00:00:00 2001 From: Kyle King Date: Tue, 12 Sep 2023 19:00:14 -0400 Subject: [PATCH] fix: drop support for Python 3.8 --- .copier-answers.yml | 4 ++-- .flake8 | 2 +- .github/workflows/ci_pipeline.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/update_docs.yml | 2 +- .mypy.ini | 2 +- .pylintrc | 2 +- .ruff.toml | 2 +- .tool-versions | 2 +- pyproject.toml | 7 +++---- 10 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 3b73fce..8653c00 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -13,8 +13,8 @@ development_branch: main doc_dir: docs extends_calcipy: false install_extras: '' -minimum_python: 3.8.12 -minimum_python_short: '3.8' +minimum_python: 3.9.13 +minimum_python_short: '3.9' package_name_py: tail_jsonl project_description: Pretty Print Tailed JSONL Logs project_name: tail-jsonl diff --git a/.flake8 b/.flake8 index 8f6cd1c..76b793c 100644 --- a/.flake8 +++ b/.flake8 @@ -6,7 +6,7 @@ ignore = E501,PIE786,W503 max-function-length = 55 max-line-length = 120 -min-python-version = 3.8 +min-python-version = 3.9 per-file-ignores= # Enforcing beartype on @nox_session doesn't make sense *noxfile.py:RBT001, diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index fae38d9..e94e198 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python-version: ["3.8"] + python-version: ["3.9"] steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup @@ -38,7 +38,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - python-version: ["3.8"] + python-version: ["3.9"] steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup @@ -54,7 +54,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python-version: ["3.8"] + python-version: ["3.9"] steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 67b0317..5c27499 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8"] + python-version: ["3.9"] language: [python] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml index 975d004..93c947f 100644 --- a/.github/workflows/update_docs.yml +++ b/.github/workflows/update_docs.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python-version: ["3.8"] + python-version: ["3.9"] steps: - uses: actions/checkout@v4 with: diff --git a/.mypy.ini b/.mypy.ini index b536fae..ab54b7c 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -1,7 +1,7 @@ # Global options: [mypy] -python_version = 3.8 +python_version = 3.9 check_untyped_defs = True disallow_any_decorated = False diff --git a/.pylintrc b/.pylintrc index 3b990f1..615dbac 100644 --- a/.pylintrc +++ b/.pylintrc @@ -2,7 +2,7 @@ enable-all-extensions=yes fail-under=8 ignore=tests -py-version=3.8 +py-version=3.9 suggestion-mode=yes load-plugins= diff --git a/.ruff.toml b/.ruff.toml index bdc203a..6e81154 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -33,7 +33,7 @@ ignore = [ ] line-length = 120 select = ['ALL'] -target-version = 'py38' +target-version = 'py39' unfixable = [ 'ERA001', # Commented out code ] diff --git a/.tool-versions b/.tool-versions index 73a7d51..0675ff9 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -python 3.11.2 3.8.12 +python 3.11.2 3.9.13 diff --git a/pyproject.toml b/pyproject.toml index 230a27b..b681bf4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", ] # https://pypi.org/classifiers/ description = "Pretty Print Tailed JSONL Logs" @@ -29,12 +28,12 @@ repository = "https://github.com/kyleking/tail-jsonl" version = "1.2.5" [tool.poetry.dependencies] -python = "^3.8.12" +python = "^3.9.13" corallium = ">=0.3.3" dotted-notation = ">=0.9.2" [tool.poetry.group.dev.dependencies] -calcipy = {extras = ["doc", "lint", "nox", "stale", "tags", "test", "types"], version = ">=1.6.3"} +calcipy = {extras = ["doc", "lint", "nox", "stale", "tags", "test", "types"], version = ">=2.0.1"} pytest-pretty = ">=1.0.1" syrupy = ">=4.4.0" tomli-w = ">=1.0.0" @@ -48,4 +47,4 @@ tail-jsonl = "tail_jsonl.scripts:start" [tool.pyright] include = ["tail_jsonl"] -pythonVersion = "3.8" +pythonVersion = "3.9"