Skip to content

Project should be tested as installed #2318

Open
@pganssle

Description

@pganssle

Right now, we are testing an editable install of setuptools and possibly relying on the fact that the tests are run from the repository root, which is a problem. We should instead test our projects as installed, meaning we should:

  1. Remove the usedevelop=True flag from tox.ini.
  2. Either switch to a src/ layout and/or run the tests from another directory per the suggestions in this blog post.

This is especially important after the resolution to #2259, which makes a pretty significant change to the way our project works when it is installed normally as opposed to in an editable install. Considering that we're basically considering editable installs of setuptools to be an unsupported configuration, we should definitely be testing only installed configurations.

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