From 615ccbbf4c9b8b3de7fec6e53bde4b04c369e9f5 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Sat, 25 Oct 2025 15:29:51 +0200 Subject: [PATCH] Test for beets 2.5 --- .flake8 | 3 --- .github/workflows/main.yaml | 7 ++++++- CHANGELOG.md | 2 +- README.md | 4 ++-- uv.lock | 6 +++--- 5 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 .flake8 diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 9410c79..0000000 --- a/.flake8 +++ /dev/null @@ -1,3 +0,0 @@ -[flake8] -max-line-length = 88 -extend-ignore = E203,E501 diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c523e8b..82cf661 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,6 +1,10 @@ name: Check and test -on: [push, pull_request] +on: + push: + branches: [main] + pull_request: + branches: [main] env: FORCE_COLOR: "1" @@ -42,6 +46,7 @@ jobs: - "beets==2.1.*" - "beets==2.2.*" - "beets==2.3.*" + - "beets==2.4.*" runs-on: ubuntu-latest continue-on-error: ${{ endsWith(matrix.beets, 'master') }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c4546d9..05172c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- Add support for beets 2.4 +- Add support for beets 2.5 - Drop support for Python 3.9 and beets<2 ## v0.15.0 2024-09-20 diff --git a/README.md b/README.md index 278b078..89632f5 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ _beets-check_ lets you verify the integrity of your audio files. It computes and validates file checksums and uses third party tools to run custom tests on files. -This plugin requires at least version 1.6.1 of beets and at least Python 3.8 +This plugin requires at least version 2 of beets and at least Python 3.10 ``` -pip install --upgrade beets>=1.6.1 +pip install --upgrade beets>=2 pip install git+git://github.com/geigerzaehler/beets-check.git@main ``` diff --git a/uv.lock b/uv.lock index cf3da5c..97dc1b1 100644 --- a/uv.lock +++ b/uv.lock @@ -8,7 +8,7 @@ resolution-markers = [ [[package]] name = "beets" -version = "2.4.0" +version = "2.5.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, @@ -24,9 +24,9 @@ dependencies = [ { name = "typing-extensions" }, { name = "unidecode" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/e2/df/70de9369210d849724af07f17306784b9212198d73ca606bbadba3ace4f5/beets-2.4.0.tar.gz", hash = "sha256:c5897e7b018fbeaf02a9c50b93e338a4f4e854ed8321471be690a7746be03efa", size = 2134935, upload-time = "2025-09-13T16:50:03.21Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c9/32/2b5ae0038c442e783b4f00b4145b15357a2f2358fd985c60a1f890751bb0/beets-2.5.1.tar.gz", hash = "sha256:7feefd70804fbcf26516089f472bac34c6a77e8e20ec539252fd1bafc91de9a2", size = 2147257, upload-time = "2025-10-14T22:52:55.631Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f5/62/c9146c0322c2772bd30bb2ec4fc3572b3815b5386591d661deb0913410d2/beets-2.4.0-py3-none-any.whl", hash = "sha256:0b50b9d15a413662c7e19378408e93909b53b83f8a71e1babba3e2bf88673c8b", size = 570247, upload-time = "2025-09-13T16:50:01.105Z" }, + { url = "https://files.pythonhosted.org/packages/62/26/c459ae5217a69d1a2c83ddb80b61480764e990049b7d9f6a5b82660457f4/beets-2.5.1-py3-none-any.whl", hash = "sha256:3e58f33d898d007e6bfd385bd145d2c39325ef6b6f831f7269d037bbcb542bf7", size = 573677, upload-time = "2025-10-14T22:52:53.728Z" }, ] [[package]]