Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flaskapi/SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Flask API: relay frontend ↔ oSPARC (functions, jobs, collections, studies), ge
## §C
- Python `>=3.11,<3.14`; `flask==3.1.3`, `flask-cors==6.0.5`, `gevent==26.9.0`, `gunicorn==26.2.0`
- run: dev `uv run python -m flask run` (entrypoint.sh), prod `uv run gunicorn main:app` (`main:app = create_flask_app()`)
- oSPARC client `osparc==0.8.4.post0.dev2`; compute `itis-sumo==0.1.0a10` (TestPyPI index; owns the Dakota engine behind `itis_sumo.api`, parent SPEC T32qx)
- oSPARC client `osparc==0.8.4.post0.dev2`; compute `itis-sumo==0.1.0a11` (TestPyPI index; owns the Dakota engine behind `itis_sumo.api`, parent SPEC T32qx)
- numerics: `numpy==2.4.6`, `pandas==2.2.3`, `scipy==1.17.1`, `scikit-learn==1.9.1`
- ⊥ in-repo compute: `mmux_flaskapi.dakota` subpackage + `mmux_flaskapi.data_preprocessor` DELETED (former §T15 inlining of vendored `mmux_python`); dakota/sampling blueprints delegate to `itis_sumo.api` (§V48ad)
- requests accept camelCase|snake_case (pydantic `populate_by_name`); responses camelCase
Expand Down
2 changes: 1 addition & 1 deletion flaskapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"flask-cors==6.0.5",
"gevent==26.9.0",
"gunicorn==26.2.0",
"itis-sumo==0.1.0a10",
"itis-sumo==0.1.0a11",
"numpy==2.4.6",
"osparc==0.8.4.post0.dev2",
"pandas==2.2.3",
Expand Down
6 changes: 4 additions & 2 deletions flaskapi/scripts/run-ty-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ cd "$flaskapi_dir"

# ty type-checks the whole src/ tree (not incrementally per changed file) since
# cross-module inference can surface errors outside the changed files. `uv run`
# syncs the environment as needed, so no separate venv presence check is required.
exec uv run ty check src/mmux_flaskapi
# syncs the environment as needed -- but --frozen: the auto-version bot stamps
# pyproject with PEP440 dev versions that uv would mirror into uv.lock, and the
# image build requires the lock's semver form. Never let the hook rewrite the lock.
exec uv run --frozen ty check src/mmux_flaskapi
8 changes: 4 additions & 4 deletions flaskapi/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading