Skip to content

Commit

Permalink
fix: drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Sep 12, 2023
1 parent df76f43 commit 60ecc52
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Global options:

[mypy]
python_version = 3.8
python_version = 3.9

check_untyped_defs = True
disallow_any_decorated = False
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ignore = [
]
line-length = 120
select = ['ALL']
target-version = 'py38'
target-version = 'py39'
unfixable = [
'ERA001', # Commented out code
]
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.11.2 3.8.12
python 3.11.2 3.9.13
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -48,4 +47,4 @@ tail-jsonl = "tail_jsonl.scripts:start"

[tool.pyright]
include = ["tail_jsonl"]
pythonVersion = "3.8"
pythonVersion = "3.9"

0 comments on commit 60ecc52

Please sign in to comment.