Skip to content

Commit

Permalink
Remove support for Python 3.7 (EOL) (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Jun 28, 2023
1 parent 8792220 commit 371ca13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 3 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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 All @@ -36,7 +35,7 @@ dynamic = [
license = "BSD-3-Clause"
name = "django-bootstrap4"
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"

[project.urls]
Changelog = "https://github.com/zostera/django-bootstrap4/blob/main/CHANGELOG.md"
Expand Down Expand Up @@ -74,10 +73,6 @@ cov-report = [
test = "python manage.py test {args:tests}"
test-cov = "coverage run manage.py test {args:tests}"

[[tool.hatch.envs.all.matrix]]
django = ["3.2"]
python = ["3.7"]

[[tool.hatch.envs.all.matrix]]
django = ["3.2", "4.1", "4.2"]
python = ["3.8", "3.9"]
Expand Down Expand Up @@ -149,7 +144,7 @@ style = [

[tool.black]
line-length = 120
target_version = ["py37", "py38", "py39", "py310", "py311"]
target_version = ["py38", "py39", "py310", "py311"]

[tool.ruff]
fix = false
Expand All @@ -174,7 +169,7 @@ select = [
"UP", # pyupgrade
]
src = ["src"]
target-version = "py37"
target-version = "py38"
unfixable = [
"F8", # names in flake8, such as defined but unused variables
]
Expand Down

0 comments on commit 371ca13

Please sign in to comment.