Skip to content

Commit ef4da3a

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 ef4da3a

File tree

31 files changed

+292
-235
lines changed

31 files changed

+292
-235
lines changed

.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: 1 addition & 1 deletion
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

ci_tests.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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 = "support@gooddata.com"}
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

packages/gooddata-fdw/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See [DOCUMENTATION](https://gooddata-fdw.readthedocs.io/en/latest/) for more det
1111
- [GoodData](https://www.gooddata.com/docs/cloud/) installation; either running on your cloud
1212
infrastructure or the free Community Edition running on your workstation
1313

14-
- Python 3.9 or newer
14+
- Python 3.10 or newer
1515

1616
- The GoodData Cloud Foreign Data Wrapper is tested with the latest version of multicorn (1.4.0) and PostgreSQL 12
1717

0 commit comments

Comments
 (0)