Why doesn't hatch find an installed python interpreter to be used in a test environment ? #1918
Unanswered
manuel-koch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a python project inside a sub-directory of my git-repo.
The
pyproject.tomlcontains this snippet to configure python interpreter for the test environment(s):This python version seems to be installed:
$ hatch --version Hatch, version 1.14.0 $ hatch python show Installed ┏━━━━━━┳━━━━━━━━━┓ ┃ Name ┃ Version ┃ ┡━━━━━━╇━━━━━━━━━┩ │ 3.10 │ 3.10.16 │ ├──────┼─────────┤ │ 3.12 │ 3.12.8 │ └──────┴─────────┘But when I try to run tests,
hatchcan't setup that env !?I have tried using
3.10as the version string too, but that isn't found either.It works though when using
312as the version string.Beta Was this translation helpful? Give feedback.
All reactions