Skip to content

MNT Set Python 3.11 as the minimum supported version - #303

Open
Swapnil-byte-798 wants to merge 1 commit into
joblib:masterfrom
Swapnil-byte-798:maintenance/python-311-minimum
Open

Swapnil-byte-798 wants to merge 1 commit into
joblib:masterfrom
Swapnil-byte-798:maintenance/python-311-minimum

Conversation

@Swapnil-byte-798

@Swapnil-byte-798 Swapnil-byte-798 commented Nov 12, 2026 •

Copy link
Copy Markdown

Closes #295.

Set the wheel’s minimum Python version to 3.11, update the classifiers and release notes, and move the former 3.10 CI jobs to supported interpreters.

All 24 test jobs remain in the matrix. The two jobs that exercise distro-provided SciPy with ATLAS and OpenBLAS move to Ubuntu 24.04 and use its system Python 3.12. The installer uses /usr/bin/python3 so those jobs load the distro’s SciPy. The OpenBLAS job uses Noble’s libopenblas0-pthread package.

Validation

  • Built and installed the wheel on Python 3.11. The wheel declares Requires-Python: >=3.11, and pip rejects it when resolving for Python 3.10.
  • All nine pre-commit hooks passed. The workflow parses with 24 jobs, and the installer passes bash -n.
  • The Linux Python 3.11 suite recorded 72 passed and 36 skipped. One concurrency stress test timed out during the full run and passed in isolated runs on both this branch and the upstream base.

GitHub CI

The migrated Ubuntu 24.04 ATLAS and OpenBLAS jobs passed in the PR run. Six Clang 18 jobs failed during LLVM dependency installation before the tests ran. The same six jobs fail in the scheduled upstream run, including the Python 3.10 version of the Linux conda job. The installer reports a missing apt-key command and HTTP 404 responses from its apt repository.

Codex assisted with the implementation and local validation.

Keep the lowest-version CI jobs and move distro-provided SciPy and BLAS coverage to Ubuntu 24.04.

Co-authored-by: Codex <codex@openai.com>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 17:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

This branch has not been deployed

No deployments
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.

Drop 3.10

2 participants