Pre-release v1.1.0 #84
Merged
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.
This pull request introduces significant changes to the backend development and testing workflow by migrating from CPython to PyPy, updating test and migration commands, and making various improvements to configuration and documentation. The most important changes are grouped below by theme.
Backend Environment Migration and Dependency Management:
backend/Dockerfileto use thepypy:3.11-slimimage and updating installation commands accordingly.Makefileto download, extract, and use PyPy for backend commands, including new targets for installing backend dependencies and running migrations/tests with PyPy instead of Pixi/CPython. [1] [2] [3] [4].dockerignoreand.gitignoreto exclude PyPy binaries and related files. [1] [2]Testing and Workflow Updates:
.github/workflows/test_backend.yamlto remove the use of the Pixi setup action for running tests, aligning with the new PyPy-based workflow. [1] [2]Makefileto use the PyPy interpreter, and added a step to install test dependencies using PyPy. [1] [2]Database and Configuration Fixes:
backend/app/db.pyto use thepsycopgprotocol instead ofpostgresfor all environments.itemstoitemin the analysis service and corresponding tests for consistency. [1] [2] [3]Documentation and Licensing:
README.mdand updated the licensing section to reference GPL v3 instead of Creative Commons. [1] [2]Miscellaneous:
backend/app/main.py(likely temporary).These changes collectively modernize the backend environment, improve test reliability, and clarify project documentation.# Pull Request