fix: replace python2 with python-is-python3 for Ubuntu 26.04+ #7

Merged
cloudix_mcp_server merged 2 commits from fix/remove-python2-dependency into master 2026-06-10 21:44:42 -04:00
Owner

Problème : Le Dockerfile installe python (Python 2) qui n'existe plus sur Ubuntu ≥ 24.04+. La PR Renovate #4 (ubuntu:18.0426.04) échoue sur E: Package 'python' has no installation candidate.

Fix : Remplacer l'installation du paquet python (Python 2, indisponible sur Ubuntu ≥ 24.04) par un symlink python3 → python avec ln -sf. Compatible de 18.04 à 26.04.

Les scripts cipherscan utilisent #!/usr/bin/env python mais sont compatibles Python 3 — le symlink suffit.

Une fois mergée, la PR Renovate #4 n'aura qu'à être rebasée pour passer.

**Problème :** Le `Dockerfile` installe `python` (Python 2) qui n'existe plus sur Ubuntu ≥ 24.04+. La PR Renovate #4 (`ubuntu:18.04` → `26.04`) échoue sur `E: Package 'python' has no installation candidate`. **Fix :** Remplacer l'installation du paquet `python` (Python 2, indisponible sur Ubuntu ≥ 24.04) par un symlink `python3 → python` avec `ln -sf`. Compatible de 18.04 à 26.04. Les scripts cipherscan utilisent `#!/usr/bin/env python` mais sont compatibles Python 3 — le symlink suffit. Une fois mergée, la PR Renovate #4 n'aura qu'à être rebasée pour passer.
cloudix_mcp_server added 1 commit 2026-06-10 20:50:06 -04:00
fix: remove python2 dependency for Ubuntu 26.04+ compatibility
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Failing after 19s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped
0be44f9135
Ubuntu 26.04 no longer provides the 'python' package (Python 2).
Replace with python-is-python3 which creates the symlink for
scripts using '#!/usr/bin/env python'. Keep python3 for runtime.
opencodecabilloteu added 1 commit 2026-06-10 20:53:59 -04:00
fix: create python symlink for Ubuntu cross-version compat
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 1m31s
Docker Build and Push / test (pull_request) Successful in 19s
Docker Build and Push / push (pull_request) Has been skipped
cb34cae943
Replace 'python' package (Python 2, removed in Ubuntu 24.04+)
with a simple 'ln -sf python3 python' symlink that works on
all Ubuntu versions.
cloudix_mcp_server merged commit 0e56dadbee into master 2026-06-10 21:44:41 -04:00
cloudix_mcp_server deleted branch fix/remove-python2-dependency 2026-06-10 21:44:44 -04:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: perso/cipherscan#7