[PR #4322] [MERGED] SearXNG: fix to resolve yaml dependency error #4887

Closed
opened 2025-11-20 06:12:10 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/4322
Author: @Biendeo
Created: 5/8/2025
Status: Merged
Merged: 5/8/2025
Merged by: @michelroegl-brunner

Base: mainHead: patch-1


📝 Commits (1)

  • 49b31c0 Update searxng-install.sh

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 install/searxng-install.sh (+1 -1)

📄 Description

✍️ Description

The build script in the SearXNG repository currently fails because the pip install step uses its own temporary virtual environment, and fails to find the installed yaml module. This change is suggested from their docs: https://docs.searxng.org/admin/installation-searxng.html#install-searxng-dependencies, which utilises the outside environment (which has manually installed pyyaml on the line before already).

Link: #4312

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
    • NB: I'm first time contributing so let me know what's the best way to test this smoothly. I've been running the critical parts based on a fresh Debian LXC but I don't have a full end-to-end from the PVE host run yet.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/4322 **Author:** [@Biendeo](https://github.com/Biendeo) **Created:** 5/8/2025 **Status:** ✅ Merged **Merged:** 5/8/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`49b31c0`](https://github.com/community-scripts/ProxmoxVE/commit/49b31c02f063dbb4583f9ac12d22c70312e45100) Update searxng-install.sh ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `install/searxng-install.sh` (+1 -1) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description The build script in the SearXNG repository currently fails because the `pip install` step uses its own temporary virtual environment, and fails to find the installed `yaml` module. This change is suggested from their docs: https://docs.searxng.org/admin/installation-searxng.html#install-searxng-dependencies, which utilises the outside environment (which has manually installed `pyyaml` on the line before already). ## 🔗 Related PR / Issue Link: #4312 ## ✅ Prerequisites (**X** in brackets) - [X] **Self-review completed** – Code follows project standards. - [X] **Tested thoroughly** – Changes work as expected. - **NB**: I'm first time contributing so let me know what's the best way to test this smoothly. I've been running the critical parts based on a fresh Debian LXC but I don't have a full end-to-end from the PVE host run yet. - [X] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [X] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 06:12:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#4887