Skip to content

fix: repair Docker build with Python 3.14 and bump to 5.7.2 - #238

Merged
himkt merged 1 commit into
mainfrom
fix/docker-python-314
Oct 25, 2026
Merged

himkt merged 1 commit into
mainfrom
fix/docker-python-314

Conversation

@himkt

@himkt himkt commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Fix the Docker build failure caused by copying an untracked .python-version file. Select Python 3.14 with UV_PYTHON, preserve the src/ and data/ directories when copying them into the image, and bump Konoha to 5.7.2 in pyproject.toml and uv.lock.

Failed job: https://github.com/himkt/konoha/actions/runs/40188258679/job/121153554335

Validation:

  • uv sync --all-extras succeeded on Python 3.14.9; the lockfile diff contains only the project version bump.
  • Ruff, mypy, lockfile consistency checks, and source/wheel builds passed.
  • The linux/amd64 Docker image built successfully with Python 3.14.3 and Konoha 5.7.2. API startup and single/batch tokenization passed for every supported tokenizer.
  • Local pytest: 37 passed, 9 failed, 3 skipped, and 1 deselected. Failures were caused by the missing macOS MeCab native library and Mykytea module; both tokenizers passed the Docker API checks. The deselected test requires an S3 resource.

@himkt
himkt merged commit ec24e2a into main Oct 25, 2026
4 checks passed
@himkt
himkt deleted the fix/docker-python-314 branch October 25, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant