The GitHub Actions job "Tests AMD" on airflow.git/move_prod_to_python_build has 
succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
15ada381e20f7b07d2324aed9aa60c5f88cb4d6c / Aritra Basu 
<24430013+aritr...@users.noreply.github.com>
Migrated prod builds to use python built from source

Moved the prod build to also use the src built python
as done by CI. This let's us iterate faster on our
python versions without needing to wait for the community
image of python.

This involves a number of changes:

* 3.0.5 -> 3.0.6 airflow version change
* use released official packages rather than git repo to install Python
* added wget (it was added in the original image to pull python packages so
  added for compatibility) added those flags to python build (same as in the
* original build)
   * --with-ensurepip --build="$gnuArch"
   * --enable-loadable-sqlite-extension
   * --enable-option-checking=fatal
   * --enable-shared
   *  --with-lto
* added cleanup of apt after installing packages
* added removal of .pyc/.test etc. files (saves 350 MB)
* added relinking of symbolic links from /usr/python/bin to /usr/local/bin in
  the "main" image as well as in the build image.
* we do not need AIRFLOW_SETUPTOOLS_VERSION any more - this was only added to
  upgrade setuptools, because the Python official image had a very old
  setuptools version.
* checked all "customize" scripts and make them "work"
* Updated the 'version upgrade" script to upgrade AIRFLOW_PYTHON_VERSION 
everywhere
* Updated Changelog and documentation to update new ways of building images
* removed installation with GitHub URL (it won't work easily after splitting
  to multiple packages - not easily at least) and it's not needed
* all python, pip and similar links are created in /usr/python/bin
* /usr/python/bin is always first in the PATH - before /usr/local/bin
* added changelog entry explaining that Python's installation home has been
  moved to /usr/python/ from /usr/local
* removal of installed editable distributions in breeze happens now first and
  THEN we install when --use-airflow-version is used.
* LD_LIBRARY_PATH was not set so the shared python libraries could not be
  loaded when venv was created

Co-authored-by: Aritra Basu <24430013+aritr...@users.noreply.github.com>
Co-authored-by: Jarek Potiuk <ja...@potiuk.com>

Report URL: https://github.com/apache/airflow/actions/runs/17323140168

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscr...@airflow.apache.org
For additional commands, e-mail: jobs-h...@airflow.apache.org

Reply via email to