chore: bump debian buster → trixie with deb822 sources fix #10

Merged
jcabillot merged 15 commits from fix/debian-trixie-transition into master 2026-06-12 09:13:03 -04:00
Owner

Remplace la MR Renovate #9 qui échoue avec l'erreur :
sed: can't read /etc/apt/sources.list: No such file or directory

Problème : Debian Trixie utilise le nouveau format deb822 (/etc/apt/sources.list.d/debian.sources) au lieu de l'ancien /etc/apt/sources.list. Les deux sed qui ciblaient sources.list échouent.

Correctifs appliqués :

  1. Bump debian:busterdebian:trixie-20260610
  2. Retrait du sed vers archive.debian.org — inutile pour Trixie (encore actif sur les mirrors principaux)
  3. Remplacement du sed "main → main contrib non-free" pour cibler /etc/apt/sources.list.d/debian.sources au format deb822
Remplace la MR Renovate #9 qui échoue avec l'erreur : `sed: can't read /etc/apt/sources.list: No such file or directory` **Problème :** Debian Trixie utilise le nouveau format **deb822** (`/etc/apt/sources.list.d/debian.sources`) au lieu de l'ancien `/etc/apt/sources.list`. Les deux `sed` qui ciblaient `sources.list` échouent. **Correctifs appliqués :** 1. Bump `debian:buster` → `debian:trixie-20260610` 2. Retrait du `sed` vers `archive.debian.org` — inutile pour Trixie (encore actif sur les mirrors principaux) 3. Remplacement du `sed "main → main contrib non-free"` pour cibler `/etc/apt/sources.list.d/debian.sources` au format deb822
cloudix_mcp_server added 1 commit 2026-06-12 08:06:33 -04:00
chore: bump debian buster → trixie and fix sources.list for deb822 format
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 18s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
3b3af1662f
Debian Trixie uses the new deb822 format (/etc/apt/sources.list.d/debian.sources)
instead of the old /etc/apt/sources.list file. The two sed commands that target
sources.list need updating:
- Remove archive.debian.org redirect (Trixie is still active on main mirrors)
- Add contrib/non-free to the deb822-format sources file
cloudix_mcp_server added 1 commit 2026-06-12 08:08:14 -04:00
fix: replace python3-yenc with pip sabyenc for Trixie compatibility
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 55s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
bba9068158
python3-yenc was removed from Debian Trixie. SABnzbd uses sabyenc
(via pip) as the replacement. Uncomment the pip install line and
remove python3-yenc from apt RUNTIME_PACKAGES.
cloudix_mcp_server added 1 commit 2026-06-12 08:10:54 -04:00
fix: add PIP_BREAK_SYSTEM_PACKAGES=1 for Debian Trixie PEP 668
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Failing after 54s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
1e05c40ffc
Debian Trixie enforces PEP 668 (externally-managed-environment),
blocking system-wide pip installs. Export PIP_BREAK_SYSTEM_PACKAGES=1
to allow pip to install sabyenc and other Python deps in the container.
cloudix_mcp_server added 1 commit 2026-06-12 08:13:27 -04:00
fix: remove explicit sabyenc pip install (incompatible with Python 3.13)
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 45s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
f505b1cac0
sabyenc uses deprecated Python 2 C API (PyString_*) removed in Python
3.12+. Debian Trixie ships Python 3.13. The yEnc dependency is handled
by SABnzbd's requirements.txt. Remove the outdated explicit pip install.
cloudix_mcp_server added 1 commit 2026-06-12 08:15:30 -04:00
fix: remove pip --upgrade pip (Debian's pip 25.1.1 has no RECORD file)
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Failing after 1m38s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
2edb1909df
Debian's pip 25.1.1 is already installed without a RECORD file, causing
the upgrade to fail. The system pip is already recent enough for
requirements.txt.
cloudix_mcp_server added 1 commit 2026-06-12 08:17:58 -04:00
fix: pre-install cffi>=1.17 for Python 3.13 compatibility
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Failing after 1m46s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
bfc1e68e90
SABnzbd's requirements.txt pins cffi 1.15.1 which uses the removed
_PyErr_WriteUnraisableMsg API (Python 3.13+). Pre-install cffi>=1.17
so pip doesn't try to build the incompatible version.
cloudix_mcp_server added 1 commit 2026-06-12 08:20:46 -04:00
fix: install python3-cffi from apt (Python 3.13 compatible)
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 1m33s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
8572d2e071
The pip cffi package fails to build from source on Python 3.13
(no pre-built wheel). Install python3-cffi from Debian repos instead.
Remove the pip cffi>=1.17 workaround.
cloudix_mcp_server added 1 commit 2026-06-12 08:28:27 -04:00
fix: unpin cffi from requirements.txt to use system python3-cffi
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 1m26s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
5034429022
SABnzbd 3.7.2 pins cffi==1.15.1 which is incompatible with Python 3.13
(removed internal API _PyErr_WriteUnraisableMsg). Relax the pin so pip
uses the system-installed python3-cffi (Debian Trixie's version).
cloudix_mcp_server added 1 commit 2026-06-12 08:31:03 -04:00
fix: unpin all packages in requirements.txt for system compatibility
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Failing after 53s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
3ea95d1cac
Debian Trixie ships many Python packages (cryptography 43.0.0,
cffi, etc.) via apt that conflict with SABnzbd's pinned versions
(cryptography==39.0.0, cffi==1.15.1). Pinned deps fail to install
because pip can't uninstall the system packages (no RECORD file).
Relax all pins so pip uses compatible versions already present.
cloudix_mcp_server added 1 commit 2026-06-12 08:33:45 -04:00
fix: remove pywin32 from requirements.txt (Windows-only package)
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Failing after 52s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
56c44bd008
pywin32 is a Windows-only dependency not available on pip for Linux.
Remove it after unpinning to allow requirements install to complete.
cloudix_mcp_server added 1 commit 2026-06-12 08:36:57 -04:00
fix: use Python script to filter requirements.txt instead of sed
Docker Build and Push / lint (pull_request) Failing after 5s
Docker Build and Push / build (pull_request) Failing after 5s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
26ee42dfa9
Replace brittle sed patch with a Python script that:
1. Removes Windows/macOS-only packages (pywin32, pyobjc, etc.)
2. Unpins versions to let pip resolve with system packages from apt
cloudix_mcp_server added 1 commit 2026-06-12 08:37:55 -04:00
fix: restore clean Dockerfile, only remove pywin32 from requirements
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 1m39s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
d19dca8715
Remove the broken multi-line Python block. Only keep the targeted
pywin32 removal (other pins are handled via apt-installed packages
python3-cffi).
cloudix_mcp_server added 1 commit 2026-06-12 08:38:27 -04:00
fix: also unpin cffi and cryptography in requirements.txt
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 3m4s
Docker Build and Push / test (pull_request) Failing after 1m19s
Docker Build and Push / push (pull_request) Has been skipped
213fcfa08a
System python3-cffi (apt) conflicts with cffi==1.15.1 pin;
system cryptography conflicts with cryptography==39.0.0 pin.
Unpin both so pip uses the Debian-provided versions.
cloudix_mcp_server added 1 commit 2026-06-12 08:51:28 -04:00
chore: bump SABnzbd 3.7.2 → 4.5.5
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 2m33s
Docker Build and Push / test (pull_request) Failing after 25s
Docker Build and Push / push (pull_request) Has been skipped
2d9c22701b
Latest stable 4.x release from https://github.com/sabnzbd/sabnzbd
cloudix_mcp_server added 1 commit 2026-06-12 09:06:53 -04:00
fix(test): follow redirect with curl -L in test.sh
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 2m30s
Docker Build and Push / test (pull_request) Successful in 19s
Docker Build and Push / push (pull_request) Has been skipped
f6bf0cf2fa
SABnzbd redirects to /wizard/ on first run (303). Without -L,
the test gets the redirect body (no "SABnzbd" text). With -L,
curl follows to the wizard page which contains the expected text.
jcabillot merged commit 69d504de2e into master 2026-06-12 09:13:03 -04:00
jcabillot deleted branch fix/debian-trixie-transition 2026-06-12 09:13:03 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: web/sabnzbd#10