Skip to content

SG-30953 Remove Python 3.7 support#357

Draft
stevelittlefish wants to merge 4 commits into
masterfrom
ticket/SG-30953-remove-python-3-7-support
Draft

SG-30953 Remove Python 3.7 support#357
stevelittlefish wants to merge 4 commits into
masterfrom
ticket/SG-30953-remove-python-3-7-support

Conversation

@stevelittlefish

Copy link
Copy Markdown

Summary

  • Adds minimum_python_version: "3.9" to info.yml — this gates auto-updates so that Desktop installations running Python < 3.9 will not receive this version
  • Removes resources/python/bin/3.7/ and resources/python/src/3.7/ bundled binary packages (533 files)

The remaining bundled versions are: 3.9, 3.10, 3.11, 3.13.

Why draft

The minimum_python_version gate in tk-framework-desktopstartup (SG-42460) should be live before this is released, to ensure Desktop users on Python 3.7 are blocked from auto-updating their startup framework before this change reaches them. Keeping as draft until that coordination is confirmed.

Test plan

  • Pre-commit passes
  • Verify Desktop browser integration works on Python 3.9, 3.10, 3.11, 3.13
  • Confirm Desktop on Python 3.7 does not receive this auto-update (gated by minimum_python_version)

🤖 Generated with Claude Code

- Add minimum_python_version: "3.9" to info.yml to block auto-updates
  to this version for Desktop installations running Python < 3.9
- Remove resources/python/bin/3.7/ and resources/python/src/3.7/
  bundled binary packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.82%. Comparing base (37eae74) to head (cbe330a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #357   +/-   ##
=======================================
  Coverage   65.82%   65.82%           
=======================================
  Files          24       24           
  Lines        1870     1870           
=======================================
  Hits         1231     1231           
  Misses        639      639           
Flag Coverage Δ
Linux 47.54% <ø> (ø)
Python-3.10 65.82% <ø> (ø)
Python-3.11 65.82% <ø> (ø)
Python-3.13 64.54% <ø> (-1.19%) ⬇️
Python-3.9 65.79% <ø> (ø)
Windows 63.80% <ø> (ø)
macOS 64.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

stevelittlefish and others added 3 commits June 18, 2026 14:42
Drop < 3.9 package pins and simplify >= 3.9 conditions now that
Python 3.9 is the minimum supported version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove 3.7 job blocks from pipelines.yml (source + binary for
  Mac/Linux/Windows); re-wire 3.9 jobs as the new chain head
- Update README.md supported versions list and manual process steps
  to reflect 3.9 as the minimum

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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