Skip to content

Commit cad6cc6

Browse files
build: drop 3.8 support
Signed-off-by: florian <florian@harfanglab.fr>
1 parent b05d1f8 commit cad6cc6

File tree

14 files changed

+38
-782
lines changed

14 files changed

+38
-782
lines changed

.ci/Dockerfile.client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION=3.8
1+
ARG PYTHON_VERSION=3.9
22
FROM python:${PYTHON_VERSION}
33

44
WORKDIR /code/opensearch-py

.ci/test-matrix.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ TEST_SUITE:
22
- oss
33

44
PYTHON_VERSION:
5-
- "3.8"
65
- "3.9"
76
- "3.10"
87
- "3.11"

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
steps:
1010
- name: Checkout Repository
1111
uses: actions/checkout@v4
12-
- name: Set up Python 3.8
12+
- name: Set up Python 3.9
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.8
15+
python-version: 3.9
1616
- name: Install dependencies
1717
run: |
18-
python3.8 -m pip install nox
18+
python3.9 -m pip install nox
1919
- name: Lint the code
2020
run: nox -s lint
2121

@@ -24,13 +24,13 @@ jobs:
2424
steps:
2525
- name: Checkout Repository
2626
uses: actions/checkout@v4
27-
- name: Set up Python 3.8
27+
- name: Set up Python 3.9
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: 3.8
30+
python-version: 3.9
3131
- name: Install dependencies
3232
run: |
33-
python3.8 -m pip install nox
33+
python3.9 -m pip install nox
3434
- name: Run the api generator
3535
run: nox -s generate
3636

@@ -39,16 +39,16 @@ jobs:
3939
steps:
4040
- name: Checkout Repository
4141
uses: actions/checkout@v4
42-
- name: Set up Python 3.8
42+
- name: Set up Python 3.9
4343
uses: actions/setup-python@v5
4444
with:
45-
python-version: 3.8
45+
python-version: 3.9
4646
- name: Install build tools
4747
run: |
48-
python3.8 -m pip install --upgrade build
48+
python3.9 -m pip install --upgrade build
4949
- name: Build project for distribution
5050
run: |
51-
python3.8 -m build
51+
python3.9 -m build
5252
5353
twine-check:
5454
runs-on: ubuntu-latest

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-python@v5
1010
with:
11-
python-version: 3.8
11+
python-version: 3.9
1212

1313
- name: Install Dependencies
1414
run: |
15-
python3.8 -m pip install nox
15+
python3.9 -m pip install nox
1616
1717
- name: Make
1818
run: |

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
strategy:
88
matrix:
99
entry:
10-
- { os: 'ubuntu-latest', python-version: "3.8" }
1110
- { os: 'ubuntu-latest', python-version: "3.9" }
1211
- { os: 'ubuntu-latest', python-version: "3.10" }
1312
- { os: 'ubuntu-latest', python-version: "3.11" }

.github/workflows/update_api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
fetch-depth: 0
1818
- name: Config git to rebase
1919
run: git config --global pull.rebase true
20-
- name: Set up Python 3.8
20+
- name: Set up Python 3.9
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: 3.8
23+
python-version: 3.9
2424
- name: Install dependencies
2525
run: |
26-
python3.8 -m pip install nox
26+
python3.9 -m pip install nox
2727
- name: Generate API
2828
run: nox -s generate
2929
- name: Get current date

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22

33
python:
4-
version: 3.8
4+
version: 3.9
55
install:
66
- method: pip
77
path: .

DEVELOPER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## Prerequisites
1212

13-
Python 3.8 or newer is required.
13+
Python 3.9 or newer is required.
1414

1515
```
1616
$ python --version

benchmarks/poetry.lock

Lines changed: 7 additions & 378 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "Apache 2.0"
77
readme = "README.md"
88

99
[tool.poetry.dependencies]
10-
python = "^3.8"
10+
python = "^3.9"
1111
opensearch-py = { path = "..", develop=true, extras=["async"] }
1212
richbench = "*"
1313

0 commit comments

Comments
 (0)