Skip to content

Commit

Permalink
Confirm support for beets v2
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Jun 25, 2024
1 parent b043923 commit c43b3dc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:
# Ignore .coverage, which has limited support from coveralls
file: coverage.xml

build-beets-master:
build-beets-versions:
runs-on: ubuntu-latest
strategy:
matrix:
beets:
- "git+https://github.com/beetbox/beets#master"
- "beets==1.6.1"

steps:
- uses: actions/checkout@v4
Expand All @@ -57,7 +62,6 @@ jobs:
cache: poetry
- run: poetry env use $(which python)
- run: poetry install
# We cannot use `poetry add` because poetry does not install beets
# dependencies properly
- run: poetry run pip install "git+https://github.com/beetbox/beets#master"
- run: poetry add ${{ matrix.beets }}
- run: poetry run pyright --warnings
- run: poetry run pytest
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Change Log
## Upcoming
* Fix an issue where items in a symlink collection with relative links were
always unnecessarily updated.
* Support [Beets v2](https://beets.readthedocs.io/en/latest/changelog.html#may-30-2024)

## v0.11.1 - 2024-04-24
* Add `--all` flag to update command which will update all configured
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
beets = "^1.6.0"
beets = ">=1.6.0 <3"

[tool.poetry.group.dev.dependencies]
confuse = "^2.0.1"
Expand Down

0 comments on commit c43b3dc

Please sign in to comment.