Repository navigation
Fix CI workflow and update Python versions - #80
Merged
Merged
Conversation
- Fix branch trigger: replace $default-branch template var with 'main' - Add pytest-asyncio to dependencies (required for async tests) - Update Python versions: test 3.10, 3.11, 3.12, 3.13 (drop EOL 3.9) - Use 'docker compose' (v2) instead of deprecated 'docker-compose' - Remove unnecessary docker-compose install step (pre-installed on runners) - Add wait step to ensure mock API is ready before tests Fixes #78
- Add pytest.ini with asyncio_mode = auto - Remove deprecated event_loop fixture from conftest.py (pytest-asyncio now handles this automatically)
Python 3.13 removed the 'cgi' module which is used by aiohttp 3.7.4. The freezegun package also has incompatibilities with Python 3.13. Adding Python 3.13 support requires updating dependencies: - aiohttp to 3.9+ - freezegun to 1.3+ Also set fail-fast: false so one Python version failure doesn't cancel others.
This was referenced Jan 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[#78]
Summary
Fix CI workflow issues that were causing all PRs to fail.
Changes
Python Versions
CI Workflow Fixes
$default-branchtemplate variable withmainpytest-asyncio: Required for async test functionsdocker compose(v2) instead of deprecateddocker-composefail-fast: false: One Python version failure won't cancel othersTest Configuration Fixes
pytest.ini: Configureasyncio_mode = autofor pytest-asyncioevent_loopfixture: Now handled automatically by pytest-asyncioevent_loopfrom usefixtures: Test class no longer needs explicit event_loopTest plan