Skip to content

Conversation

@nathom
Copy link
Owner

@nathom nathom commented Jan 26, 2026

No description provided.

nathom and others added 13 commits January 25, 2026 16:47
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The python:2.7-slim image is based on Debian Buster which has been
archived. This Dockerfile configures apt to use archive.debian.org.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- macOS: Use pyenv on macos-13 runner to install Python 2.7.18
- Windows: Download and install Python 2.7.18 MSI from python.org

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix shutil.which import error on Python 2.7 (which was added in Python 3.3)
- Try macos-12 runner for Python 2.7 testing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Windows: Use PowerShell irm/iex to download and run installer directly,
  avoiding Python 2.7 SSL/TLS issues
- macOS: Use official python.org .pkg installer instead of building from
  source with pyenv (much faster)
- Add more Windows paths for finding uv binary

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add debug step to find where uv.exe is installed on Windows
- Use macos-15-large runner for macOS Python 2.7

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Don't suppress uv installer output so we can see errors
- Use macos-latest with Rosetta for Python 2.7 (free runner)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use two-step PowerShell approach: download script first, then run it.
This avoids module loading issues when subprocess invokes PowerShell
from Python 2.7.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use cmd.exe to launch PowerShell to work around module loading
restrictions when subprocess directly invokes PowerShell.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The uv install.ps1 script uses Get-ExecutionPolicy which fails when
the PowerShell Security module can't be loaded. Work around by
downloading the uv binary directly from GitHub releases.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add SSL context with disabled verification for Python 2.7 cert issues
- Windows: download uv binary directly via urllib (avoids PowerShell bug)
- Uses only Python standard library (urllib, ssl, zipfile)

Co-Authored-By: Claude Opus 4.5 <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.

2 participants