system-config/docker/python-builder/scripts
Clark Boylan 80ec51e907 Use the build tool in assemble instead of setup.py
Our python builder's assemble script was used as guidance for building
wheels to workaround git's new permission checking behavior. When it was
called out that setup.py is deprecated and using `build` would be better
we decided that using setup.py was fine since all our images currently
use it.

Now that we've cleaned up our old buster images and python3.7 it is the
perfect time to update to modern python build tooling as well. Update
the assembel script to use `build` instead of setup.py.

As far as I can tell `build` maintains the old setup.py behavior of
emitting artifacts to the output directory separate of any dependency
packages that may have been pulled down to build the package. As the old
comment indicates this behavior is desireable.

It may also be worth testing this update against Zuul and other
relatively complicated python packages to ensure we haven't changed
behavior in some unexpected way.

Change-Id: Ib2a7335219842413e507c0593ceed187819d83b3
2022-04-20 08:52:34 -07:00
..
assemble Use the build tool in assemble instead of setup.py 2022-04-20 08:52:34 -07:00
get-extras-packages python-builder: drop # from line 2020-05-04 15:17:12 -04:00
install-from-bindep python-builder: don't force siblings install 2021-05-20 11:59:44 +10:00