Pre-release v1.1.0 #85
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, primarily migrating the backend environment from CPython to PyPy for improved performance. It updates the Makefile, Dockerfile, and test scripts to use PyPy, adjusts database connection strings for compatibility, and unifies test output keys for consistency. Additionally, it updates the README and cleans up ignore files.
Backend environment migration and workflow improvements:
Makefileto download and use a specific PyPy version for running the backend, migrations, Celery workers, and tests. Added aninstall-backend-depstarget and updated related targets to use PyPy executables. [1] [2] [3] [4]backend/Dockerfileto use thepypy:3.11-slimimage as the base, installed required system libraries, and set up the backend to run under a non-root user.Database and configuration updates:
backend/app/db.pyfrom the deprecatedpostgres://to the recommendedpsycopg://scheme for compatibility with modern drivers.backend/app/main.py(likely temporary).Testing and code consistency:
"items"to"item"in both the backend controller and test assertions for analysis endpoints, ensuring consistency across the codebase. [1] [2] [3]Documentation and housekeeping:
README.mdto include a platform overview image and changed the license from Creative Commons to GPLv3, with updated badges and links. [1] [2].dockerignoreand.gitignorefiles to exclude PyPy, tarballs, and other build artifacts. [1] [2]CI/CD and workflow updates:
prefix-dev/setup-pixifor running backend tests, aligning with the new PyPy-based workflow. [1] [2]