Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from mopidy:develop #177

Open
wants to merge 361 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
361 commits
Select commit Hold shift + click to select a range
7b47c93
Use default black+isort config
jodal Aug 3, 2023
58b1cf0
Run black+isort
jodal Aug 3, 2023
e441a4d
Merge pull request #2108 from jodal/default-black+isort
jodal Aug 3, 2023
cc0132b
Merge pull request #2107 from janiversen/tox_ci
jodal Aug 3, 2023
62a6a69
deps.py and ext.py 100% coverage. (#2100)
janiversen Aug 4, 2023
136c6f4
Replace pkg_resources with importlib.metadata / import_module. (#2104)
janiversen Aug 4, 2023
21c9622
Use importlib.metadata on Python 3.10+
jodal Aug 5, 2023
8d7f766
Fix infinite loop when deps with dash in their name is installed
jodal Aug 5, 2023
336ff04
Merge pull request #2110 from jodal/importlib-fallback
jodal Aug 5, 2023
e2a42d8
Remove unused audio APIs
jodal Aug 7, 2023
7112da4
Merge pull request #2112 from jodal/remove-unused-audio-api
jodal Aug 7, 2023
d781896
Remove CodeQL analysis
jodal Aug 7, 2023
8f2cf34
Replace flake8 and isort with ruff
jodal Aug 3, 2023
73b452f
Fix PT001 lint: pytest.fixture()
jodal Aug 3, 2023
c46abb8
Fix SIM300 lint: yoda test asserts
jodal Aug 3, 2023
9b43885
Autofix D lints
jodal Aug 3, 2023
9606dab
Fix PIE790 lint: unecessary pass
jodal Aug 3, 2023
b20ab28
Fix RUF100 lint: unused noqa comments
jodal Aug 3, 2023
1678f4e
Fix ISC001 lint: Implicitly concatenated strings on one line
jodal Aug 3, 2023
9050b75
Fix PT006 lint: Tuples for pytest fixture arguments
jodal Aug 3, 2023
8a18082
Fix UP024 lint: IOError is alias for OSError
jodal Aug 3, 2023
3a01f99
Fix C408 lint: Use collection literals
jodal Aug 3, 2023
3281f2a
Fix PT009 lint: Use plain asserts
jodal Aug 3, 2023
bf24d5c
Fix RET lints
jodal Aug 3, 2023
7b9b47b
Fix RUF015 lint
jodal Aug 3, 2023
72b92e5
Fix rest of lints in tests/
jodal Aug 3, 2023
175806c
Fix C414 lint: Redundant list calls
jodal Aug 3, 2023
2a86366
Fix TCH004 lint: Type checking imports used for more
jodal Aug 3, 2023
1882c18
Fix N lints: Names
jodal Aug 3, 2023
2a46251
Fix SIM lints: Simplify code
jodal Aug 3, 2023
8395480
Fix UP035 lints: Import from collections.abc
jodal Aug 3, 2023
ff650ed
Fix PIE810 lint: startswith with tuple
jodal Aug 3, 2023
c131d51
Format with Black
jodal Aug 3, 2023
9a62efa
Fix ARG002 lint: Unused arguments
jodal Aug 3, 2023
da8e535
Fix RUF012 lint: ClassVar mutable attributes
jodal Aug 3, 2023
d7d20ee
Lift some proxy types out of type checking blocks
jodal Aug 7, 2023
844b3e1
Remove "private" Backend.audio attr from BackendProxy type
jodal Aug 7, 2023
0e059a4
Fix E402 lint
jodal Aug 7, 2023
75c8d5f
Fix PT022 lint: Use return instead of yield if no teardown in fixture
jodal Aug 7, 2023
bafdbf0
Fix T201 lint
jodal Aug 7, 2023
8492336
Fix PTH lints
jodal Aug 7, 2023
4252478
Fix A001 lint
jodal Aug 7, 2023
017eef1
Fix F401 lint
jodal Aug 7, 2023
42ae5bc
Fix RUF005 lint
jodal Aug 7, 2023
e8fe009
Fix TRY lints
jodal Aug 7, 2023
ba1d39e
Fix C901 lint
jodal Aug 7, 2023
7cbc3e6
Fix PLR lints
jodal Aug 7, 2023
1cb95ca
Fix ARG001 lint
jodal Aug 7, 2023
7660ed2
Fix ISC001 lint
jodal Aug 7, 2023
7c8dbf1
Fix SIM lints
jodal Aug 7, 2023
c8d849a
Fix F811 lint
jodal Aug 7, 2023
3b13f04
Fix TCH001 lint
jodal Aug 7, 2023
e6fb585
Fix RSE102 lint
jodal Aug 7, 2023
2ade5de
Fix D301 lint
jodal Aug 7, 2023
6ae1777
Fix B008 lint
jodal Aug 7, 2023
d234bb5
Fix UP032 lint
jodal Aug 7, 2023
d92954e
Remove dead code on Python 3.4+
jodal Aug 7, 2023
ac4a5b5
Fix ERA001 lint: Remove/ignore commented out code
jodal Aug 7, 2023
c19e9c9
Fix types of http:app and http:static registry entries
jodal Aug 7, 2023
2ed80e3
Fix type of config overrides
jodal Aug 7, 2023
a341dd8
Add pre-commit setup for black and ruff
jodal Aug 7, 2023
ba8462a
Merge pull request #2109 from jodal/ruff
jodal Aug 8, 2023
692cdaa
Add missing space
jodal Aug 8, 2023
d2f0f3b
Add Black as tox and CI job
jodal Aug 10, 2023
9a13c6d
Fix Ruff lint
jodal Aug 10, 2023
c0fdcfb
docs: Remove 10 year old code with no explanation and no effect on do…
jodal Aug 15, 2023
34854e0
Move GLib config dir calls out of module scope
jodal Aug 15, 2023
c746728
docs: Use autodoc_mock_imports instead of homemade Mock
jodal Aug 15, 2023
8d6b363
docs: Add sphinx_rtd_theme as extension, not just theme
jodal Aug 15, 2023
25c60a9
docs: Render type hints in API docs using spinhx-autodoc-typehints
jodal Aug 15, 2023
47b6f35
docs: Pin Sphinx packages at versions available in Debian 11
jodal Aug 15, 2023
65a014e
Merge pull request #2117 from jodal/typing-docs
jodal Aug 17, 2023
8db1cc6
Fix new lints in ruff 0.0.285
jodal Aug 19, 2023
af4a0c7
Pin ruff to avoid CI breaking because of new releases
jodal Aug 19, 2023
1b1952c
Type mopidy.core.tracklist
jodal Aug 7, 2023
140591a
Type mopidy.core.playlists
jodal Aug 7, 2023
2b86593
Type mopidy.core.playback
jodal Aug 7, 2023
e60c227
Type mopidy.core.mixer
jodal Aug 7, 2023
b4fdc8a
Type mopidy.core.listener
jodal Aug 7, 2023
4aca95e
Type mopidy.core.library
jodal Aug 7, 2023
3fdc343
Type mopidy.core.history
jodal Aug 7, 2023
5239375
Type mopidy.core.actor
jodal Aug 7, 2023
8e5ab4a
Merge query types of Core API, Backend API, and validation system
jodal Aug 13, 2023
b93ae3b
Use Uri and UriSchema types throughout the Core API
jodal Aug 13, 2023
da226ad
Change Uri/UriScheme from TypeVar to NewType
jodal Aug 17, 2023
50b3285
Fix type of get_distinct()'s search query argument
jodal Aug 17, 2023
04686a7
Accept Iterable's instead of list
jodal Aug 19, 2023
7fb4e23
Type mopidy.audio.AudioListener
jodal Aug 19, 2023
f8c2e00
Use Percentage and DurationMs instead of ints
jodal Aug 19, 2023
5b09765
Merge pull request #2113 from jodal/typing-core
jodal Aug 19, 2023
dbf8f38
docs: Install graphviz for rendering state diagrams
jodal Aug 19, 2023
600ee13
docs: Install typing-extensions before building docs
jodal Aug 19, 2023
2ab7cbd
Make *ControllerProxy types available when not type-checking
jodal Aug 19, 2023
e7cbab0
Add CoreEvent literal for CoreListener.send()
jodal Aug 19, 2023
7ed71a4
docs: Configure typehints extension
jodal Aug 19, 2023
b8792aa
docs: Remove type descriptions from Core API docstrings
jodal Aug 19, 2023
1ca7962
docs: Remove type descriptions from Backend API docstrings
jodal Aug 19, 2023
ddbaa78
docs: Remove types from other docstrings
jodal Aug 19, 2023
5f175eb
Type mopidy.http
jodal Aug 7, 2023
f285b23
Merge pull request #2118 from jodal/typing-http
jodal Aug 20, 2023
5ce8bb2
Type mopidy.m3u
jodal Aug 20, 2023
27f21e6
docs: Clean up changelog
jodal Aug 20, 2023
c055973
zeroconf: Fix exception on shutdown if dbus is not installed
jodal Aug 20, 2023
b26371f
docs: Remove more types from docstrings
jodal Aug 21, 2023
3e8c978
Merge pull request #2119 from mopidy/typing-m3u
jodal Aug 21, 2023
f3efcac
Use released version of Pykka
jodal Sep 17, 2023
12968c8
Fixed tyos in changelog-0.x.rst file
Oct 19, 2023
8a8de3a
Merge pull request #2128 from SandeshPyakurel/patch1
jodal Oct 19, 2023
e3b83b9
Update README.rst (#2129)
ayushrakesh Oct 29, 2023
29f65c3
Next release will be a major release
jodal Oct 16, 2023
aa69d2b
Require Python >= 3.11
jodal Oct 16, 2023
9799076
Fix all ruff lints for Python 3.11+
jodal Oct 16, 2023
cdafa8a
Fix all typing lints for Python 3.11+
jodal Oct 16, 2023
8e3c4aa
Update GitHub Actions for Python 3.11+
jodal Oct 16, 2023
30c0a18
Require Tornado >= 6.2
jodal Oct 16, 2023
5904d58
Require requests >= 2.28
jodal Oct 16, 2023
0018921
Require setuptools >= 66
jodal Oct 16, 2023
e4bd600
Require Sphinx >= 5.3
jodal Oct 16, 2023
888a195
Require GStreamer >= 1.22
jodal Oct 16, 2023
9fe8130
Update APT repo instructions to use bookworm
jodal Oct 29, 2023
b2a5cf8
Merge pull request #2126 from mopidy/bookworm-deps
jodal Oct 29, 2023
4cfbc59
Update changelog
jodal Oct 29, 2023
d1b2d29
Remove appsrc support
jodal Aug 20, 2023
4eefbd1
Merge pull request #2120 from jodal/2114-remove-appsrc
jodal Oct 29, 2023
d59f917
docs: Add references to changelog
jodal Oct 29, 2023
7249e18
Apply grammer fixes from #2129 to docs too
jodal Oct 29, 2023
12a18aa
Fix broken import
jodal Oct 29, 2023
8dc7773
Add pyobject as a regular Python dependency
jodal Oct 29, 2023
35d2fb0
Print instructions if GStreamer is missing, not PyGObject
jodal Oct 29, 2023
a91d164
Remove references to --system-site-packages
jodal Oct 29, 2023
d7ca07b
Update changelog
jodal Oct 29, 2023
5dfe760
Upgrade actions/checkout from v2 to v3
jodal Mar 18, 2023
6dd0e5e
Upgrade actions/setup-python from v2 to v4
jodal Mar 18, 2023
26c2cae
Upgrade actions/cache from v2 to v3
jodal Mar 18, 2023
5c301c9
Upgrade host OS from Ubuntu 20.04 to 22.04
jodal Mar 18, 2023
d6446e4
Format with Black 23.1.0
jodal Mar 18, 2023
10440e4
Set warnings.warn() stacklevel to improve stacktrace usability
jodal Mar 18, 2023
61a87f7
Improve Exception test
jodal Mar 19, 2023
e39b6b6
Add Python 3.11 to test matrix
jodal Mar 19, 2023
fd79df5
Upgrade codecov/codecov-action from v1 to v3
jodal Mar 19, 2023
c39d9ba
Upgrade pypa/gh-action-pypi-publish from 1.5.0 to 1.8.1
jodal Mar 19, 2023
e027962
Only run workflows once when pushing to a PR branch
jodal Mar 19, 2023
eb933ac
Fix extlinks crash in docs build
jodal Mar 19, 2023
4915b04
Upgrade CodeQL actions
jodal Mar 19, 2023
5da7a2c
Use setup-python's builtin cache support
jodal Mar 19, 2023
8cc9a46
Add Python 3.11 to PyPI classifiers
jodal Mar 19, 2023
9980d3b
Update GitHub Actions badge
jodal Mar 19, 2023
f60c6dd
Build docs using Python 3.11
jodal Mar 22, 2023
d10b22d
Update copyright years
jodal Mar 22, 2023
6e91a33
Reencode test files to fix duration mismatch
jodal Mar 23, 2023
1c67a3b
Update README with developer info. (#2090)
janiversen Jul 14, 2023
e1e67b8
Fix README.rst typo
kingosticks Jul 14, 2023
cc515a9
Update README.rst (#2091)
kingosticks Jul 14, 2023
f372c92
Formatting and punctuation
jodal Jul 16, 2023
ecaee78
file: Correct file/follow_symlinks error. (#2094)
janiversen Jul 17, 2023
fc6acf9
tests: Allow tests to run on MacOS. (#2092)
janiversen Jul 17, 2023
5ba457d
docs: remove references to python 3.7. (#2098)
janiversen Jul 17, 2023
e08383f
Added tests to ensure 100% of Mopidy-file. (#2096)
janiversen Jul 28, 2023
0bbc6ee
tox -e flake8 failure solved. (#2101)
janiversen Jul 30, 2023
7c14a02
Set codecov threshold to 0.3% before failing.
janiversen Jul 30, 2023
b396ff3
add "tox -e ci", to test before pushing. (#2102)
janiversen Aug 2, 2023
5c4e2ee
add "tox -e ci" to developer doc. (#2105)
janiversen Aug 2, 2023
8bd52b3
Remove CodeQL analysis
jodal Aug 7, 2023
848c510
docs: Install graphviz for rendering state diagrams
jodal Aug 19, 2023
dc1fba0
Update README.rst (#2129)
ayushrakesh Oct 29, 2023
31dde2a
Apply grammer fixes from #2129 to docs too
jodal Oct 29, 2023
cb6314b
Update changelog
jodal Oct 31, 2023
72f2738
Add Python 3.12 to the test matrix
jodal Oct 31, 2023
9b2ac83
Merge pull request #2131 from jodal/pyobject-as-dep
jodal Oct 31, 2023
2a722f1
Update Python version check
jodal Oct 31, 2023
babd6fe
Move pytest config from setup.cfg to pyproject.toml
jodal Oct 31, 2023
e510e68
Update AUTHORS
jodal Oct 31, 2023
68fe254
Update AUTHORS
jodal Oct 31, 2023
bda9fcd
Remove dead code on Python 3.4+
jodal Aug 7, 2023
164238e
docs: Remove 10 year old code with no explanation and no effect on do…
jodal Aug 15, 2023
a6f506b
docs: Add sphinx_rtd_theme as extension, not just theme
jodal Aug 15, 2023
4a08232
zeroconf: Fix exception on shutdown if dbus is not installed
jodal Aug 20, 2023
5b2107b
Fixed tyos in changelog-0.x.rst file
Oct 19, 2023
aacc301
Update authors and changelog
jodal Oct 31, 2023
2bf98dc
Merge pull request #2133 from mopidy/release-3.4.2
jodal Nov 1, 2023
01dd7a4
Release v3.4.2
jodal Nov 1, 2023
f7203fb
Merge branch 'main' into develop
jodal Nov 1, 2023
80e3188
Migrate setuptools from setup.cfg/MANIFEST.in to pyproject.toml
jodal Oct 31, 2023
802e077
Switch project to src-layout
jodal Oct 31, 2023
0f126a8
Pin most dev deps
jodal Oct 31, 2023
9e92cd2
Attempt to fix Read The Docs build with pygobject as dep
jodal Nov 1, 2023
6eb72d6
Update PyPI installation docs
jodal Nov 2, 2023
6f57cac
Add warning to Raspberry Pi install docs
jodal Nov 2, 2023
b269420
Merge pull request #2136 from jodal/update-pypi-docs
kingosticks Nov 2, 2023
fe1c580
Merge pull request #2134 from jodal/modernize-packaging
jodal Nov 2, 2023
e8b0cc1
Use new union type from Python 3.10
jodal Nov 1, 2023
0efe000
Merge pull request #2139 from jodal/py311-format
jodal Nov 6, 2023
2aae83f
Use default ruff isort config
jodal Oct 31, 2023
6b5c0a7
Format with 'ruff format' instead of Black
jodal Oct 31, 2023
ecbb79a
Remove branch naming guidelines
jodal Nov 2, 2023
07a398b
Update devenv docs
jodal Nov 2, 2023
a624172
Merge pull request #2138 from jodal/ruff-format
jodal Nov 6, 2023
e18a489
Fix typo
jodal Nov 6, 2023
cc2723d
Merge pull request #2137 from jodal/update-contrib-docs
jodal Nov 6, 2023
cd29515
ci: Let actions/checkout use Git
jodal Nov 17, 2023
4d60ed3
ci: Add pygobject deps
jodal Nov 17, 2023
b3ca906
ci: Remove comments
jodal Nov 17, 2023
313ba03
Fix backend.library.search() return type and default impl
jodal Dec 17, 2023
aa49500
Merge pull request #2143 from mopidy/fix-backend-search
jodal Dec 17, 2023
89f4b74
Bump ruff from 0.1.3 to 0.2.2
jodal Feb 18, 2024
1e39dcc
Bump pyright from 1.1.333 to 1.1.350
jodal Feb 18, 2024
18e0ca3
Enable standard type checking mode
jodal Feb 18, 2024
72cb556
Tighten up mopidy.commands types
jodal Feb 18, 2024
82db7c0
Tighten up mopidy.config types
jodal Feb 18, 2024
70fa12e
Tighten up mopidy.internal types
jodal Feb 18, 2024
3eccc46
Tighten up mopidy.models types
jodal Feb 18, 2024
95a72ba
Tighten up Backend.uri_schemes type
jodal Feb 18, 2024
4f45349
Fix backend.LibraryProvider.lookup() return type hint
jodal Feb 18, 2024
ac19ea1
Tighten up mopidy.stream types
jodal Feb 18, 2024
d8155df
Tighten up mopidy.file types
jodal Feb 18, 2024
ff4e606
Tighten up mopidy.http types
jodal Feb 18, 2024
afaa1d3
Ensure Listener.send() type hints does not conflict when mixed together
jodal Feb 18, 2024
9972877
Merge pull request #2149 from mopidy/typing-standard-rules
jodal Feb 18, 2024
600ae2d
Add headers to 4.0 changelog
jodal Feb 22, 2024
a964595
Make --help test independent of PYTHONPATH
jodal Feb 22, 2024
e063510
Remove unused import
jodal Feb 22, 2024
2bde994
Make mopidy.internal.path pass strict type checks
jodal Feb 18, 2024
b61e987
Make mopidy.internal.xdg pass strict type checks
jodal Feb 19, 2024
5d1b433
Make mopidy.internal.jsonrpc pass strict type checks
jodal Feb 19, 2024
2c18e01
Merge pull request #2151 from jodal/strict-types
jodal Feb 23, 2024
683358d
Bump actions to latest version
jodal Feb 23, 2024
b0ac747
Add token required by codecov-action@v4
jodal Feb 23, 2024
c020812
ruff: Move project specific exceptions to the ignore section
jodal Feb 23, 2024
5805bb0
Add Core requiring a config argument to the changelog
jodal Feb 23, 2024
d022f0b
Fix arg type of core.library.browse()
jodal Feb 23, 2024
21c6a9f
Refactor deps command
jodal Feb 23, 2024
b70fef8
Merge pull request #2152 from jodal/deps-refactor
jodal Feb 23, 2024
5188565
Add missing PlaybackControllerProxy.resume
jodal Feb 24, 2024
ce533f0
Remove core.playback.play()'s tl_track argument
jodal Feb 22, 2024
6d78a13
Release v4.0.0a1
jodal Feb 25, 2024
e075fb2
Merge pull request #2150 from jodal/remove-play-tl-track
kingosticks Feb 25, 2024
377e429
Remove pygobject installation from CI steps
jodal Feb 25, 2024
4913739
Bump actions/checkout from v3 to v4
jodal Mar 1, 2024
3755d76
Update workflow's targeted Python to match container's version
jodal Mar 1, 2024
a1ca0a4
Bump ruff to 0.3.0
jodal Mar 1, 2024
4ae0267
Let setuptools-scm to find version during build
jodal Mar 1, 2024
c3a2616
Remove mopidy.internal.versioning
jodal Mar 1, 2024
f27cf9c
Update badge URLs
jodal Mar 1, 2024
d86e2be
Update contribution docs
jodal Mar 1, 2024
9fb7f55
Update release docs
jodal Mar 1, 2024
a8f4ecb
Update devenv docs
jodal Mar 1, 2024
1b3bd6e
Update extensiondev docs
jodal Mar 1, 2024
5ef7706
Update changelog
jodal Mar 1, 2024
d6218a6
Merge pull request #2153 from jodal/versioning
jodal Mar 1, 2024
1ec9595
Merge pull request #2154 from jodal/main-as-integration-branch
jodal Mar 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project:
default:
threshold: 0.3%
64 changes: 31 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,56 @@
name: CI

on: [push, pull_request]
on:
pull_request:
push:
branches:
- develop
- main

jobs:
main:
strategy:
fail-fast: false
matrix:
include:
- name: "Test: Python 3.7"
python: "3.7"
tox: py37
- name: "Test: Python 3.8"
python: "3.8"
tox: py38
- name: "Test: Python 3.9"
python: "3.9"
tox: py39
- name: "Test: Python 3.11"
python: "3.11"
tox: py311
- name: "Test: Python 3.12"
python: "3.12"
tox: py312
coverage: true
- name: "Lint: check-manifest"
python: "3.9"
tox: check-manifest
- name: "Lint: flake8"
python: "3.9"
tox: flake8
- name: "Lint: mypy"
python: "3.9"
tox: mypy
- name: "Lint: pyright"
python: "3.12"
tox: pyright
- name: "Lint: ruff lint"
python: "3.12"
tox: ruff-lint
- name: "Lint: ruff format"
python: "3.12"
tox: ruff-format
- name: "Docs"
python: "3.9"
python: "3.12"
tox: docs

name: ${{ matrix.name }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container: ghcr.io/mopidy/ci:latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- uses: actions/checkout@v4
- name: Fix home dir permissions to enable pip caching
run: chown -R root /github/home
- name: Cache pip
uses: actions/cache@v2
- uses: actions/setup-python@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-
- run: python -m pip install pygobject tox
python-version: ${{ matrix.python }}
cache: pip
- run: python -m pip install tox
- run: python -m tox -e ${{ matrix.tox }}
if: ${{ ! matrix.coverage }}
- run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml
if: ${{ matrix.coverage }}
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
if: ${{ matrix.coverage }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ on:

jobs:
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.12"
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/gh-action-pypi-publish@v1.4.1
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
16 changes: 10 additions & 6 deletions .github/workflows/ubuntu-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,26 @@ on:

jobs:
main:
name: "Test: Python 3.9"
runs-on: ubuntu-20.04
name: "Test: Python 3.12"
runs-on: ubuntu-22.04

# The container should be automatically updated from time to time.
container: ubuntu:devel

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
python3 \
tox \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
python3-gst-1.0 \
python3 \
tox
- run: tox -e py39
libcairo2-dev \
libgirepository1.0-dev \
libglib2.0-dev
- uses: actions/checkout@v4
- run: tox -e py312
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
.cache/
.coverage
.idea
.mypy_cache/
.noseids
.pytest_cache/
.ruff_cache/
.tox
MANIFEST
build/
Expand Down
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Hugo van Kemenade <[email protected]>
Tobias Girstmair <[email protected]>
Jonathan Jefferies <[email protected]>
Matthew H. Flamm <[email protected]>
Keith Scroggs <[email protected]>
Jan Iversen <[email protected]>
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Run `pre-commit install` to install the pre-commit hooks.
#
# Run `pre-commit autoupdate` to update all the plugins here.
#
# See https://pre-commit.com for more information.

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-toml
- repo: local
hooks:
- id: ruff
name: ruff check
entry: ruff
language: system
types: [python]
- id: ruff-format
name: ruff format
entry: ruff format
language: system
types: [python]
12 changes: 11 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
# pyobject dependencies
- libcairo2-dev
- libgirepository1.0-dev
# Diagrams in docs
- graphviz

python:
version: "3.7"
install:
- method: pip
path: .
Expand Down
17 changes: 15 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,19 @@
- Asmi Jafar <[email protected]>
- Saloni Gupta <[email protected]>
- Parth Verma <[email protected]>
- Flamm, Matthew H <[email protected]>
- Matthew H. Flamm <[email protected]>
- Matthew Gamble <[email protected]>
- very-amused <[email protected]>
- Keith Scroggs <[email protected]>
- Andrzej Rybczak <[email protected]>
- Tim Gates <[email protected]>
- Davis Mosenkovs <[email protected]>
- Jonathan <[email protected]>
- Kunal Attri <[email protected]>
- Archish Thakkar <[email protected]>
- grdorin <[email protected]>
- solo <[email protected]>
- lmdc45 <[email protected]>
- Matthias Meulien <[email protected]>
- Jan Iversen <[email protected]>
- SandeshPyakurel <[email protected]>
- ayushrakesh <[email protected]>
26 changes: 0 additions & 26 deletions MANIFEST.in

This file was deleted.

28 changes: 20 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ systems, you can control the music from any phone, tablet, or computer.

**Mopidy on Raspberry Pi**

The `Raspberry Pi`_ is an popular device to run Mopidy on, either using
The `Raspberry Pi`_ is a popular device to run Mopidy on, either using
Raspbian, Ubuntu, or Arch Linux.
Pimoroni recommends Mopidy for use with their `Pirate Audio`_ audio gear for
Raspberry Pi.
Expand All @@ -45,7 +45,7 @@ audio jukebox system for Raspberry Pi.
Mopidy's extension support and Python, JSON-RPC, and JavaScript APIs make
Mopidy a perfect base for your projects.
In one hack, a Raspberry Pi was embedded in an old cassette player. The buttons
and volume control are wired up with GPIO on the Raspberry Pi, and is used to
and volume control are wired up with GPIO on the Raspberry Pi, and are used to
control playback through a custom Mopidy extension. The cassettes have NFC tags
used to select playlists from Spotify.

Expand All @@ -63,6 +63,18 @@ To get started with Mopidy, begin by reading the
`installation docs <https://docs.mopidy.com/en/latest/installation/>`_.


**Contributing**

Begin by reading the
`contributing <https://docs.mopidy.com/en/latest/contributing/>`_
section of our documentation.
If you are a developer, please also read
`Development environment <https://docs.mopidy.com/en/latest/devenv/>`_
and/or
`Extension development <https://docs.mopidy.com/en/latest/extensiondev/>`_.
We welcome all kinds of help with bug fixing, testing, documentation, and supporting other users.


**Project resources**

- `Documentation <https://docs.mopidy.com/>`_
Expand All @@ -71,19 +83,19 @@ To get started with Mopidy, begin by reading the
- `Source code <https://github.com/mopidy/mopidy>`_
- `Issue tracker <https://github.com/mopidy/mopidy/issues>`_

.. image:: https://img.shields.io/pypi/v/Mopidy.svg?style=flat
:target: https://pypi.python.org/pypi/Mopidy/
.. image:: https://img.shields.io/pypi/v/mopidy
:target: https://pypi.org/project/mopidy/
:alt: Latest PyPI version

.. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy/CI
:target: https://github.com/mopidy/mopidy/actions
.. image:: https://img.shields.io/github/actions/workflow/status/mopidy/mopidy/ci.yml
:target: https://github.com/mopidy/mopidy/actions/workflows/ci.yml
:alt: CI build status

.. image:: https://img.shields.io/readthedocs/mopidy.svg
.. image:: https://img.shields.io/readthedocs/mopidy
:target: https://docs.mopidy.com/
:alt: Read the Docs build status

.. image:: https://img.shields.io/codecov/c/github/mopidy/mopidy/develop.svg
.. image:: https://img.shields.io/codecov/c/github/mopidy/mopidy
:target: https://codecov.io/gh/mopidy/mopidy
:alt: Test coverage

Expand Down
3 changes: 1 addition & 2 deletions docs/api/backend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ GStreamer knows how to play right before playback. For example:

- Spotify already has its own URI scheme (``spotify:track:...``,
``spotify:playlist:...``, etc.) used throughout their applications, and thus
Mopidy-Spotify simply uses the same URI scheme. Playback is handled by
pushing raw audio data into a GStreamer ``appsrc`` element.
Mopidy-Spotify simply uses the same URI scheme.

- Mopidy-SoundCloud created it's own URI scheme, after the model of Spotify,
and uses URIs of the following forms: ``soundcloud:search``,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Authors
*******

Mopidy is copyright 2009-2021 Stein Magnus Jodal and contributors. Mopidy is
Mopidy is copyright 2009-2023 Stein Magnus Jodal and contributors. Mopidy is
licensed under the `Apache License, Version 2.0
<http://www.apache.org/licenses/LICENSE-2.0>`_.

Expand Down
Loading