Skip to content

[TASK] Upgrade Python to 3.12 - crud-web-apps/jupyter #724

@liavweiss

Description

@liavweiss

Certification

  • I certify I am an Epic Owner for Kubeflow Notebooks 2.0 and expected to create planning-related issues.

Description

Update the Python toolchain for crud-web-apps/jupyter to version 3.12.
Update the Python toolchain for crud-web-apps/common to version 3.12.

Scope:

  • Update Dockerfile base:
    FROM python:3.12-slim
  • Update CI workflows:
    • jwa_backend_unittests.yaml
    • python_lint.yaml → python-version: "3.12"
  • Update common/backend/setup.py (minimal adjustments):
    • Keep python_requires broad (e.g., ">=3.8")
    • Raise mins: Flask ≥ 2.3.2, Werkzeug ≥ 3.0.6, requests ≥ 2.32.4, urllib3 ≥ 2.5.0
  • Build:
    docker build -f notebooks/components/crud-web-apps/jupyter/Dockerfile notebooks/components
  • Run backend tests.

Acceptance Criteria

  • Backend builds and tests pass on Python 3.12.
  • Validate that the test files are coverd evrything.
  • Check all files under /crud-web-apps/jupyter and /crud-web-apps/common that there is no other needed Python upgrades.

Metadata

Metadata

Assignees

Labels

area/v1area - version - kubeflow notebooks v1kind/plan-taskkind - planning - task

Type

No type

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions