Skip to content

Commit 895b7f9

Browse files
committed
drop Python 3.8 support
1 parent 2776d92 commit 895b7f9

19 files changed

+72
-61
lines changed

.github/workflows/nodejs-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88
- master
99
pull_request:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
13-
1416
runs-on: ubuntu-latest
15-
1617
strategy:
1718
matrix:
1819
node-version: ['18', '20']
19-
2020
steps:
2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/publish.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
types: [published]
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
13+
env:
14+
MIN_PYTHON_VERSION: "3.9"
15+
1016
jobs:
1117
test:
1218
runs-on: ubuntu-latest
@@ -16,7 +22,7 @@ jobs:
1622
- name: Setup Python
1723
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1824
with:
19-
python-version: '3.8'
25+
python-version: ${{ env.MIN_PYTHON_VERSION }}
2026

2127
- name: Install dependencies
2228
run: |
@@ -39,7 +45,7 @@ jobs:
3945
- name: Set up Python
4046
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
4147
with:
42-
python-version: '3.8'
48+
python-version: ${{ env.MIN_PYTHON_VERSION }}
4349

4450
- name: Install dependencies
4551
run: |
@@ -61,12 +67,14 @@ jobs:
6167
update-brew:
6268
needs: publish-package
6369
runs-on: ubuntu-latest
70+
permissions:
71+
contents: write
6472
steps:
6573
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6674
- name: Set up Python
6775
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
6876
with:
69-
python-version: '3.8'
77+
python-version: ${{ env.MIN_PYTHON_VERSION }}
7078
- name: publish brew
7179
run: |
7280
sleep 5m
@@ -87,6 +95,8 @@ jobs:
8795
bump-version:
8896
runs-on: ubuntu-latest
8997
needs: update-brew
98+
permissions:
99+
contents: write
90100
steps:
91101
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
92102
with:

.github/workflows/python-dependency-updater.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/security.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
push:
88
branches:
99
- master
10+
11+
permissions:
12+
contents: read
13+
1014
jobs:
1115
detect-secrets:
1216
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,20 @@ on:
88
- master
99
pull_request:
1010

11+
permissions:
12+
contents: read
13+
14+
env:
15+
MIN_PYTHON_VERSION: "3.9"
16+
1117
jobs:
1218
pre-commit:
1319
runs-on: ubuntu-latest
1420
steps:
1521
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1622
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1723
with:
18-
python-version: '3.8' # needed for 'pyupgrade'
24+
python-version: ${{ env.MIN_PYTHON_VERSION }}
1925
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
2026

2127
ci:
@@ -28,7 +34,7 @@ jobs:
2834
- name: Setup Python
2935
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3036
with:
31-
python-version: '3.8'
37+
python-version: ${{ env.MIN_PYTHON_VERSION }}
3238

3339
- name: Install dependencies
3440
run: |
@@ -54,7 +60,7 @@ jobs:
5460
strategy:
5561
fail-fast: true
5662
matrix:
57-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
63+
python: ['3.10', '3.11', '3.12', '3.13']
5864
steps:
5965
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6066
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0

.github/workflows/update-bundle-report.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
- cron: '0 0 1 * *'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
12+
env:
13+
MIN_PYTHON_VERSION: "3.9"
14+
915
jobs:
1016
update:
1117
runs-on: ubuntu-latest
@@ -15,7 +21,7 @@ jobs:
1521
- name: Setup python
1622
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1723
with:
18-
python-version: '3.8'
24+
python-version: ${{ env.MIN_PYTHON_VERSION }}
1925

2026
- name: Install dependencies
2127
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
repos:
22
- repo: https://github.com/rhysd/actionlint
3-
rev: v1.7.1
3+
rev: v1.7.6
44
hooks:
55
- id: actionlint-docker
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.6.2
7+
rev: v0.8.6
88
hooks:
99
- id: ruff
1010
files: ^(cloudsplaining/|setup.py)

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8
1+
3.9

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
version: 2
66

77
build:
8-
os: ubuntu-22.04
8+
os: ubuntu-24.04
99
tools:
10-
python: "3.8"
10+
python: "3.9"
1111

1212
mkdocs:
1313
configuration: mkdocs.yml

cloudsplaining/bin/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# pylint: disable=missing-module-docstring
2-
__version__ = "0.7.1"
2+
__version__ = "0.8.0"

0 commit comments

Comments
 (0)