From e57f24d1f7fe9490be774eb94860535077f78fbb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Feb 2025 21:42:15 -0500 Subject: [PATCH] Try python3-packaging instead of python3-psutil for JupyterHub --- roles/jupyterhub/tasks/install.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/jupyterhub/tasks/install.yml b/roles/jupyterhub/tasks/install.yml index 4e23f9ccc..3513004e8 100644 --- a/roles/jupyterhub/tasks/install.yml +++ b/roles/jupyterhub/tasks/install.yml @@ -18,9 +18,11 @@ register: df1 -- name: "Install package: python3-psutil" +- name: "Install package: python3-packaging" package: - name: python3-psutil + name: + - python3-packaging # 2025-02-15: Debian 13 needs python3-packaging and does NOT need python3-psutil. Debian 12 doesn't need python3-packaging OR python3-psutil. Ubuntu 24.04+ comes with python3-packaging pre-installed. + #- python3-psutil # 2023-04-26 thanks to @jvonau: Workaround for a wheel that is not available from PyPI for Python 3.11: https://github.com/iiab/iiab/pull/3554#issuecomment-1523358501 state: present - name: Remove previous virtual environment {{ jupyterhub_venv }}