Skip to content

Behaviour using version-pioneer for conda-forge builds #5

@will-s-hart

Description

@will-s-hart

When using versioneer to build conda-forge packages from GitHub archives, strings that were substituted into _version.py upon git archive are used to determine the version number during the conda-forge recipe build. Since git archive support is not included in version-pioneer, version inference fails during conda-forge recipe builds: instead, inferred versions are based on (incorrect) tags taken from a git repo on the build machine that contains the downloaded source code several directories down.

I'm going to try to get git archive working at least in my use case by editing the _version.py file. Not sure if there's an appetite to restore git archive support more widely - if not, hopefully my experience is nonetheless useful if anyone else wants to use version-pioneer with conda-forge (will link my version script in case useful for anyone if I get things working)

(Edited since I realised an earlier alternative attempt at fixing my conda-forge build wouldn't work)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions