Skip to content

Commit 93a07a4

Browse files
author
Liu Xue Yan
committed
ci: update Python version support and dependencies
- Add Python 3.13 to the list of supported versions - Update pre-commit hooks to the latest versions: - pre-commit/pre-commit-hooks from v4.6.0 to v5.0.0 - astral-sh/ruff-pre-commit from v0.6.7 to v0.7.0 - pre-commit/mirrors-mypy from v1.11.2 to v1.12.1 - python-jsonschema/check-jsonschema from v0.29.2 to v0.29.4 - Remove version tag from manylinux_2_28_x86_64 image
1 parent a59e5d6 commit 93a07a4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
strategy:
3434
matrix:
35-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
35+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
3636
steps:
3737
- name: Checkout
3838
uses: actions/checkout@v4

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-case-conflict
66
- id: check-added-large-files
@@ -20,7 +20,7 @@ repos:
2020
- id: check-docstring-first
2121

2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.6.7
23+
rev: v0.7.0
2424
hooks:
2525
- id: ruff # Run the linter.
2626
types_or: [python, pyi, jupyter]
@@ -29,14 +29,14 @@ repos:
2929
types_or: [python, pyi, jupyter]
3030

3131
- repo: https://github.com/pre-commit/mirrors-mypy
32-
rev: "v1.11.2"
32+
rev: "v1.12.1"
3333
hooks:
3434
- id: mypy
3535
args: [--ignore-missing-imports, --config-file, .mypy.ini]
3636
additional_dependencies: [types-PyYAML]
3737

3838
- repo: https://github.com/python-jsonschema/check-jsonschema
39-
rev: "0.29.2"
39+
rev: "0.29.4"
4040
hooks:
4141
- id: check-github-workflows
4242
- id: check-readthedocs

tests/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pyyaml_include-tests
22

33
services:
44
unittest:
5-
image: quay.io/pypa/manylinux_2_28_x86_64:latest
5+
image: quay.io/pypa/manylinux_2_28_x86_64
66
volumes:
77
- type: bind
88
source: ..

tests/run-compose-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export PIP_DISABLE_PIP_VERSION_CHECK=1
55
export PIP_ROOT_USER_ACTION=ignore
66
export PIP_NO_WARN_SCRIPT_LOCATION=1
77

8-
PYTHON_LIST=(python3.8 python3.9 python3.10 python3.11 python3.12)
8+
PYTHON_LIST=(python3.8 python3.9 python3.10 python3.11 python3.12 python3.13)
99
for PYTHON in ${PYTHON_LIST[@]}
1010
do
1111
echo

0 commit comments

Comments
 (0)