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

Github actions spontaneously failing #55

Open
jack-fs opened this issue May 10, 2023 · 3 comments
Open

Github actions spontaneously failing #55

jack-fs opened this issue May 10, 2023 · 3 comments

Comments

@jack-fs
Copy link
Contributor

jack-fs commented May 10, 2023

CI runs like https://github.com/gradientinstitute/causal-inspection/actions/runs/4932765788 have started failing, where the same commit passed at https://github.com/gradientinstitute/causal-inspection/actions/runs/4626515640.

It appears to be related to module name resolution: in particular, we see errors like:
ModuleNotFoundError: No module named 'simulations'

Further digging is required to find the root cause

@AlistaiReid
Copy link

In the CI logs, it looks like the environment / install is timing out - I'm seeing the last line of the log being "Error: The operation was canceled."

It could be the base images are so old its a major update to set up the envirnment

@jack-fs
Copy link
Contributor Author

jack-fs commented May 11, 2023

The CI has two jobs: one for python 3.8 and one for 3.9. The 3.9 one is failing because of a ModuleNotFoundError and I think if one fails then the other is killed

@jack-fs
Copy link
Contributor Author

jack-fs commented May 16, 2023

I have just managed to replicate this on my machine by creating a completely new venv rather than just forcing reinstalls in the one I was previously using.

It required an upgrade of pip: 22.3.1 -> 23.1.2. I am suspicious that this is related to the move to pyproject.toml, which I believed started to be enforced at pip 23

@jack-fs jack-fs mentioned this issue May 16, 2023
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

2 participants