Skip to content

Commit 23670b3

Browse files
authored
Merge branch 'master' into embedart-clear-improvements
2 parents 16c4f6e + 2bd77b9 commit 23670b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3090
-1690
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ d93ddf8dd43e4f9ed072a03829e287c78d2570a2
7878
# Moved ui.commands._utils into ui.commands.utils
7979
25ae330044abf04045e3f378f72bbaed739fb30d
8080
# Refactor test_ui_command.py into multiple modules
81-
a59e41a88365e414db3282658d2aa456e0b3468a
81+
a59e41a88365e414db3282658d2aa456e0b3468a
82+
# pyupgrade Python 3.10
83+
301637a1609831947cb5dd90270ed46c24b1ab1b

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33

44
# Specific ownerships:
55
/beets/metadata_plugins.py @semohr
6-
/beetsplug/mbpseudo.py @asardaes
6+
/beetsplug/titlecase.py @henry-oberholtzer
7+
/beetsplug/mbpseudo.py @asardaes

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
platform: [ubuntu-latest, windows-latest]
23-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
23+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2424
runs-on: ${{ matrix.platform }}
2525
env:
26-
IS_MAIN_PYTHON: ${{ matrix.python-version == '3.9' && matrix.platform == 'ubuntu-latest' }}
26+
IS_MAIN_PYTHON: ${{ matrix.python-version == '3.10' && matrix.platform == 'ubuntu-latest' }}
2727
steps:
2828
- uses: actions/checkout@v5
2929
- name: Install Python tools

.github/workflows/integration_test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
workflow_dispatch:
44
schedule:
55
- cron: "0 0 * * SUN" # run every Sunday at midnight
6+
7+
env:
8+
PYTHON_VERSION: "3.10"
9+
610
jobs:
711
test_integration:
812
runs-on: ubuntu-latest
@@ -12,7 +16,7 @@ jobs:
1216
uses: BrandonLWhite/[email protected]
1317
- uses: actions/setup-python@v6
1418
with:
15-
python-version: 3.9
19+
python-version: ${{ env.PYTHON_VERSION }}
1620
cache: poetry
1721

1822
- name: Install dependencies

.github/workflows/lint.yml renamed to .github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313

1414
env:
15-
PYTHON_VERSION: 3.9
15+
PYTHON_VERSION: "3.10"
1616

1717
jobs:
1818
changed-files:

.github/workflows/make_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: true
99

1010
env:
11-
PYTHON_VERSION: 3.9
11+
PYTHON_VERSION: "3.10"
1212
NEW_VERSION: ${{ inputs.version }}
1313
NEW_TAG: v${{ inputs.version }}
1414

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ command. Instead, you can activate the virtual environment in your shell with:
124124

125125
$ poetry shell
126126

127-
You should see ``(beets-py3.9)`` prefix in your shell prompt. Now you can run
127+
You should see ``(beets-py3.10)`` prefix in your shell prompt. Now you can run
128128
commands directly, for example:
129129

130130
::
131131

132-
$ (beets-py3.9) pytest
132+
$ (beets-py3.10) pytest
133133

134134
Additionally, poethepoet_ task runner assists us with the most common
135135
operations. Formatting, linting, testing are defined as ``poe`` tasks in

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ simple if you know a little Python.
8585

8686
.. _transcode audio: https://beets.readthedocs.org/page/plugins/convert.html
8787

88-
.. _writing your own plugin: https://beets.readthedocs.org/page/dev/plugins.html
88+
.. _writing your own plugin: https://beets.readthedocs.org/page/dev/plugins/index.html
8989

9090
Install
9191
-------

README_kr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Beets는 라이브러리로 디자인 되었기 때문에, 당신이 음악들
7979

8080
.. _transcode audio: https://beets.readthedocs.org/page/plugins/convert.html
8181

82-
.. _writing your own plugin: https://beets.readthedocs.org/page/dev/plugins.html
82+
.. _writing your own plugin: https://beets.readthedocs.org/page/dev/plugins/index.html
8383

8484
설치
8585
-------

beets/__init__.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import confuse
1919

20-
from .util import deprecate_imports
20+
from .util.deprecation import deprecate_imports
2121

2222
__version__ = "2.5.1"
2323
__author__ = "Adrian Sampson <[email protected]>"
@@ -26,13 +26,9 @@
2626
def __getattr__(name: str):
2727
"""Handle deprecated imports."""
2828
return deprecate_imports(
29-
old_module=__name__,
30-
new_module_by_name={
31-
"art": "beetsplug._utils",
32-
"vfs": "beetsplug._utils",
33-
},
34-
name=name,
35-
version="3.0.0",
29+
__name__,
30+
{"art": "beetsplug._utils", "vfs": "beetsplug._utils"},
31+
name,
3632
)
3733

3834

0 commit comments

Comments
 (0)