Skip to content

Conversation

nishit-ndgr
Copy link
Contributor

Description

Part of #12385
Upgrades Semaphore CI image from 20.04 to 22.04

@evroon
Copy link
Contributor

evroon commented Jan 27, 2025

It seems the Ubuntu 22.04 semaphore image doesn't have python 3.9 installed, we can use Docker instead like we do for other python versions:

https://github.com/channable/heliclockter/blob/master/.semaphore/semaphore.yml#L39

@nishit-ndgr nishit-ndgr requested a review from evroon January 31, 2025 10:07
Comment on lines -24 to -29
- "export PUBLISH_JUNIT_REPORT=true" # Export junit report from this job
- "python3.9 -m pip install -e .[all]"
- "python3.9 -m pytest tests"
# Test without pydantic as well
- "python3.9 -m pip uninstall pydantic -y"
- "python3.9 -m pytest tests --ignore-glob \"./tests/pydantic_*.py\""
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah now we don't have this mechanism anymore where we run tests with and without pydantic anymore. Could you move that to the latest version of Python that's supported on this ubuntu2204 image?

@nishit-ndgr nishit-ndgr requested a review from evroon February 3, 2025 09:56
Copy link
Contributor

@evroon evroon left a comment

Choose a reason for hiding this comment

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

LGTM!

We could also stop using docker for 3.11 because I assume that if the semaphore image has 3.10 and 3.12, it also has 3.11. But doesn't really matter.

@nishit-ndgr
Copy link
Contributor Author

@OpsBotPrime merge

@OpsBotPrime
Copy link
Contributor

Rebased as 0d85df5, waiting for CI …

@OpsBotPrime
Copy link
Contributor

CI job 🟡 started.

@OpsBotPrime OpsBotPrime force-pushed the nishit-ndgr/upgrade-ci-from-20-04 branch from dfe15ad to 0d85df5 Compare February 10, 2025 08:56
@OpsBotPrime OpsBotPrime merged commit 0d85df5 into master Feb 10, 2025
1 check was pending
@nishit-ndgr nishit-ndgr deleted the nishit-ndgr/upgrade-ci-from-20-04 branch February 10, 2025 08:57
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.

3 participants