build(deps): correct the apsw hold rationale and fail the version step at its cause

Both independent reviews flagged the base.in comment: 3.50.x is held for the
metadb planner behavior from 3.51.0.0, and 3.50.4.0 is the floor because it is
the first 3.50 release with Python 3.14 wheels, not because it is the newest
line with wheels. The lock-install version step now assigns the interpreter
version before appending it, so a failing `python` fails that step instead of
surfacing later as an empty `uv venv --python`.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
diff --git a/.github/workflows/python-lock-check.yml b/.github/workflows/python-lock-check.yml
index ef6ba33..b228b14 100644
--- a/.github/workflows/python-lock-check.yml
+++ b/.github/workflows/python-lock-check.yml
@@ -106,7 +106,8 @@
       # from the interpreter setup-backend installed.
       - name: Resolve the interpreter version
         run: |
-          echo "PYTHON_VERSION=$(python -c 'import sys; print("{}.{}".format(*sys.version_info[:2]))')" >> "$GITHUB_ENV"
+          version="$(python -c 'import sys; print("{}.{}".format(*sys.version_info[:2]))')"
+          echo "PYTHON_VERSION=$version" >> "$GITHUB_ENV"
 
       - name: Install base.txt into a fresh environment
         run: |
diff --git a/requirements/base.in b/requirements/base.in
index 6ace12a..74fb1de 100644
--- a/requirements/base.in
+++ b/requirements/base.in
@@ -66,11 +66,12 @@
 # the install path is internally consistent (#40962).
 google-auth>=2.53.0,<3.0.0
 
-# apsw bundles SQLite, and from 3.51 the planner reorders the metadb two-table
-# join so rows stream out after `execute()` returns, past the point where
-# `superset.extensions.metadb` has reset its multi-table flag. That applies
-# SUPERSET_META_DB_LIMIT to a joined table and drops genuine matches
-# (test_superset_joins_with_limit_drops_fanout_matches). Hold at 3.50.x, the
-# newest line with wheels for every supported Python, until the flag is held
-# for the cursor's whole fetch lifetime.
+# apsw bundles SQLite, and the planner in the SQLite shipped from apsw 3.51.0.0
+# reorders the metadb two-table join so rows stream out after `execute()`
+# returns, past the point where `superset.extensions.metadb` has reset its
+# multi-table flag. That applies SUPERSET_META_DB_LIMIT to a joined table and
+# drops genuine matches (test_superset_joins_with_limit_drops_fanout_matches
+# fails on 3.54.1.0; 3.51.0.0 reproduces it on a mirror of the code, 3.50.4.0
+# does not). Hold at 3.50.x until the flag is held for the cursor's whole fetch
+# lifetime; 3.50.4.0 is the first 3.50 release with Python 3.14 wheels.
 apsw>=3.50.4.0,<3.51.0.0