Skip to content

Commit 2407154

Browse files
chore(lab-3776): drop python 3.8 support
1 parent ddce181 commit 2407154

10 files changed

Lines changed: 19 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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
cache: "pip"
1313
- uses: pre-commit/action@v3.0.1
1414

@@ -17,7 +17,7 @@ jobs:
1717
name: Pylint test
1818
strategy:
1919
matrix:
20-
python-version: ["3.8", "3.12"]
20+
python-version: ["3.9", "3.12"]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
version: ["3.8", "3.12"]
40+
version: ["3.9", "3.12"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-python@v5
@@ -58,9 +58,9 @@ jobs:
5858
matrix:
5959
include:
6060
- os: ubuntu-latest
61-
python-version: 3.8
61+
python-version: 3.9
6262
- os: windows-latest
63-
python-version: 3.8
63+
python-version: 3.9
6464
- os: ubuntu-latest
6565
python-version: 3.12
6666
runs-on: ${{ matrix.os }}
@@ -101,7 +101,7 @@ jobs:
101101
- name: Set up Python
102102
uses: actions/setup-python@v5
103103
with:
104-
python-version: 3.8
104+
python-version: 3.9
105105
cache: "pip"
106106

107107
- name: Install dependencies
@@ -131,7 +131,7 @@ jobs:
131131
- name: Set up Python
132132
uses: actions/setup-python@v5
133133
with:
134-
python-version: 3.8
134+
python-version: 3.9
135135
cache: "pip"
136136

137137
- name: Install dependencies

.github/workflows/create_draft_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: 3.8
36+
python-version: 3.9
3737
cache: "pip"
3838

3939
- name: Install dependencies

.github/workflows/deploy_doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Python
4141
uses: actions/setup-python@v5
4242
with:
43-
python-version: 3.8
43+
python-version: 3.9
4444
cache: "pip"
4545

4646
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.8
22+
python-version: 3.9
2323
cache: "pip"
2424

2525
- name: Install dependencies

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: detect-private-key
88

99
- repo: https://github.com/PyCQA/docformatter
10-
rev: v1.7.5
10+
rev: v1.7.7
1111
hooks:
1212
- id: docformatter
1313
args: [--in-place, --black, --wrap-summaries=0, --wrap-descriptions=0]

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ persistent=yes
8888

8989
# Minimum Python version to use for version dependent checks. Will default to
9090
# the version used to run pylint.
91-
py-version=3.8
91+
py-version=3.9
9292

9393
# Discover python modules and packages in the file system subtree.
9494
recursive=no

CONTRIBUTING.md

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

33
## Set up the Development environment
44

5-
To install the development environment, please follow these steps, preferably in a Python 3.8 virtual environment.
5+
To install the development environment, please follow these steps, preferably in a Python 3.9 virtual environment.
66

77
```bash
88
pip install -e ".[dev]"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Kili Python SDK
22

3-
[![Python 3.8](https://img.shields.io/badge/python-%203.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12%20-blue.svg)](https://www.python.org/)
3+
[![Python 3.9](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org/)
44
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
55
![GitHub release (latest by date)](https://img.shields.io/github/v/release/kili-technology/kili-python-sdk?label=pypi%20package)
66

@@ -36,7 +36,7 @@ It comes with several [tutorials](https://python-sdk-docs.kili-technology.com/la
3636

3737
## Requirements
3838

39-
- Python >= 3.8
39+
- Python >= 3.9
4040
- Create and copy a [Kili API key](https://docs.kili-technology.com/docs/creating-an-api-key)
4141
- Add the `KILI_API_KEY` variable in your bash environment (or in the settings of your favorite IDE) by pasting the API key value you copied above:
4242

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Kili Python SDK has been designed to perform complex project-related tasks by us
1414

1515
## Requirements
1616

17-
You only need Python 3.8 or higher.
17+
You only need Python 3.9 or higher.
1818

1919
## Installation
2020

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Python client for Kili Technology labeling tool"
88
readme = "README.md"
99
authors = [{ name = "Kili Technology", email = "contact@kili-technology.com" }]
1010
license = { file = "LICENSE.txt" }
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.9"
1212
classifiers = [
1313
"Intended Audience :: Science/Research",
1414
"Intended Audience :: Developers",
@@ -21,7 +21,6 @@ classifiers = [
2121
"Operating System :: Unix",
2222
"Operating System :: MacOS",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
@@ -50,8 +49,7 @@ dependencies = [
5049
"pip-system-certs >= 4.0.0, < 5.0.0; platform_system=='Windows'",
5150
"pyrate-limiter >= 3, < 4",
5251
"shapely >= 1.8, < 3",
53-
"pyproj >= 2.6.1, < 3; python_version < '3.9'",
54-
"pyproj == 3.6.1; python_version >= '3.9'",
52+
"pyproj == 3.6.1",
5553
"kili-formats == 0.1.8"
5654
]
5755
urls = { homepage = "https://github.com/kili-technology/kili-python-sdk" }
@@ -100,7 +98,7 @@ azure = ["azure-storage-blob >= 12.0.0, < 13.0.0"]
10098

10199
[tool.pyright]
102100
exclude = ["**/__pycache__", ".github/scripts/upload_test_stats_datadog.py"]
103-
pythonVersion = "3.8"
101+
pythonVersion = "3.9"
104102
typeCheckingMode = "basic"
105103

106104
[tool.ruff]

0 commit comments

Comments
 (0)