From c02d2f8c73f9046accb9b96ff731c69e3a4c3064 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 10 Oct 2024 12:52:17 +0900 Subject: [PATCH] Drop SETUPTOOLS_USE_DISTUTILS=stdlib This requires distutils which was removed from the core python and was moved to setuptools in Python 3.12 . The original issue with setuptools was resolved so we no longer need this workaround. Change-Id: I205536eca373cd0ef077d1448d49c7ade1d2ae91 --- playbooks/integration/initial-setup.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/playbooks/integration/initial-setup.yaml b/playbooks/integration/initial-setup.yaml index 1dd5a6e..0e2fee2 100644 --- a/playbooks/integration/initial-setup.yaml +++ b/playbooks/integration/initial-setup.yaml @@ -17,9 +17,6 @@ requirements: "{{ metalsmith_src_dir }}/metalsmith/requirements.txt" extra_args: -c {{ metalsmith_src_dir }}/requirements/upper-constraints.txt become: true - environment: - # NOTE(dtantsur): https://github.com/pypa/setuptools/issues/2353 - SETUPTOOLS_USE_DISTUTILS: stdlib vars: ansible_python_interpreter: /usr/bin/python3 @@ -28,7 +25,5 @@ name: "{{ metalsmith_src_dir }}/metalsmith" editable: true become: true - environment: - SETUPTOOLS_USE_DISTUTILS: stdlib vars: ansible_python_interpreter: /usr/bin/python3