Skip to content

Ability to skip the installation of the package in prep-git #321

@jtpio

Description

@jtpio

Problem

Follow-up to #319 (review)

Some projects use a top-level pyproject.toml to manage configuration for Python monorepos (isort, tbump), without the top-level being installable.

For example JupyterLite: https://github.com/jupyterlite/jupyterlite/blob/main/pyproject.toml

The default installation step in prep-git is then causing some issues because the top-level is not installable:

# Install the package
# install python package in editable mode with dev and test deps
if util.PYPROJECT.exists():
util.run('pip install -q -e ".[dev,test]"')

Proposed Solution

Maybe there could be a new releaser configurable option to skip this installation step.

Or the installation step moved to another step, so it can be skip-ed

Additional context

#319 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions