Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e36f99

Browse files
authored
Add support for Python 3.15 (#282)
1 parentae83e69 commit4e36f99

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ jobs:
1212
strategy:
1313
fail-fast:false
1414
matrix:
15-
branch:["3.14", "3.13", "3.12"]
15+
python-version:["3.15", "3.14", "3.13", "3.12"]
16+
include:
17+
-python-version:"3.15"
18+
branch:"main"
1619
steps:
1720
-uses:actions/checkout@v5
1821
-uses:actions/setup-python@v6
1922
with:
20-
python-version:${{ matrix.branch }}
23+
python-version:${{ matrix.python-version }}
2124
allow-prereleases:true
2225
cache:pip
2326
-name:Clone docsbuild scripts
@@ -38,16 +41,16 @@ jobs:
3841
--skip-cache-invalidation
3942
--theme "$(pwd)"
4043
--languages en
41-
--branches ${{ matrix.branch }}
42-
${{ matrix.branch == '3.14' && '--select-output no-html' || '' }}
44+
--branches ${{ matrix.branch|| matrix.python-version}}
45+
${{ matrix.branch == 'main' && '--select-output no-html' || '' }}
4346
-name:Show logs
4447
if:failure()
4548
run:|
4649
cat ./logs/docsbuild.log
4750
-name:Upload
4851
uses:actions/upload-artifact@v5
4952
with:
50-
name:doc-html-${{ matrix.branch }}
53+
name:doc-html-${{ matrix.python-version }}
5154
path:www/
5255

5356
translations:

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
2424
"Programming Language :: Python :: 3.14",
25+
"Programming Language :: Python :: 3.15",
2526
"Topic :: Documentation",
2627
"Topic :: Software Development :: Documentation",
2728
]
@@ -70,4 +71,4 @@ lint.ignore = [
7071
lint.isort.required-imports = ["from __future__ import annotations" ]
7172

7273
[tool.pyproject-fmt]
73-
max_supported_python ="3.14"
74+
max_supported_python ="3.15"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp