Skip to content

Remove Python 3.8 support and deprecate usage of 3.9#1334

Open
schaubh wants to merge 7 commits intodevelopfrom
feature/deprecate_py39
Open

Remove Python 3.8 support and deprecate usage of 3.9#1334
schaubh wants to merge 7 commits intodevelopfrom
feature/deprecate_py39

Conversation

@schaubh
Copy link
Contributor

@schaubh schaubh commented Mar 19, 2026

  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

This PR removes Python 3.8 support from the supported build/install matrix and marks Python 3.9 as deprecated.

The work is split into two commits for easier review:

  • 7c6670e262 removes Python 3.8 support from packaging metadata, dependency markers, CI minimum-version coverage, CMake minimum-version enforcement, and the build/install documentation.
  • 35a58c4d24 adds Python 3.9 deprecation messaging with a March 2027 removal date in the install docs, CMake warning text, and release-note snippet.

Verification

Validated by:

  • checking the branch diff against develop
  • confirming the worktree is clean after both commits
  • running git diff --check
  • parsing pyproject.toml with tomllib to confirm requires-python = ">=3.9, <3.15" and no cp38 wheel targets remain
  • parsing .github/workflows/pull-request.yml successfully

No automated tests were added or updated because this PR only changes support policy, CI configuration, packaging metadata, CMake version gating, and documentation. I did not run a full build or test suite.

Documentation

Updated documentation/artifacts:

  • docs/source/Build/installOnLinux.rst
  • docs/source/Build/installOnMacOS.rst
  • docs/source/Build/installOnWindows.rst
  • docs/source/Build/customPython.rst
  • docs/source/Support/bskReleaseNotesSnippets/1329-drop-py38-deprecate-py39.rst

Reviewers should also check:

  • pyproject.toml
  • .github/workflows/pull-request.yml
  • src/CMakeLists.txt

Future work

After the Python 3.9 deprecation window ends in March 2027, the remaining follow-up should be to remove Python 3.9 support entirely, raise the minimum supported version to Python 3.10, and delete the temporary deprecation warning/path.

@schaubh schaubh requested a review from ReeceHumphreys March 19, 2026 00:53
@schaubh schaubh self-assigned this Mar 19, 2026
@schaubh schaubh requested a review from a team as a code owner March 19, 2026 00:53
@schaubh schaubh added the build Build system or compilation enhancement label Mar 19, 2026
@schaubh schaubh added this to Basilisk Mar 19, 2026
@schaubh schaubh moved this to 👀 In review in Basilisk Mar 19, 2026
@schaubh schaubh force-pushed the feature/deprecate_py39 branch from 35a58c4 to a8cfdd3 Compare March 19, 2026 00:54
@schaubh schaubh linked an issue Mar 19, 2026 that may be closed by this pull request
schaubh added a commit that referenced this pull request Mar 19, 2026
Ninja support sccache and builds BSK faster
@schaubh schaubh force-pushed the feature/deprecate_py39 branch from f2b4aed to b6ed1fc Compare March 19, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system or compilation enhancement

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

Update pyproject.toml License file specification

1 participant