anacondapackagecondaconda-build

What is after second = in conda dependencies yml. Example pandas=1.2.4=py38h1abd341_0


I am generating conda dependencies YAML and I don't entirely understand the information that is presented there. In pandas=1.2.4=py38h1abd341_0 I know that it is pandas 1.2.4 version but what is py38h1abd341_0?


Solution

  • That is the build string, documented here. The py38 indicates the package is built for Python 3.8. The 8 characters after that are a hexidecimal hash of the package dependencies, to differentiate variants that can be used to satisfy different dependencies (think glibc on Linux or the MSVCRT on Windows).

    After the underscore is the build number, which is incremented when the package recipe changes but the package version does not change.

    The new hash was introduced with Conda Build 3