Skip to content

Update GitHub Actions and upgrade to Python 3.13#10

Merged
PrestonHager merged 1 commit into
mainfrom
bugfix/issue-7-deprecated-action
Jan 18, 2026
Merged

Update GitHub Actions and upgrade to Python 3.13#10
PrestonHager merged 1 commit into
mainfrom
bugfix/issue-7-deprecated-action

Conversation

@PrestonHager
Copy link
Copy Markdown
Owner

  • Update actions/checkout to v6, cachix/install-nix-action to v31, cachix/cachix-action to v16, and upload-artifact to v6
  • Upgrade generate-mac-installer-github-action to v1.0.4 with version param
  • Bump minimum Python version from 3.12 to 3.13
  • Separate Windows build into dedicated job using Chocolatey instead of Nix
  • Update uv.lock to reflect Python 3.13 requirement

- Update actions/checkout to v6, cachix/install-nix-action to v31,
  cachix/cachix-action to v16, and upload-artifact to v6
- Upgrade generate-mac-installer-github-action to v1.0.4 with version param
- Bump minimum Python version from 3.12 to 3.13
- Separate Windows build into dedicated job using Chocolatey instead of Nix
- Update uv.lock to reflect Python 3.13 requirement
Copilot AI review requested due to automatic review settings January 18, 2026 04:22
@PrestonHager PrestonHager merged commit 6e7c65c into main Jan 18, 2026
3 checks passed
@PrestonHager PrestonHager deleted the bugfix/issue-7-deprecated-action branch January 18, 2026 04:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the project's minimum Python version from 3.12 to 3.13 and updates GitHub Actions dependencies. It also restructures the build workflow by separating Windows builds into a dedicated job that uses Chocolatey for package management instead of Nix.

Changes:

  • Bumped minimum Python version requirement from 3.12 to 3.13 in pyproject.toml and uv.lock
  • Updated GitHub Actions: checkout (v3→v6), install-nix-action (v27→v31), cachix-action (v15→v16), upload-artifact (v4→v6)
  • Separated Windows build into dedicated job using Chocolatey instead of Nix
  • Updated macOS installer action to v1.0.4 with explicit version parameter
  • Removed Python 3.12-specific wheel entries from uv.lock

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
uv.lock Updated Python requirement to 3.13 and removed Python 3.12-specific wheel entries
pyproject.toml Bumped requires-python from >=3.12 to >=3.13
.github/workflows/python-app-build.yml Updated action versions, split Windows build into separate job, added macOS installer version parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- uses: actions/checkout@v6
- name: Install Python and uv
run: |
choco install python --version=3.12.0
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

The Windows build job is installing Python 3.12.0, but this PR upgrades the project to require Python 3.13. This version should be changed to 3.13.0 to be consistent with the project requirements updated in pyproject.toml and uv.lock.

Suggested change
choco install python --version=3.12.0
choco install python --version=3.13.0

Copilot uses AI. Check for mistakes.
@@ -46,21 +80,12 @@ jobs:
if: runner.os == 'Windows'
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

This condition if: runner.os == 'Windows' is redundant in the build-windows job, which already runs only on windows-latest. The condition will always evaluate to true and can be removed.

Suggested change
if: runner.os == 'Windows'

Copilot uses AI. Check for mistakes.
- windows-latest
- macos-latest
python-version: [ 3.12 ]
python-version: [ 3.13 ]
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

The matrix variable python-version is defined but never used in the build job steps. Since the job relies on Nix to provide the Python environment, this matrix variable serves no purpose and should be removed to avoid confusion.

Suggested change
python-version: [ 3.13 ]

Copilot uses AI. Check for mistakes.
- name: Upload artifacts
uses: actions/upload-artifact@v6
with:
name: wordweaver-${{ matrix.os }}
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

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

The artifact name uses matrix.os which will produce names like "wordweaver-ubuntu-latest" and "wordweaver-macos-latest". These naming conventions are inconsistent with the Windows job which uses "wordweaver-Windows". Consider using a more consistent naming scheme, such as "wordweaver-Ubuntu", "wordweaver-macOS", and "wordweaver-Windows" for clarity.

Suggested change
name: wordweaver-${{ matrix.os }}
name: wordweaver-${{ runner.os }}

Copilot uses AI. Check for mistakes.
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