Tandoor Won't Update #756

Closed
opened 2026-02-04 21:19:04 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @AdventureSeeker423 on GitHub (Apr 5, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Tandoor

📂 What was the exact command used to execute the script?

update

📝 Provide a clear and concise description of the issue.

See code below. Server won't properly update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 22.04

🔄 Steps to reproduce the issue.

perform update

Paste the full error output (if available).

⠹ Updating Tandoor (Patienceerror
error: subprocess-exited-with-error

× Building wheel for xmlsec (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File "/tmp/pip-build-env-vznt0o0h/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/tmp/pip-build-env-vznt0o0h/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: MIT License
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_py
  creating build/lib.linux-x86_64-cpython-311/xmlsec
  copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
  copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
  copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
  copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
  copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
  running build_ext
  error: Unable to invoke pkg-config.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xmlsec
Successfully built django-allauth
Failed to build xmlsec
ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects
⠦ Updating Tandoor (Patience)
[ERROR] in line 36: exit code 0: while executing command $STD pip3 install -r requirements.txt

🖼️ Additional context (optional).

No response

Originally created by @AdventureSeeker423 on GitHub (Apr 5, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Tandoor ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. See code below. Server won't properly update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 22.04 ### 🔄 Steps to reproduce the issue. perform update ### ❌ Paste the full error output (if available). ⠹ Updating Tandoor (Patienceerror error: subprocess-exited-with-error × Building wheel for xmlsec (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [30 lines of output] WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/tmp/pip-build-env-vznt0o0h/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /tmp/pip-build-env-vznt0o0h/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec running build_ext error: Unable to invoke pkg-config. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for xmlsec Successfully built django-allauth Failed to build xmlsec ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects ⠦ Updating Tandoor (Patience) [ERROR] in line 36: exit code 0: while executing command $STD pip3 install -r requirements.txt ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 21:19:04 +03:00
Author
Owner

@MickLesk commented on GitHub (Apr 5, 2025):

Why Ubuntu 22.04? That use an completly other Python Version. We cant provide any version here. My Tandoor updated fine today.

@MickLesk commented on GitHub (Apr 5, 2025): Why Ubuntu 22.04? That use an completly other Python Version. We cant provide any version here. My Tandoor updated fine today.
Author
Owner

@AdventureSeeker423 commented on GitHub (Apr 5, 2025):

Whoops, didn't mean to put that. It is the default that the script installs with - bookworm.

NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

@AdventureSeeker423 commented on GitHub (Apr 5, 2025): Whoops, didn't mean to put that. It is the default that the script installs with - bookworm. NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)"
Author
Owner

@ranebrown commented on GitHub (Apr 6, 2025):

I'm seeing the same issue trying to update.

@ranebrown commented on GitHub (Apr 6, 2025): I'm seeing the same issue trying to update.
Author
Owner

@ghoeffner commented on GitHub (Apr 6, 2025):

Can confirm: having the same issue.
Debian GNU/Linux 12 \n \l

@ghoeffner commented on GitHub (Apr 6, 2025): Can confirm: having the same issue. Debian GNU/Linux 12 \n \l
Author
Owner

@tremor021 commented on GitHub (Apr 6, 2025):

Can you try updating pip before running update?

pip install -U pip

@tremor021 commented on GitHub (Apr 6, 2025): Can you try updating pip before running update? `pip install -U pip`
Author
Owner

@ranebrown commented on GitHub (Apr 7, 2025):

It looks like there is an issue with the python package xmlsec. If that is installed first with apt install python3-xmlsec instead of with pip then the update will succeed. Directly trying to install it with pip3 install xmlsec fails with the same error message as seen when running the update script.

@ranebrown commented on GitHub (Apr 7, 2025): It looks like there is an issue with the python package `xmlsec`. If that is installed first with `apt install python3-xmlsec` instead of with pip then the update will succeed. Directly trying to install it with `pip3 install xmlsec` fails with the same error message as seen when running the update script.
Author
Owner

@tremor021 commented on GitHub (Apr 7, 2025):

Interesting... @AdventureSeeker423 can you do apt-get install python3-xmlsec then try updating again to confirm what @ranebrown said?

@tremor021 commented on GitHub (Apr 7, 2025): Interesting... @AdventureSeeker423 can you do `apt-get install python3-xmlsec` then try updating again to confirm what @ranebrown said?
Author
Owner

@AdventureSeeker423 commented on GitHub (Apr 9, 2025):

I think that fixed it? I did that and then ran update and I got that "There is currently no update available."

@AdventureSeeker423 commented on GitHub (Apr 9, 2025): I think that fixed it? I did that and then ran update and I got that "There is currently no update available."
Author
Owner

@tremor021 commented on GitHub (Apr 9, 2025):

The script uses git pull at the moment to check for updates, so yea, seems like you have the latest code.

I've pushed the PR to address the issue, should be fixed after #3762 merges

@tremor021 commented on GitHub (Apr 9, 2025): The script uses `git pull` at the moment to check for updates, so yea, seems like you have the latest code. I've pushed the PR to address the issue, should be fixed after #3762 merges
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#756