Skip to content

Commit 857abd0

Browse files
authored
Drop support for Python 3.8 (#1221)
* Drop support for Python 3.8 * Run poetry lock --no-update * Add usage of Python 3.9 on Ubuntu 20.04 * Update Ubuntu to 22.04 on Integration tests * Add Python 3.10 to python-release workflow
1 parent 24a0175 commit 857abd0

File tree

6 files changed

+13
-147
lines changed

6 files changed

+13
-147
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-22.04
3535
strategy:
3636
matrix:
37-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
37+
python: ['3.9', '3.10', '3.11', '3.12']
3838

3939
steps:
4040
- uses: actions/checkout@v4

.github/workflows/python-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ concurrency:
3131

3232
jobs:
3333
integration-test:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535

3636
steps:
3737
- uses: actions/checkout@v4

.github/workflows/python-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444
- uses: actions/setup-python@v5
4545
with:
4646
python-version: |
47-
3.8
47+
3.9
48+
3.10
4849
3.11
4950
3.12
5051
@@ -69,7 +70,7 @@ jobs:
6970
env:
7071
# Ignore 32 bit architectures
7172
CIBW_ARCHS: "auto64"
72-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.13"
73+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
7374
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
7475
CIBW_TEST_EXTRAS: "s3fs,glue"
7576
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"

mkdocs/docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Deprecated in 0.1.0, will be removed in 0.2.0. The old_property is deprecated. P
202202

203203
For the type annotation the types from the `Typing` package are used.
204204

205-
PyIceberg offers support from Python 3.8 onwards, we can't use the [type hints from the standard collections](https://peps.python.org/pep-0585/).
205+
PyIceberg offers support from Python 3.9 onwards, we can't use the [type hints from the standard collections](https://peps.python.org/pep-0585/).
206206

207207
## Third party libraries
208208

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ license = "Apache License 2.0"
2626
classifiers = [
2727
"License :: OSI Approved :: Apache Software License",
2828
"Operating System :: OS Independent",
29-
"Programming Language :: Python :: 3.8",
3029
"Programming Language :: Python :: 3.9",
3130
"Programming Language :: Python :: 3.10",
3231
"Programming Language :: Python :: 3.11",
@@ -50,7 +49,7 @@ include = [
5049
]
5150

5251
[tool.poetry.dependencies]
53-
python = "^3.8, <3.13, !=3.9.7"
52+
python = "^3.9, <3.13, !=3.9.7"
5453
mmh3 = ">=4.0.0,<5.0.0"
5554
requests = ">=2.20.0,<3.0.0"
5655
click = ">=7.1.1,<9.0.0"
@@ -81,7 +80,6 @@ sqlalchemy = { version = "^2.0.18", optional = true }
8180
getdaft = { version = ">=0.2.12", optional = true }
8281
numpy = [
8382
{ version = "1.26.0", python = ">=3.9,<3.13", optional = true },
84-
{ version = "1.24.4", python = ">=3.8,<3.9", optional = true }
8583
]
8684
cachetools = "^5.5.0"
8785

0 commit comments

Comments
 (0)