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
This commit is contained in:
Takashi Kajinami 2024-10-10 12:52:17 +09:00
parent 6ab7d3447d
commit c02d2f8c73

View File

@ -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