Skip to content

Commit f7d1382

Browse files
authored
Merge pull request #155 from sigstore/ww/py39
* setup, requirements: bump to Python 3.9 sigstore >= 3.4 requires 3.9, so this action does as well. Signed-off-by: William Woodruff <[email protected]> * CHANGELOG: record Signed-off-by: William Woodruff <[email protected]> --------- Signed-off-by: William Woodruff <[email protected]>
2 parents 40f3ae8 + b7e1481 commit f7d1382

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All versions prior to 3.0.0 are untracked.
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
* The minimum Python version supported by this action is now 3.9
14+
1115
## [3.0.0]
1216

1317
### Added

setup/setup.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ if [[ "${0}" == "${BASH_SOURCE[0]}" ]]; then
3737
die "Internal error: setup harness was executed instead of being sourced?"
3838
fi
3939

40-
# Check the Python version, making sure it's new enough (3.8+)
40+
# Check the Python version, making sure it's new enough (3.9+)
4141
# The installation step immediately below will technically catch this,
4242
# but doing it explicitly gives us the opportunity to produce a better
4343
# error message.
4444
vers=$(python -V | cut -d ' ' -f2)
4545
maj_vers=$(cut -d '.' -f1 <<< "${vers}")
4646
min_vers=$(cut -d '.' -f2 <<< "${vers}")
4747

48-
[[ "${maj_vers}" == "3" && "${min_vers}" -ge 8 ]] || die "Bad Python version: ${vers}"
48+
[[ "${maj_vers}" == "3" && "${min_vers}" -ge 9 ]] || die "Bad Python version: ${vers}"
4949

5050
# If the user didn't explicitly configure a Python version with
5151
# `actions/setup-python`, then we might be using the distribution's Python and

0 commit comments

Comments
 (0)