Skip to content

Commit

Permalink
Drop support for EOL Python 3.6 and 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 16, 2023
1 parent 3accdda commit fd8f04a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
fail-fast: false
matrix:
python:
- { VERSION: "3.6", TOXENV: "py36", ALLOW_FAILURE: false }
- { VERSION: "3.7", TOXENV: "py37", ALLOW_FAILURE: false }
- { VERSION: "3.8", TOXENV: "py38", ALLOW_FAILURE: false }
- { VERSION: "3.9", TOXENV: "py39",ALLOW_FAILURE: false }
- { VERSION: "3.10", TOXENV: "py310",ALLOW_FAILURE: false }
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
rev: v3.11.0
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:src', --py36-plus]
args: [--application-directories, '.:src', --py38-plus]
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.11.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py38-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.0
rev: v1.5.1
hooks:
- id: mypy
exclude: ^(docs/|tests/)
Expand All @@ -34,4 +34,4 @@ repos:
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: [--min-py3-version, '3.6']
args: [--min-py3-version, '3.8']
10 changes: 0 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ sudo: false

matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- env: TOXENV=pep8
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 78
target-version = ['py36']
target-version = ['py38']
safe = true
exclude = '''
(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project_urls =

[options]
packages = find:
python_requires = >=3.6
python_requires = >=3.8
include_package_data = True

[options.package_data]
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[tox]
envlist =
py36,
py37,
py38,
py39,
py310,
Expand Down

0 comments on commit fd8f04a

Please sign in to comment.