Skip to content

Commit 77efaa9

Browse files
authored
Drop Python 3.8 support
* Upgrade pre-commit dependencies * Drop Python 3.8 support * Allow manual triggering of test workflow
1 parent a515cf6 commit 77efaa9

File tree

5 files changed

+22
-24
lines changed

5 files changed

+22
-24
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: "Test"
33
on:
4+
workflow_dispatch:
45
pull_request:
56
push:
67
branches:
@@ -13,7 +14,6 @@ jobs:
1314
fail-fast: false
1415
matrix:
1516
python-version: [
16-
"3.8",
1717
"3.9",
1818
"3.10",
1919
"3.11",

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.4.9
3+
rev: v0.8.5
44
hooks:
55
- id: ruff
66
args: [--fix, --exit-non-zero-on-fix]
77
- id: ruff-format
88
- repo: https://github.com/igorshubovych/markdownlint-cli
9-
rev: v0.41.0
9+
rev: v0.43.0
1010
hooks:
1111
- id: markdownlint

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dynamic = [
1717
"readme",
1818
]
1919
description = "Python command line wrapper around MediaConch policy checks."
20-
requires-python = ">=3.8"
20+
requires-python = ">=3.9"
2121
license = {file = "LICENSE"}
2222
dependencies = [
2323
"lxml",
@@ -33,7 +33,6 @@ classifiers = [
3333
"License :: OSI Approved :: GNU Affero General Public License v3",
3434
"Operating System :: POSIX :: Linux",
3535
"Programming Language :: Python :: 3 :: Only",
36-
"Programming Language :: Python :: 3.8",
3736
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Python :: 3.11",
@@ -106,11 +105,10 @@ omit = [
106105
[tool.tox]
107106
legacy_tox_ini = """
108107
[tox]
109-
envlist = py{38,39,310,311,312}, linting
108+
envlist = py{39,310,311,312}, linting
110109
111110
[gh-actions]
112111
python =
113-
3.8: py38
114112
3.9: py39
115113
3.10: py310
116114
3.11: py311

requirements-dev.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,55 @@
44
#
55
# pip-compile --allow-unsafe --extra=dev --output-file=requirements-dev.txt pyproject.toml
66
#
7-
build==1.2.1
7+
build==1.2.2.post1
88
# via pip-tools
9-
click==8.1.7
9+
click==8.1.8
1010
# via pip-tools
11-
coverage[toml]==7.5.3
11+
coverage[toml]==7.6.10
1212
# via
1313
# ammcpc (pyproject.toml)
1414
# pytest-cov
15-
exceptiongroup==1.2.1
15+
exceptiongroup==1.2.2
1616
# via pytest
17-
importlib-metadata==7.1.0
17+
importlib-metadata==8.5.0
1818
# via build
1919
iniconfig==2.0.0
2020
# via pytest
21-
lxml==5.2.2
21+
lxml==5.3.0
2222
# via ammcpc (pyproject.toml)
23-
packaging==24.1
23+
packaging==24.2
2424
# via
2525
# build
2626
# pytest
2727
pip-tools==7.4.1
2828
# via ammcpc (pyproject.toml)
2929
pluggy==1.5.0
3030
# via pytest
31-
pyproject-hooks==1.1.0
31+
pyproject-hooks==1.2.0
3232
# via
3333
# build
3434
# pip-tools
35-
pytest==8.2.2
35+
pytest==8.3.4
3636
# via
3737
# ammcpc (pyproject.toml)
3838
# pytest-cov
39-
pytest-cov==5.0.0
39+
pytest-cov==6.0.0
4040
# via ammcpc (pyproject.toml)
41-
ruff==0.4.9
41+
ruff==0.8.5
4242
# via ammcpc (pyproject.toml)
43-
tomli==2.0.1
43+
tomli==2.2.1
4444
# via
4545
# build
4646
# coverage
4747
# pip-tools
4848
# pytest
49-
wheel==0.43.0
49+
wheel==0.45.1
5050
# via pip-tools
51-
zipp==3.19.2
51+
zipp==3.21.0
5252
# via importlib-metadata
5353

5454
# The following packages are considered to be unsafe in a requirements file:
55-
pip==24.0
55+
pip==24.3.1
5656
# via pip-tools
57-
setuptools==70.1.0
57+
setuptools==75.6.0
5858
# via pip-tools

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
#
55
# pip-compile --allow-unsafe --output-file=requirements.txt pyproject.toml
66
#
7-
lxml==5.2.2
7+
lxml==5.3.0
88
# via ammcpc (pyproject.toml)

0 commit comments

Comments
 (0)