Skip to content

pip-accel is not compatible with -e editable installs of packages that use setuptools_scm #71

@mrmachine

Description

@mrmachine

setuptools_scm is "the blessed package to manage your versions by scm tags". So your package version will be determined by a git tag, instead of a hard coded string inside your application code. So you don't need a "bump version" commit for every source code change just to release a new package.

pip-accel downloads -e editable packages from git to a bare repository in a temporary directory, and then checks out a working copy from the bare repository into a src directory, then tries to install.

Problem is, this working copy does not have access to the git repository from which it was checked out. So setuptools_scm is unable to determine its version number, and installation fails.

setuptools_scm is designed to allow installation without access to the git repository only when it is already packaged and this metadata is baked into the egg. Without this metadata, and without access to the git repository, setuptools_scm cannot work from a bare working copy.

pip-accel should behave more like pip, and clone a normal repository to the src directory and install from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions