Repository navigation
Add GitHub Actions CI, floci AWS emulator, and update Docker setup - #22
Merged
Merged
Conversation
- Add .github/workflows/tests.yml: runs pytest via Poetry with floci as a service container for local AWS emulation (DynamoDB, SQS, etc.) - Replace instructure/dynamo-local-admin with floci/floci:latest in docker-compose.yaml; update unittest service env vars to point at it - Switch hardcoded Poetry virtualenv paths to `poetry run` commands so the compose file is not tied to a specific Python version - Update Dockerfile: Python 3.6 (EOL) → 3.9, fix missing leading / in WORKDIR https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
…te lock file Replace deprecated [tool.poetry.dev-dependencies] with [tool.poetry.group.dev.dependencies] and regenerate poetry.lock to be compatible with the current Poetry version. https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
PyYAML 5.x fails to build on Python 3.14 due to a missing cython_sources attribute in its legacy build setup. PyYAML 6.x dropped the Cython extension and builds cleanly on 3.14. https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
- pytest ^4.5 → ^8.0 (4.x imported `imp`, removed in Python 3.12) - pytest-asyncio ^0.10.0 → ^0.24 - Django ^2.2 → ^4.2 (test WSGI app) - flask ^1.0 → ^3.0 (test WSGI app) - jinja2 ^2.10 → ^3.1 (required by flask ^3.0) - python constraint ^3.6 → ^3.9 (reflects actual minimum) https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
The re-export forced test_run.py to load at collection time, which pulled in docb_handler (created eagerly at module level) and triggered a boto3 NoRegionError before any test ran. FlaskTestRunner is only used inside test_run.py itself, so the re-export was never needed. https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
Python 3.12+ no longer implicitly creates an event loop in the main thread, so asyncio.get_event_loop() raises RuntimeError when called outside a running loop. asyncio.run() is the correct modern API. https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM
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.
as a service container for local AWS emulation (DynamoDB, SQS, etc.)
docker-compose.yaml; update unittest service env vars to point at it
poetry runcommandsso the compose file is not tied to a specific Python version
in WORKDIR
https://claude.ai/code/session_01WQrysGnuUmHvNbh44YzpuM