Skip to content

Commit

Permalink
fix!: drop support for Python 3.7 (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardcooke53 committed Feb 6, 2024
1 parent 1d2bbdf commit ad086f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py37-plus", "--keep-runtime-typing"]
args: ["--py38-plus", "--keep-runtime-typing"]

# Linters and validation
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ build-backend = "setuptools.build_meta"
name = "python-semantic-release"
version = "8.7.2"
description = "Automatic Semantic Versioning for Python projects"
requires-python = ">=3.7"
requires-python = ">=3.8"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -103,7 +102,7 @@ legacy_tox_ini = """
[tox]
envlist =
mypy,
py{37,38,39,310,311,312},
py{38,39,310,311,312},
coverage
ruff
skipsdist = True
Expand Down Expand Up @@ -136,7 +135,7 @@ commands =
"""

[tool.mypy]
python_version = 3.7
python_version = "3.8"
packages = ["semantic_release"]
show_column_numbers = true
show_error_context = true
Expand Down Expand Up @@ -258,7 +257,7 @@ ignore = [
]

external = ["V"]
target-version = "py37"
target-version = "py38"
force-exclude = true
line-length = 88
output-format = "grouped"
Expand Down

0 comments on commit ad086f5

Please sign in to comment.