Skip to content

Commit

Permalink
Merge pull request #98 from computerlyrik/ci-test
Browse files Browse the repository at this point in the history
Drop support for Python 3.7
  • Loading branch information
maresb authored Dec 7, 2023
2 parents 0d0fdc3 + b5acce9 commit ed2919a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.12]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
fail-fast: false

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: no-commit-to-branch
args: [--branch, master, --branch, main]
Expand All @@ -18,10 +18,10 @@ repos:
args: ['--fix=lf']

- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py37-plus", "--keep-runtime-typing"]
args: ["--py38-plus", "--keep-runtime-typing"]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand All @@ -30,13 +30,13 @@ repos:
args: ["--settings-path=pyproject.toml"]

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.11.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args:
Expand Down
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies = [
classifiers = [
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -35,7 +34,7 @@ classifiers = [
"Topic :: Printing"
]
dynamic = ["version"]
requires-python = ">=3.7,<4"
requires-python = ">=3.8,<4"

[project.urls]
Homepage = "https://github.com/computerlyrik/dymoprint"
Expand Down Expand Up @@ -65,12 +64,18 @@ profile = "black"
legacy_tox_ini = """
[tox]
envlist =
py37
py38
py39
py310
py311
py312
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
Expand Down

0 comments on commit ed2919a

Please sign in to comment.