Skip to content

Commit c1db293

Browse files
authored
Add official support for Python 3.13 (#227)
1 parent 4406e8a commit c1db293

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- "3.10"
3737
- "3.11"
3838
- "3.12"
39+
- 3.13.0-rc.1
3940
platform:
4041
- ubuntu-latest
4142
- macos-latest

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.11"
20+
python-version: "3.12"
2121
- name: Install pre-commit
2222
run: pip install pre-commit
2323
- name: Run pre-commit autoupdate

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
- id: end-of-file-fixer
3434
name: end-of-file-fixer
3535
- repo: https://github.com/astral-sh/ruff-pre-commit
36-
rev: v0.4.10
36+
rev: v0.5.7
3737
hooks:
3838
- id: ruff
3939
args:
@@ -79,7 +79,7 @@ repos:
7979
name: editorconfig-checker
8080
alias: ec
8181
- repo: https://github.com/pre-commit/mirrors-mypy
82-
rev: v1.10.0
82+
rev: v1.11.1
8383
hooks:
8484
- id: mypy
8585
name: mypy-mkdocs-1.5.0
@@ -89,7 +89,7 @@ repos:
8989
- platformdirs
9090
- wcmatch
9191
- repo: https://github.com/pre-commit/mirrors-mypy
92-
rev: v1.10.0
92+
rev: v1.11.1
9393
hooks:
9494
- id: mypy
9595
name: mypy-mkdocs-1.6.0

pyproject.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mkdocs-include-markdown-plugin"
3-
version = "6.2.1"
3+
version = "6.2.2"
44
description = "Mkdocs Markdown includer plugin."
55
readme = "README.md"
66
license = "Apache-2.0"
@@ -19,12 +19,13 @@ classifiers = [
1919
"Programming Language :: Python :: 3.9",
2020
"Programming Language :: Python :: 3.10",
2121
"Programming Language :: Python :: 3.11",
22-
"Programming Language :: Python :: 3.12"
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
]
2425
keywords = ["markdown", "mkdocs", "includer", "plugin"]
2526
dependencies = [
2627
"mkdocs>=1.4",
27-
"wcmatch>=8,<9"
28+
"wcmatch"
2829
]
2930

3031
[[project.authors]]
@@ -73,7 +74,7 @@ matrix-name-format = "{variable}-{value}"
7374
dependencies = ["pytest~=7.0", "coverage~=6.4", "covdefaults"]
7475

7576
[[tool.hatch.envs.tests.matrix]]
76-
python = ["py38", "py39", "py310", "py311", "py312"]
77+
python = ["py38", "py39", "py310", "py311", "py312", "py313"]
7778
mkdocs = ["1.4.0", "1.4.3", "1.5.0", "1.5.3", "1.6.0"]
7879
cache = ["yes", "no"]
7980

@@ -104,9 +105,9 @@ targets = [{ file = "pyproject.toml" }]
104105
[tool.project-config]
105106
cache = "2 days"
106107
style = [
107-
"gh://mondeja/project-config-styles@v5.2.1/base/pre-commit/md2po2md.json5",
108-
"gh://mondeja/project-config-styles@v5.2.1/python/base.json5",
109-
"gh://mondeja/project-config-styles@v5.2.1/python/mypy.json5",
108+
"gh://mondeja/project-config-styles@v5.3/base/pre-commit/md2po2md.json5",
109+
"gh://mondeja/project-config-styles@v5.3/python/base.json5",
110+
"gh://mondeja/project-config-styles@v5.3/python/mypy.json5",
110111
]
111112

112113
[tool.coverage.run]
@@ -203,7 +204,7 @@ extra-standard-library = [
203204

204205
[tool.mypy]
205206
strict = true
206-
python_version = "3.11"
207+
python_version = "3.12"
207208
allow_untyped_calls = true
208209
allow_any_generics = true
209210

0 commit comments

Comments
 (0)