Skip to content

Commit 1b2ee0f

Browse files
committed
chore: Update to mopidy-ext-template v2.2.0
1 parent 7937cf3 commit 1b2ee0f

File tree

4 files changed

+28
-20
lines changed

4 files changed

+28
-20
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_commit: v2.1.3
1+
_commit: v2.2.0
22
_src_path: gh:mopidy/mopidy-ext-template
33
author_email: [email protected]
44
author_full_name: Stein Magnus Jodal

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,47 @@ on:
55
push:
66
branches:
77
- main
8+
workflow_dispatch:
89

910
jobs:
1011
build:
1112
name: Build
1213
runs-on: ubuntu-24.04
1314
steps:
14-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1516
- uses: hynek/build-and-inspect-python-package@v2
1617

1718
main:
1819
strategy:
1920
fail-fast: false
2021
matrix:
2122
include:
22-
- name: "pytest (3.11)"
23-
python: "3.11"
24-
tox: "3.11"
25-
- name: "pytest (3.12)"
26-
python: "3.12"
27-
tox: "3.12"
2823
- name: "pytest (3.13)"
2924
python: "3.13"
3025
tox: "3.13"
26+
- name: "pytest (3.14)"
27+
python: "3.14"
28+
tox: "3.14"
3129
coverage: true
3230
- name: "pyright"
33-
python: "3.13"
31+
python: "3.14"
3432
tox: "pyright"
3533
- name: "ruff check"
36-
python: "3.13"
34+
python: "3.14"
3735
tox: "ruff-check"
3836
- name: "ruff format"
39-
python: "3.13"
37+
python: "3.14"
4038
tox: "ruff-format"
4139

4240
name: ${{ matrix.name }}
4341
runs-on: ubuntu-24.04
4442
container: ghcr.io/mopidy/ci:latest
4543

4644
steps:
47-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4846
- name: Fix home dir permissions to enable pip caching
4947
run: chown -R root /github/home
50-
- uses: actions/setup-python@v5
48+
- uses: actions/setup-python@v6
5149
with:
5250
python-version: ${{ matrix.python }}
5351
cache: pip

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
id-token: write
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- uses: hynek/build-and-inspect-python-package@v2
1818
id: build
1919
- uses: actions/download-artifact@v4

pyproject.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mopidy-spotify"
33
description = "Mopidy extension for playing music from Spotify"
44
readme = "README.md"
5-
requires-python = ">= 3.11"
5+
requires-python = ">= 3.13"
66
license = { text = "Apache-2.0" }
77
authors = [{ name = "Stein Magnus Jodal", email = "[email protected]" }]
88
maintainers = [{ name = "Nick Steel", email = "[email protected]" }]
@@ -14,7 +14,11 @@ classifiers = [
1414
"Topic :: Multimedia :: Sound/Audio :: Players",
1515
]
1616
dynamic = ["version"]
17-
dependencies = ["mopidy >= 4.0.0a4", "pykka >= 4", "requests >= 2.20.0"]
17+
dependencies = [
18+
"mopidy >= 4.0.0a7",
19+
"pykka >= 4.1",
20+
"requests >= 2.32",
21+
]
1822

1923
[project.urls]
2024
Homepage = "https://github.com/mopidy/mopidy-spotify"
@@ -24,7 +28,7 @@ spotify = "mopidy_spotify:Extension"
2428

2529

2630
[build-system]
27-
requires = ["setuptools >= 66", "setuptools-scm >= 7.1"]
31+
requires = ["setuptools >= 78", "setuptools-scm >= 8.2"]
2832
build-backend = "setuptools.build_meta"
2933

3034

@@ -51,7 +55,7 @@ show_missing = true
5155

5256

5357
[tool.pyright]
54-
pythonVersion = "3.11"
58+
pythonVersion = "3.13"
5559
typeCheckingMode = "standard"
5660
# Not all dependencies have type hints:
5761
reportMissingTypeStubs = false
@@ -69,7 +73,7 @@ filterwarnings = [
6973

7074

7175
[tool.ruff]
72-
target-version = "py311"
76+
target-version = "py313"
7377

7478
[tool.ruff.lint]
7579
select = ["ALL"]
@@ -115,7 +119,13 @@ ignore = [
115119

116120

117121
[tool.tox]
118-
env_list = ["3.11", "3.12", "3.13", "pyright", "ruff-check", "ruff-format"]
122+
env_list = [
123+
"3.13",
124+
"3.14",
125+
"pyright",
126+
"ruff-check",
127+
"ruff-format",
128+
]
119129

120130
[tool.tox.env_run_base]
121131
package = "wheel"

0 commit comments

Comments
 (0)