Skip to content

Commit 81ab351

Browse files
committed
Add support for Python 3.15
1 parent 13699ce commit 81ab351

7 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cookiecutter-python-cli-app
22

3-
[![Supported Python Versions](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue)](https://github.com/sgraaf/cookiecutter-python-cli-app)
3+
[![Supported Python Versions](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14%20%7C%203.15-blue)](https://github.com/sgraaf/cookiecutter-python-cli-app)
44
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
55
[![prek](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
66
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
@@ -31,4 +31,4 @@ cookiecutter gh:sgraaf/cookiecutter-python-cli-app
3131
- A choice of 15 licenses, and optional Git repository initialization
3232
- Automated release builds and uploads to [PyPI](https://pypi.org/)
3333

34-
This template supports Python 3.11, 3.12, 3.13 and 3.14.
34+
This template supports Python 3.11, 3.12, 3.13, 3.14 and 3.15.

‎cookiecutter.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"3.11",
4040
"3.12",
4141
"3.13",
42-
"3.14"
42+
"3.14",
43+
"3.15"
4344
],
4445
"init_git": [true, false],
4546
"__prompts__": {
@@ -86,7 +87,8 @@
8687
"3.11": "Python 3.11",
8788
"3.12": "Python 3.12",
8889
"3.13": "Python 3.13",
89-
"3.14": "Python 3.14"
90+
"3.14": "Python 3.14",
91+
"3.15": "Python 3.15"
9092
},
9193
"init_git": "Initialize a Git repository"
9294
}

‎{{ cookiecutter.app_name }}/.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
with:
3030
enable-cache: true
3131

32-
- name: Install Python 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 13] | max }}
33-
run: uv python install 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 13] | max }}
32+
- name: Install Python 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 14] | max }}
33+
run: uv python install 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 14] | max }}
3434

3535
- name: Install dependencies
3636
run: uv sync --dev

‎{{ cookiecutter.app_name }}/.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Install uv
3434
uses: astral-sh/setup-uv@v10.2.0
3535

36-
- name: Install Python 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 13] | max }}
37-
run: uv python install 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 13] | max }}
36+
- name: Install Python 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 14] | max }}
37+
run: uv python install 3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 14] | max }}
3838

3939
- name: Build
4040
run: uv build

‎{{ cookiecutter.app_name }}/.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
python-version:
2222
{%- endraw %}
23-
{%- for minor in range(cookiecutter.min_python_version.split('.')[1] | int, 15) %}
23+
{%- for minor in range(cookiecutter.min_python_version.split('.')[1] | int, 16) %}
2424
- "3.{{ minor }}"
2525
{%- endfor %}
2626
{% raw %}

‎{{ cookiecutter.app_name }}/.readthedocs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sphinx:
66
build:
77
os: ubuntu-24.04
88
tools:
9-
python: "3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 13] | max }}"
9+
python: "3.{{ [cookiecutter.min_python_version.split('.')[1] | int, 14] | max }}"
1010
jobs:
1111
pre_create_environment:
1212
- asdf plugin add uv

‎{{ cookiecutter.app_name }}/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
"Intended Audience :: Developers",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
20-
{% for minor in range(cookiecutter.min_python_version.split('.')[1] | int, 15) -%}
20+
{% for minor in range(cookiecutter.min_python_version.split('.')[1] | int, 16) -%}
2121
"Programming Language :: Python :: 3.{{ minor }}",
2222
{% endfor -%}
2323
"Typing :: Typed",

0 commit comments

Comments
 (0)