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 test fails on first run #1739

Open
luxedo opened this issue Oct 1, 2024 · 1 comment
Open

hatch test fails on first run #1739

luxedo opened this issue Oct 1, 2024 · 1 comment

Comments

@luxedo
Copy link

luxedo commented Oct 1, 2024

When I call hatch test without any environment it shows the following message and does nothing else:

$ hatch test
error: Failed to download and build: `sdp @ <package_path>`
  Caused by: Failed to deserialize cache entry
  Caused by: wrong msgpack marker FixArray(2)

Then, subsequent calls to hatch test runs pytest but doesn't find my package:

 ModuleNotFoundError: No module named '<my_package>'

I'm running the following:

Versão do WSL: 2.1.5.0
Versão do kernel: 5.15.146.1-2
Versão do WSLg: 1.0.60
Versão do MSRDC: 1.2.5105
Versão do Direct3D: 1.611.1-81528511
Versão do DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Versão do Windows: 10.0.19045.4894
@luxedo
Copy link
Author

luxedo commented Oct 1, 2024

I cleared all cache data with rm -r ~/.local/share/hatch/env/virtual/* and it worked again. I'm not able to simulate this error again.

While testing stumbled with another error that gives similar behaviour and I'll be opening another issue for it. If this issue is no longer relevant you can close it.

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

No branches or pull requests

1 participant