Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hatch run format #217

Open
davechris opened this issue Apr 26, 2024 · 1 comment
Open

hatch run format #217

davechris opened this issue Apr 26, 2024 · 1 comment

Comments

@davechris
Copy link
Collaborator

returns “ModuleNotFoundError: No module named 'dtscalibration'”

I followed the Instructions from CONTRIBUTING.rst file and at some point ran the command.
None of the tests execute as it does not find the dtscalibration package...

If I run the test scripts manually, they work.

I am using Python 3.10.4 on Windows 11 and here is the full error message in a text file:

hatch_commands_console_error_message.txt

@BSchilperoort
Copy link
Collaborator

git clone [email protected]:dtscalibration/python-dts-calibration.git
cd python-dts-calibration
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
which hatch  # returns correct path
hatch run fast-test

returns no module named pluggy :/

python -m hatch run fast-test

Works. There is some environment mess going on here (for me).

I am not able to reproduce your error, but it's frustrating that hatch is making it more difficult instead of easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants