Skip to content

Commit 1bef2a4

Browse files
Aniketsykevinjqliu
andauthored
Remove Python 3.9 support (#2554)
#2534 Removed python 3.9 support. Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions. Thankyou ! --------- Co-authored-by: Kevin Liu <[email protected]>
1 parent da70e10 commit 1bef2a4

File tree

6 files changed

+19
-241
lines changed

6 files changed

+19
-241
lines changed

.github/workflows/pypi-build-artifacts.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
- uses: actions/setup-python@v6
4343
with:
4444
python-version: |
45-
3.9
4645
3.10
4746
3.11
4847
3.12
@@ -69,7 +68,7 @@ jobs:
6968
env:
7069
# Ignore 32 bit architectures
7170
CIBW_ARCHS: "auto64"
72-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
71+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
7372
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
7473
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
7574
# Ignore tests for pypy since not all dependencies are compiled for it

.github/workflows/python-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
python: ['3.9', '3.10', '3.11', '3.12']
50+
python: ['3.10', '3.11', '3.12']
5151

5252
steps:
5353
- uses: actions/checkout@v5
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
strategy:
7373
matrix:
74-
python: ['3.9', '3.10', '3.11', '3.12']
74+
python: ['3.10', '3.11', '3.12']
7575

7676
steps:
7777
- uses: actions/checkout@v5

.github/workflows/svn-build-artifacts.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
- uses: actions/setup-python@v6
4343
with:
4444
python-version: |
45-
3.9
4645
3.10
4746
3.11
4847
3.12
@@ -64,7 +63,7 @@ jobs:
6463
env:
6564
# Ignore 32 bit architectures
6665
CIBW_ARCHS: "auto64"
67-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
66+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
6867
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
6968
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
7069
# Ignore tests for pypy since not all dependencies are compiled for it

mkdocs/docs/contributing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ Deprecated in 0.1.0, will be removed in 0.2.0. The old_property is deprecated. P
234234

235235
For the type annotation the types from the `Typing` package are used.
236236

237-
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/).
238-
239237
### Third party libraries
240238

241239
PyIceberg naturally integrates into the rich Python ecosystem, however it is important to be hesitant adding third party packages. Adding a lot of packages makes the library heavyweight, and causes incompatibilities with other projects if they use a different version of the library. Also, big libraries such as `s3fs`, `adlfs`, `pyarrow`, `thrift` should be optional to avoid downloading everything, while not being sure if is actually being used.

0 commit comments

Comments
 (0)