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

fix unittest.mock import error #1574

Merged
merged 1 commit into from
Jan 21, 2025
Merged

fix unittest.mock import error #1574

merged 1 commit into from
Jan 21, 2025

Conversation

melange396
Copy link
Collaborator

The CI build is currently broken by an import error, but this PR includes a simple fix.

Last successful build:
https://github.com/cmu-delphi/delphi-epidata/actions/runs/12265958980/job/34223121686
Dec 10, 2024
runner image ubuntu-22.04 version 20241201.1.0

First failing build:
https://github.com/cmu-delphi/delphi-epidata/actions/runs/12635938712/job/35206910938
Jan 6, 2025
runner image ubuntu-24.04 version 20241215.1.0

I'm guessing that these version changes are the cause of the error. I would have thought that we would be protected from such problems since the tests run inside docker. (Maybe it does protect us? Which would then mean that something else is the cause...)

Going from ubuntu 22 to ubuntu 24 is kind of a big step to happen without warning... Do we want to consider changing to running on a specific image version instead of "latest"?

runs-on: ubuntu-latest

Copy link
Contributor

@korlaxxalrok korlaxxalrok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@melange396 melange396 merged commit 70a2d86 into dev Jan 21, 2025
8 checks passed
@melange396 melange396 deleted the unittest-mock-import-fix branch January 21, 2025 21:13
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

Successfully merging this pull request may close these issues.

2 participants