Skip to content

version.py is not generated correctly for in-source (editable) builds #1298

@kory

Description

@kory

With setuptools-scm 10.x, the version file is not being generated when builds are done in-source (editable).

https://github.com/qualcomm/ai-hub-models

Repro:

git clone git@github.com:qualcomm/ai-hub-models.git
cd ai-hub-models
pip install -e .
FILE=qai_hub_models/_version.py
if [ -f "$FILE" ]; then
    echo "File $FILE exists."
else
    echo "File $FILE does not exist."
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions