Skip to content

[BUG] - Lidarr - TypeError: spawn() got an unexpected keyword argument 'dry_run' #402

Description

@Poisonsting

Application
Lidarr

Host platform
Proxmox LXC running docker compose

Describe the bug
Setup fails to install the required python packages

To Reproduce
Steps to reproduce the behavior:

  1. sudo docker rm lidarr -f
  2. docker compose up
  3. Wait
  4. See error

Expected behavior
The script completes setup and begins to work as normal

Logs/Screenshots

117 packages are looking for funding
  run `npm fund` for details
*** install python packages ***
Using Python 3.12.12 environment at: /usr
Resolved 61 packages in 2.29s
Downloading apprise (1.4MiB)
Downloading yt-dlp (3.1MiB)
Downloading numpy (17.7MiB)
Downloading pycryptodome (2.2MiB)
Downloading pycryptodomex (2.2MiB)
Downloading lap (1.6MiB)
Downloading scipy (35.7MiB)
   Building crcmod==1.7
   Building r128gain==1.0.7
   Building pyacoustid==1.3.0
   Building llvmlite==0.46.0
      Built r128gain==1.0.7
   Building langdetect==1.0.9
 Downloaded apprise
      Built pyacoustid==1.3.0
 Downloaded lap
 Downloaded pycryptodome
 Downloaded pycryptodomex
      Built crcmod==1.7
   Building numba==0.63.1
 Downloaded yt-dlp
  × Failed to build `llvmlite==0.46.0`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit
      status: 1)

      [stdout]
      running bdist_wheel

      [stderr]
      /run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py:4:
      FutureWarning: The 'wheel' package is no longer the canonical location
      of the 'bdist_wheel' command, and will be removed in a future release.
      Please update to setuptools v70.1 or later which contains an integrated
      version of this command.
        warn(
      Traceback (most recent call last):
        File "<string>", line 11, in <module>
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/build_meta.py",
      line 438, in build_wheel
          return _build(['bdist_wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/build_meta.py",
      line 429, in _build
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/build_meta.py",
      line 410, in _build_with_temp_dir
          self.run_setup()
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/build_meta.py",
      line 520, in run_setup
          super().run_setup(setup_script=setup_script)
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/build_meta.py",
      line 317, in run_setup
          exec(code, locals())
        File "<string>", line 187, in <module>
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/__init__.py",
      line 117, in setup
          return distutils.core.setup(**attrs)  # type: ignore[return-value]
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/_distutils/core.py",
      line 186, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/_distutils/core.py",
      line 202, in run_commands
          dist.run_commands()
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/_distutils/dist.py",
      line 1000, in run_commands
          self.run_command(cmd)
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/dist.py",
      line 1107, in run_command
          super().run_command(command)
        File
      "/run/lidarr-temp/.tmpBN12kF/builds-v0/.tmp14X3RX/lib/python3.12/site-packages/setuptools/_distutils/dist.py",
      line 1019, in run_command
          cmd_obj.run()
        File "<string>", line 149, in run
        File "<string>", line 67, in build_library_files
      TypeError: spawn() got an unexpected keyword argument 'dry_run'

      hint: This usually indicates a problem with the package or the build
      environment.
  help: `llvmlite` (v0.46.0) was included because `beets` (v2.6.1) depends on
        `numba` (v0.63.1) which depends on `llvmlite`

Additional context
This install was working flawlessly for about a month before I tried updating the container. I can no longer get anything to work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageNeeds to be validated/confirmed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions