Skip to content

Commit cabcd77

Browse files
committed
remove python 3.8 support
1 parent 8c2a9e7 commit cabcd77

File tree

6 files changed

+16
-30
lines changed

6 files changed

+16
-30
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest]
28-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
28+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2929
fail-fast: false
3030
uses: ./.github/workflows/setup-python-environment.yml
3131
with:
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
os: [windows-latest]
41-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
41+
python-version: ["3.9", "3.10", "3.11", "3.12"]
4242
fail-fast: false
4343
uses: ./.github/workflows/setup-python-environment.yml
4444
with:
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
os: [macos-latest]
54-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
54+
python-version: ["3.9", "3.10", "3.11", "3.12"]
5555
fail-fast: false
5656
uses: ./.github/workflows/setup-python-environment.yml
5757
with:
@@ -64,7 +64,7 @@ jobs:
6464
strategy:
6565
matrix:
6666
os: [ubuntu-latest]
67-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
67+
python-version: ["3.9", "3.10", "3.11", "3.12"]
6868
fail-fast: false
6969
uses: ./.github/workflows/lint-unit-test.yml
7070
with:
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
matrix:
7979
os: [windows-latest]
80-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
80+
python-version: ["3.9", "3.10", "3.11", "3.12"]
8181
fail-fast: false
8282
uses: ./.github/workflows/lint-unit-test.yml
8383
with:
@@ -90,7 +90,7 @@ jobs:
9090
strategy:
9191
matrix:
9292
os: [macos-latest]
93-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
93+
python-version: ["3.9", "3.10", "3.11", "3.12"]
9494
fail-fast: false
9595
uses: ./.github/workflows/lint-unit-test.yml
9696
with:

.github/workflows/lint-unit-test.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ on:
3232
description: 'Python version'
3333
type: choice
3434
options:
35-
- '3.8'
3635
- '3.9'
3736
- '3.10'
3837
- '3.11'
3938
- '3.12'
4039
required: false
41-
default: '3.8'
40+
default: '3.9'
4241
enable_tmate:
4342
description: 'Enable tmate session for debugging'
4443
type: choice
@@ -86,20 +85,8 @@ jobs:
8685
8786
- name: Docstring check
8887
run: bash scripts/docstring.sh
89-
# Only run the docstring check on ubuntu-latest and python 3.8
90-
if: ${{ inputs.os == 'ubuntu-latest' && inputs.python-version == '3.8' }}
91-
92-
# - name: Markdown link check
93-
# uses: gaurav-nelson/github-action-markdown-link-check@v1
94-
# with:
95-
# use-quiet-mode: 'yes'
96-
# use-verbose-mode: 'no'
97-
# folder-path: './examples, ./docs/book, ./src'
98-
# file-path: './README.md, ./LICENSE, ./RELEASE_NOTES.md, CODE-OF-CONDUCT.md, CONTRIBUTING.md, CLA.md, RELEASE_NOTES.md, ROADMAP.md'
99-
# config-file: .github/workflows/markdown_check_config.json
100-
# continue-on-error: true
101-
# # Only run the markdown link check on ubuntu-latest and python 3.8
102-
# if: ${{ inputs.os == 'ubuntu-latest' && inputs.python-version == '3.8' }}
88+
# Only run the docstring check on ubuntu-latest and python 3.9
89+
if: ${{ inputs.os == 'ubuntu-latest' && inputs.python-version == '3.9' }}
10390

10491
- name: Run unit tests
10592
run: |

.github/workflows/publish-pypi-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/[email protected]
2424
with:
25-
python-version: "3.8"
25+
python-version: "3.9"
2626
- name: Install Poetry
2727
uses: snok/[email protected]
2828
with:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: ./.github/workflows/lint-unit-test.yml
1212
with:
1313
os: "ubuntu-latest"
14-
python-version: "3.8"
14+
python-version: "3.9"
1515
secrets: inherit
1616

1717
# checks zenml and mlstacks can be installed together in same environment
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v2
2727
with:
28-
python-version: "3.8"
28+
python-version: "3.9"
2929

3030
- name: Install current package as editable
3131
run: pip install -e .

pyproject.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ classifiers = [
2121
"Intended Audience :: System Administrators",
2222
"License :: OSI Approved :: Apache Software License",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
@@ -64,7 +63,7 @@ exclude = [
6463
]
6564

6665
[tool.poetry.dependencies]
67-
python = ">=3.8,<3.13"
66+
python = ">=3.9,<3.13"
6867
pydantic = { version = "~2.8" }
6968
pyyaml = { version = ">=6.0.1" }
7069
click = { version = "^8.0.1,<8.1.4" }
@@ -164,8 +163,8 @@ select = [
164163
ignore = ["COM812", "ISC001"]
165164

166165
src = ["src", "tests"]
167-
# use Python 3.8 as the minimum version for autofixing
168-
target-version = "py38"
166+
# use Python 3.9 as the minimum version for autofixing
167+
target-version = "py39"
169168
ignore-init-module-imports = true
170169
# # Disable autofix for unused imports (`F401`).
171170
# unfixable = ["F401"]

tests/integration/docker-compose.localstack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.8"
1+
version: "3.9"
22

33
services:
44
localstack:

0 commit comments

Comments
 (0)