Why does it take so long to build some Python ports

From: Xavier Humbert <xavier_at_groumpf.org>
Date: Fri, 03 Jan 2025 07:41:08 UTC
Hi,

Some, but not all python ports spend a long time in building eggs

Ex :

running egg_info
writing src/charset_normalizer.egg-info/PKG-INFO
writing dependency_links to 
src/charset_normalizer.egg-info/dependency_links.txt
writing entry points to src/charset_normalizer.egg-info/entry_points.txt
writing requirements to src/charset_normalizer.egg-info/requires.txt
writing top-level names to src/charset_normalizer.egg-info/top_level.txt

*pstree -w *shows :

| |               \-+- 64353 root /usr/local/bin/python3.11 -m build 
--no-isolation --wheel
| |                 \-+- 64468 root /usr/local/bin/python3.11 
/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py 
build_wheel /tmp/tmptnbyl41r
| |                   \--- 64471 root git archive --prefix /usr/ports/ HEAD

What is the purpose of *git archive* ?

Regards,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr