DiamondLightSource / DiamondLightSource/deploy-tools

CI is failing

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
2d 3h
Merged PRs (30d)
8

Description

This also fails if I do tox -p

For some reason PYC files are getting generated in the demo_configuration folder. One of the `tox -p` actions is generating this because if I do `rm -r src/deploy_tools/demo_configuration/__pycache__/` and `pytest tests` it works, but `tox -p` always fails as the __pycache__ folder gets re-created.

```
FAILED tests/test_cli.py::test_demo_configuration - deploy_tools.models.save_and_load.LoadError: Unexpected file in configuration directory:
/home/runner/work/deploy-tools/deploy-tools/src/deploy_tools/demo_configuration/__pycache__/make-beamlines.cpython-312.pyc
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.