Skip to content

Commit

Permalink
chore: Drop support for Python 3.7 (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Sep 5, 2023
1 parent c4405b9 commit b47ea00
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.3
rev: 0.26.3
hooks:
- id: check-dependabot
- id: check-github-workflows
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
extend = "./pyproject.toml"
extend-ignore = ["TD003"]
"""
python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.11", "3.10", "3.9", "3.8"]


@nox.session(python=python_versions)
Expand Down
8 changes: 4 additions & 4 deletions src/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "0.13.1"
rev: "1.1.0"
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.284"
rev: "v0.0.287"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand All @@ -35,14 +35,14 @@ repos:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.0
rev: v1.5.1
hooks:
- id: mypy
pass_filenames: true
additional_dependencies:
- types-requests

- repo: https://github.com/pre-commit/pre-commit
rev: v3.3.3
rev: v3.4.0
hooks:
- id: validate_manifest
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
SETUPTOOLS_USE_DISTUTILS: stdlib
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion src/noxfile.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ except ImportError:
{sys.executable} -m pip install nox-poetry"""
raise SystemExit(dedent(message)) from None

python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.11", "3.10", "3.9", "3.8"]
nox.options.sessions = ("tests",)


Expand Down
4 changes: 2 additions & 2 deletions src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repository = "https://[[ repository_provider ]]/[[ repository_namespace ]]/[[ re
documentation = "https://[[ repository_provider ]]/[[ repository_namespace ]]/[[ repository_name ]]#readme"

[tool.poetry.dependencies]
python = "<3.12,>=3.7.1"
python = "<3.12,>=3.8"
singer-sdk = "~=0.31.0"

[tool.poetry.group.dev.dependencies]
Expand All @@ -40,7 +40,7 @@ ignore = [
line-length = 88
select = ["ALL"]
src = ["[[ tap_package_import_name ]]", "tests"]
target-version = "py37"
target-version = "py38"
unfixable = [
"ERA001", # commented-out-code
]
Expand Down

0 comments on commit b47ea00

Please sign in to comment.