Skip to content

Commit 3b55048

Browse files
committed
feat: drop support for Python 3.9
There was end of life for Python 3.9 at the beginning of October. Let's remove it from the support. Note that some upgrade rules were added to ignore – they will resolved in a separate commit and PR.
1 parent f51508f commit 3b55048

File tree

32 files changed

+297
-240
lines changed

32 files changed

+297
-240
lines changed

.github/workflows/rw-python-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: ${{inputs.changed-python-modules == 'true'}}
1212
strategy:
1313
matrix:
14-
python_version: [py313, py312, py311, py310, py39]
14+
python_version: [py313, py312, py311, py310]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.sonar.settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# (C) 2021 GoodData Corporation
22
sonar.sources=gooddata-sdk,gooddata-fdw,gooddata-pandas,gooddata-flight-server,gooddata-flexconnect
33
sonar.exclusions=gooddata-api-client/**/*
4-
sonar.python.version=3.9, 3.10, 3.11, 3.12, 3.13
4+
sonar.python.version=3.10, 3.11, 3.12, 3.13

.sonarcloud.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# (C) 2022 GoodData Corporation
22
sonar.sources=gooddata-sdk,gooddata-fdw,gooddata-pandas,gooddata-flight-server,gooddata-flexconnect
33
sonar.exclusions=gooddata-api-client/**/*
4-
sonar.python.version=3.9, 3.10, 3.11, 3.12, 3.13
4+
sonar.python.version=3.10, 3.11, 3.12, 3.13

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Getting Started
44

5-
1. Ensure you have at minimum Python 3.13 installed; Python 3.12, 3.11, 3.10 and 3.9 are optional for multi-environment tests
5+
1. Ensure you have at minimum Python 3.13 installed; Python 3.12, 3.11 and 3.10 are optional for multi-environment tests
66

77
This repo uses [tox](https://tox.readthedocs.io/en/latest/) and by default will try to run tests against all
88
supported versions. If you have only subset of supported python interpreters installed, see
@@ -149,7 +149,7 @@ Here are the options how to run the tests:
149149
- or execute `tox` command with arguments of your choice
150150
```bash
151151
cd packages/gooddata-sdk
152-
tox -e py39
152+
tox -e py310
153153
```
154154
- run tests for all non-client projects using `make test` in project root directory
155155
@@ -213,9 +213,9 @@ venv automatically. So when docker tox tests are executed after localhost tests
213213
cd packages/gooddata-sdk
214214
make test-ci
215215
```
216-
- run all tests containing `http_headers` in name for py310 and py39 for all projects
216+
- run all tests containing `http_headers` in name for py311 and py310 for all projects
217217
```bash
218-
TEST_ENVS=py310,py39 ADD_ARGS="-k http_headers" make test-ci
218+
TEST_ENVS=py311,py310 ADD_ARGS="-k http_headers" make test-ci
219219
```
220220
- run tests on localhost against all-in-one image started with docker-compose
221221
```bash

ci_tests.mk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# (C) 2021 GoodData Corporation
2-
IN_TEST_ENVS = py313,py312,py311,py310,py39
2+
IN_TEST_ENVS = py313,py312,py311,py310
33
ifdef TEST_ENVS
44
IN_TEST_ENVS = $(TEST_ENVS)
55
endif
@@ -35,10 +35,6 @@ endif
3535

3636

3737
# Targets to build docker file for each python version
38-
.PHONY: test-ci-py39-build
39-
test-ci-py39-build: Dockerfile
40-
docker build --build-arg "PY_TAG=3.9.20-slim-bookworm" --build-arg "ENV_TAG=py39" -t python-sdk:py39 .
41-
4238
.PHONY: test-ci-py310-build
4339
test-ci-py310-build: Dockerfile
4440
docker build --build-arg "PY_TAG=3.10.15-slim-bookworm" --build-arg "ENV_TAG=py310" -t python-sdk:py310 .

docs/content/en/latest/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 11
66

77
Before installing, ensure you are using:
88

9-
* Python `3.9` or newer
9+
* Python `3.10` or newer
1010
* [GoodData.CN](https://www.gooddata.com/docs/cloud-native/latest/install/) or [GoodData Cloud](https://www.gooddata.com/docs/cloud/getting-started/)
1111
* The [pip](https://pypi.org/project/pip/) package management tool
1212

docs/content/en/latest/pandas-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pip install gooddata-pandas
1919

2020
### Requirements
2121

22-
- Python 3.9 or newer
22+
- Python 3.10 or newer
2323
- GoodData.CN or GoodData Cloud
2424

2525

packages/gooddata-dbt/mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ disallow_untyped_defs = True
55
warn_redundant_casts = True
66
strict_equality = True
77
no_implicit_optional = True
8-
python_version = 3.9
8+
python_version = 3.10
99

1010
[mypy-gooddata_api_client.*]
1111
ignore_missing_imports = True

packages/gooddata-dbt/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = {text = "MIT"}
88
authors = [
99
{name = "GoodData", email = "[email protected]"}
1010
]
11-
requires-python = ">=3.9.0"
11+
requires-python = ">=3.10"
1212
dependencies = [
1313
"gooddata-sdk~=1.53.0",
1414
"pyyaml>=6.0",

packages/gooddata-dbt/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# (C) 2023 GoodData Corporation
22
[tox]
3-
envlist = py3{9,10,11,12,13}
3+
envlist = py3{10,11,12,13}
44

55
[testenv]
66
runner = uv-venv-lock-runner

0 commit comments

Comments
 (0)