hatch icon indicating copy to clipboard operation
hatch copied to clipboard

Feature request: Add an option to always install the project from sdist before running a command in an environment

Open Midnighter opened this issue 2 weeks ago • 2 comments

For context: I am migrating from tox to hatch. With tox, the default behavior is to always install the project from a newly generated sdist, unless I either choose editable mode, or to not have the project installed. I would love to have that possibility with hatch environments as well. My main reason for wanting this is that I prefer to test my package as it is installed. Sometimes you forget to include a data file or other subtle differences that will not be apparent when running in dev-mode.

See also https://github.com/pypa/hatch/discussions/1581 for my original question about dev-mode.

Midnighter avatar Jun 23 '24 15:06 Midnighter