Rename the import package app to fluksio

A wheel whose top-level module is `app` collides with anything else in a
user's venv, so the package that is about to be published takes the name
it is published under. Only the Python package moves; the repo, the
Docker WORKDIR and the compose project keep theirs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-21 21:48:05 +02:00
co-authored by Claude Opus 5
parent 97785ee590
commit 60d7ec81c0
170 changed files with 629 additions and 619 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ from typing import Any
sys.path.insert(0, str(__import__("pathlib").Path(__file__).resolve().parents[1]))
from app.core.config import settings # noqa: E402
from fluksio.core.config import settings # noqa: E402
log = logging.getLogger("bench")
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/sh -e
set -x
ruff check app scripts --fix
ruff format app scripts
ruff check fluksio scripts --fix
ruff format fluksio scripts
+3 -3
View File
@@ -3,6 +3,6 @@
set -e
set -x
mypy app
ruff check app
ruff format app --check
mypy fluksio
ruff check fluksio
ruff format fluksio --check
+2 -2
View File
@@ -4,10 +4,10 @@ set -e
set -x
# Let the DB start
python app/backend_pre_start.py
python -m fluksio.backend_pre_start
# Run migrations
alembic upgrade head
# Create initial data in DB
python app/initial_data.py
python -m fluksio.initial_data
+2 -2
View File
@@ -10,8 +10,8 @@ script the previous one:
import logging
import sys
from app.core.config import settings
from app.flow.secrets import SecretsStore, SecretsUnreadable
from fluksio.core.config import settings
from fluksio.flow.secrets import SecretsStore, SecretsUnreadable
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
+2 -2
View File
@@ -35,8 +35,8 @@ from typing import Any
import httpx
from app.core.config import settings
from app.flow.metrics import FLUSH_INTERVAL_S
from fluksio.core.config import settings
from fluksio.flow.metrics import FLUSH_INTERVAL_S
log = logging.getLogger("soak")
+1 -1
View File
@@ -2,6 +2,6 @@
set -e
set -x
python app/tests_pre_start.py
python -m fluksio.tests_pre_start
bash scripts/test.sh "$@"