Skip to content

Hatch test does not find private package dependency, while it is found in the default environment #1668

Answered by bkerkhof
bkerkhof asked this question in Q&A
Discussion options

You must be logged in to vote

And the answer is that hatch test doesn't use pip but uv by default.

Setting installer="pip" for the hatch-test environment seems to do the trick. Unfortunately, uv doesn't support something like PIP_TRUSTED_HOST for a self-signed SSL certificate, so it ends up being slower -- but functional.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ofek
Comment options

ofek Aug 7, 2024
Maintainer Sponsor

Answer selected by bkerkhof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants