From 9c53fe505859d1fdf72fce74fce7e68b8e6e3bf4 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 5 Aug 2024 10:55:37 -0500 Subject: [PATCH 1/2] allow prerelease Python versions for all setup steps in GHA --- src/django_twc_package/.github/workflows/release.yml.jinja | 1 + src/django_twc_package/.github/workflows/test.yml.jinja | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/django_twc_package/.github/workflows/release.yml.jinja b/src/django_twc_package/.github/workflows/release.yml.jinja index 09cd06f..1ec6de3 100644 --- a/src/django_twc_package/.github/workflows/release.yml.jinja +++ b/src/django_twc_package/.github/workflows/release.yml.jinja @@ -25,6 +25,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "{{ python_max_version }}" + allow-prereleases: true - name: Install dependencies run: | diff --git a/src/django_twc_package/.github/workflows/test.yml.jinja b/src/django_twc_package/.github/workflows/test.yml.jinja index fce3afb..862fd40 100644 --- a/src/django_twc_package/.github/workflows/test.yml.jinja +++ b/src/django_twc_package/.github/workflows/test.yml.jinja @@ -25,6 +25,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "{{ python_min_version }}" + allow-prereleases: true - name: Install dependencies run: | @@ -79,6 +80,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "{{ python_max_version }}" + allow-prereleases: true - name: Install dependencies run: | @@ -97,6 +99,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "{{ python_min_version }}" + allow-prereleases: true - name: Install dependencies run: | From e325abfcf7688665cd55b3bb6854eaf613b3f235 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 5 Aug 2024 10:56:35 -0500 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aac6017..ffab2d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Changed + +- Added `allow-prereleases: true` to all Python setup steps in GitHub Actions workflows. This should allow for easy testing of future, unreleased versions of Python. + ## [2024.25] ### Added