Skip to content

Commit f738d76

Browse files
authored
feat: support python 3.14 (#171)
* feat: support python 3.14 * add comment about pin verison in doc build
1 parent 99d3ef5 commit f738d76

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set up Python
6161
uses: actions/setup-python@v4
6262
with:
63-
python-version: 3.11
63+
python-version: 3.13
6464
- name: Install Dependences
6565
run: |
6666
python -m pip install --upgrade ${{ env.DEPENDENCES }}
@@ -76,7 +76,7 @@ jobs:
7676
matrix:
7777
# YAML parse `3.10` to `3.1`, so we have to add quotes for `'3.10'`, see also:
7878
# https://github.com/actions/setup-python/issues/160#issuecomment-724485470
79-
python-version: ['3.10', '3.11', '3.12', '3.13']
79+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
8080
os: [ubuntu-latest, macOS-latest, windows-latest]
8181
exclude:
8282
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
@@ -126,6 +126,7 @@ jobs:
126126
- name: Set up Python
127127
uses: actions/setup-python@v4
128128
with:
129+
# need to pin to 3.10 cause sphinx-multiversion latest code have but gather equal than 3.11
129130
python-version: '3.10'
130131
- name: Install Dependences
131132
run: |
@@ -144,7 +145,7 @@ jobs:
144145
- name: Set up Python
145146
uses: actions/setup-python@v4
146147
with:
147-
python-version: 3.11
148+
python-version: 3.13
148149
- name: Install Dependences
149150
run: |
150151
python -m pip install --upgrade ${{ env.DEPENDENCES }}
@@ -199,7 +200,7 @@ jobs:
199200
- name: Set up Python
200201
uses: actions/setup-python@v4
201202
with:
202-
python-version: 3.11
203+
python-version: 3.13
203204
- name: Install Dependences
204205
run: |
205206
python -m pip install --upgrade ${{ env.DEPENDENCES }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ run tests. And it is scattered commands to reproduce each step of the integratio
8080
### With GitHub Action
8181

8282
GitHub Action test in various environment for pydolphinscheduler, including different python version in
83-
`3.9|3.10|3.11|3.12|3.13` and operating system `linux|macOS|windows`. It will trigger and run automatically when you
83+
`3.10|3.11|3.12|3.13|3.14` and operating system `linux|macOS|windows`. It will trigger and run automatically when you
8484
submit pull requests to repository `apache/dolphinscheduler-sdk-python`.
8585

8686
### Automated Testing With tox
@@ -214,7 +214,7 @@ make clean && make multiversion
214214
## Unit Test
215215

216216
pydolphinscheduler using [pytest][pytest] to test our codebase. GitHub Action will run our test when you create
217-
pull request or commit to dev branch, with python version `3.9|3.10|3.11|3.12|3.13` and operating system `linux|macOS|windows`.
217+
pull request or commit to dev branch, with python version `3.10|3.11|3.12|3.13|3.14` and operating system `linux|macOS|windows`.
218218

219219
### Unit Test Using tox
220220

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ classifiers =
4646
Programming Language :: Python :: 3.11
4747
Programming Language :: Python :: 3.12
4848
Programming Language :: Python :: 3.13
49+
Programming Language :: Python :: 3.14
4950
Programming Language :: Python :: Implementation :: CPython
5051
Programming Language :: Python :: Implementation :: PyPy
5152
Topic :: Software Development :: User Interfaces

0 commit comments

Comments
 (0)