Skip to content

Draft: Make Python build a bit more flexible

Tadej Novak requested to merge tadej/atlasexternals:python into master

Make custom Python builds a bit more flexible so one can actually override the version.

  • Define ATLAS_BUILD_PYTHON_VERSION_MAJOR and ATLAS_BUILD_PYTHON_VERSION_MINOR in projects that may build python themselves.
  • Remove all hardcodes of python3 and python3.9 (the former is probably overkill, but at least we're ready for python4 now 😊).

This allows me to build with Python 3.10 (note that LHAPDF does not build with it, but this is a completely separate issue).

Keeping draft to allow more discussion first.

/cc @akraszna

Merge request reports