Skip to content

Commit 684efe1

Browse files
vyagubovharitamar
andauthored
Remove python 3.9 (#2081)
* remove python 3.9 * silence mypy error when subclassing click.MultiCommand * use newer actions/setup-python version --------- Co-authored-by: Itamar Hartstein <haritamar@gmail.com>
1 parent 45831f3 commit 684efe1

6 files changed

Lines changed: 20 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Setup Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.9"
21+
python-version: "3.10"
2222

2323
- name: Install 'build' package
2424
run: pip install build

.github/workflows/run-precommit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v4.3.0
14+
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.9"
16+
python-version: "3.10"
1717

1818
# mainly needed so mypy will have the dependencies it needs
1919
- name: Install elementary

.github/workflows/test-github-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
echo "$PROFILES_YML" > ~/.dbt/profiles.yml
5050
5151
- name: Setup Python
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5
5353
with:
54-
python-version: "3.9"
54+
python-version: "3.10"
5555

5656
- name: Install dbt
5757
run: pip install --pre

.github/workflows/test-warehouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ jobs:
109109
# run: docker compose up -d clickhouse
110110

111111
- name: Setup Python
112-
uses: actions/setup-python@v4
112+
uses: actions/setup-python@v5
113113
with:
114-
python-version: "3.9"
114+
python-version: "3.10"
115115

116116
- name: Install Spark requirements
117117
if: inputs.warehouse-type == 'spark'

elementary/cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_quiet_logs(ctx):
3636
return False
3737

3838

39-
class ElementaryCLI(click.MultiCommand):
39+
class ElementaryCLI(click.MultiCommand): # type: ignore[misc, valid-type]
4040
_CMD_MAP = {
4141
"monitor": monitor,
4242
"report": report,

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ readme = "README.md"
99
homepage = "https://www.elementary-data.com"
1010
repository = "https://github.com/elementary-data/elementary"
1111
documentation = "https://docs.elementary-data.com"
12+
classifiers = [
13+
"Natural Language :: English",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: Apache Software License",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Topic :: Software Development :: Libraries",
21+
]
1222

1323
packages = [{include = "elementary"}]
1424

1525
[tool.poetry.dependencies]
16-
python = ">=3.9,<3.14"
26+
python = ">=3.10,<3.14"
1727
click = ">=7.0,<9.0"
1828
dbt-core = ">=0.20,<2.0.0"
1929
requests = ">=2.28.1,<3.0.0"

0 commit comments

Comments
 (0)