Closed
Description
Describe the bug
The pythonTests script doesn't initialize python dependencies.
Steps to Reproduce
Run nix develop .#pythonTests
on a system which doesn't have python/poetry already installed.
Expected behavior
Well, I am not sure tbh. The script seems like it may be attempting to do too much. Should it instead just setup the environment and then let the developer run the tests scrips themselves? This way there is no duplicate script logic between it and what CI does. And lets nix do the things it is best at, manage environments.
But I am a little confused though by the test framework in its current state, due to my naivety of the ecosystem, so not sure which direction to go in.
Some random questions:
- There is a pyproject.toml at the root, but also a tests/requirements.txt. Are these duplicating data? Or is there another way to run the tests with less deps?
- Poetry is being used to enforce relatively strict python dependency versions, but the Nix shell appears to be using just the latest rust, go, and utreexod versions. Is the complexity necessary?