Skip to content

Commit 26edde7

Browse files
committed
Drop support for Python < 3.8
1 parent 523ec52 commit 26edde7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/scripts/create_python_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
splits = short_tag.split('.')
2222
major = int(splits[0])
2323
minor = int(splits[1])
24-
if major == 3 and minor >= 7 and short_tag not in json_dict['python-version']:
24+
if major == 3 and minor >= 8 and short_tag not in json_dict['python-version']:
2525
json_dict['python-version'].append(short_tag)
2626

2727
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ For a more complete view on the actions see [action.yml](action.yml) or look in
3030
In general you could replace the original action with this one and it should already work (all its supported inputs are also supported in this one):
3131

3232
```yaml
33-
- uses: MatteoH2O1999/setup-python@v4
33+
- uses: MatteoH2O1999/setup-python@v5
3434
with:
3535
python-version: '3.8'
3636
```
3737
3838
But if you wish for a more optimized experience you could use inputs exclusive to this action:
3939
4040
```yaml
41-
- uses: MatteoH2O1999/setup-python@v4
41+
- uses: MatteoH2O1999/setup-python@v5
4242
with:
4343
python-version: '3.8'
4444
allow-build: info
@@ -55,9 +55,9 @@ Older versions may still work, but no effort will be spent in ensuring so.
5555

5656
## Guarantees
5757

58-
The objective of this action is to guarantee that for every major Python version starting from `3.7` at least one specific version can be successfully installed on the `...-latest` images using the default architecture.
58+
The objective of this action is to guarantee that for every major Python version starting from `3.8` at least one specific version can be successfully installed on the `...-latest` images using the default architecture.
5959

60-
TLDR: If you use the major version specification (`3.7` instead of `3.7.5`) without specifying the architecture as shown in [Basic usage](#basic-usage) this action is guaranteed to work (hopefully...😉) on all the `...-latest` labels.
60+
TLDR: If you use the major version specification (`3.8` instead of `3.8.5`) without specifying the architecture as shown in [Basic usage](#basic-usage) this action is guaranteed to work (hopefully...😉) on all the `...-latest` labels.
6161

6262
## Known limits
6363

0 commit comments

Comments
 (0)