Skip to content

A feature-rich command-line audio/video downloader

[ci] Test with Python 3.15 (#16896)

bashonly7aac95eae663
diff --git a/.github/workflows/challenge-tests.yml b/.github/workflows/challenge-tests.yml
index f55cf68f47..7f0f7078f6 100644
--- a/.github/workflows/challenge-tests.yml
+++ b/.github/workflows/challenge-tests.yml
@@ -36,7 +36,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
- python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', pypy-3.11]
+ python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15', pypy-3.11]
env:
QJS_VERSION: '2025-04-26' # Earliest version with rope strings
steps:
@@ -47,6 +47,7 @@ jobs:
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
+ allow-prereleases: true
- name: Install Deno
uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
with:
diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 256d187798..d44bf703b7 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -45,7 +45,7 @@ jobs:
matrix:
os: [ubuntu-latest]
# CPython 3.10 is in quick-test
- python-version: ['3.11', '3.12', '3.13', '3.14', pypy-3.11]
+ python-version: ['3.11', '3.12', '3.13', '3.14', '3.15', pypy-3.11]
include:
# atleast one of each CPython/PyPy tests must be in windows
- os: windows-latest
@@ -58,6 +58,8 @@ jobs:
python-version: '3.13'
- os: windows-latest
python-version: '3.14'
+ - os: windows-latest
+ python-version: '3.15'
- os: windows-latest
python-version: pypy-3.11
@@ -71,6 +73,7 @@ jobs:
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
+ allow-prereleases: true
- name: Install test requirements (cpython)
if: ${{ !startsWith(matrix.python-version, 'pypy') }}