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

[Fix] Updated packages required by the discogs plugin for beets 2.0+ (on the stable branch) #126

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

CoordSpace
Copy link
Contributor

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

This PR is identical to #125 except it targets the master/stable builds of docker-beets.

With it merged, #120 can finally be closed.


With the release of Beets 2.0 around 4 months ago, the required python package needed for the Discogs plugin has been changed. As a result, the builds of Beets in this container spit out an error message upon each album import. The details of this are outlined in #120

As stated in the official documentation for the Discogs plugin, the previous required package for Discogs plugin support (discogs-client) has been deprecated and superseded by python3-discogs-client. In order for python3-discogs-client to work as intended and not cause Beets to crash with ModuleNotFoundError: No module named 'typing_extensions' upon invocation, the package typing-extensions has also been added to the pip install command in both Dockerfiles.

Benefits of this PR and context:

This patch, along with another that targets the stable branch, closes #120, eliminating the error message mentioned in that bug report and furthering working Discogs metadata support for the foreseeable future.

How Has This Been Tested?

The changes in this PR have been tested by locally building the container on my Ubuntu 24.04.1 LTS server and running it with Docker version 27.2.0. The webUI was tested for functionality and, using the CLI interface, multiple albums were imported and edited with my personal Beets configuration file that makes use of the Discogs plugin. All systems functioned as expected sans the aforementioned error.

Source / References:

@LinuxServer-CI
Copy link
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/beets/2.0.0-pkg-309fbad3-dev-c1d479d2931e16cb087e2ec15217f7c58990f2d0-pr-126/index.html
https://ci-tests.linuxserver.io/lspipepr/beets/2.0.0-pkg-309fbad3-dev-c1d479d2931e16cb087e2ec15217f7c58990f2d0-pr-126/shellcheck-result.xml

Tag Passed
amd64-2.0.0-pkg-309fbad3-dev-c1d479d2931e16cb087e2ec15217f7c58990f2d0-pr-126
arm64v8-2.0.0-pkg-309fbad3-dev-c1d479d2931e16cb087e2ec15217f7c58990f2d0-pr-126

@aptalca aptalca merged commit 27962dd into linuxserver:master Oct 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] discogs plugin issues with beet 2.0.0
3 participants