Skip to content

Commit 57fcb7a

Browse files
Merge pull request #625 from laughingman7743/feature/add-python-3.14-support
Add Python 3.14 support
2 parents a25ea0e + f38006a commit 57fcb7a

File tree

5 files changed

+275
-26
lines changed

5 files changed

+275
-26
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ['3.10', '3.11', '3.12', '3.13']
25+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2626

2727
steps:
2828
- name: Checkout
@@ -32,13 +32,13 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
enable-cache: true
35-
# TODO: In the case of Python 3.13, the following error occurs, so install Python using setup-python.
35+
# TODO: In the case of Python 3.13+, the following error occurs, so install Python using setup-python.
3636
# ../meson.build:44:2: ERROR: Problem encountered: Cannot compile
3737
# `Python.h`. Perhaps you need to install python-dev|python-devel
3838
- uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ matrix.python-version }}
41-
if: matrix.python-version == '3.13'
41+
if: matrix.python-version == '3.13' || matrix.python-version == '3.14'
4242
- run: |
4343
make tool
4444

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Requirements
4040

4141
* Python
4242

43-
- CPython 3.10, 3.11, 3.12, 3.13
43+
- CPython 3.10, 3.11, 3.12, 3.13, 3.14
4444

4545
.. _installation:
4646

docs/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Requirements
1010

1111
* Python
1212

13-
- CPython 3.10, 3.11, 3.12, 3.13
13+
- CPython 3.10, 3.11, 3.12, 3.13, 3.14
1414

1515
.. _installation:
1616

pyproject.toml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
2727
"Programming Language :: Python :: 3.13",
28+
"Programming Language :: Python :: 3.14",
2829
]
2930
dynamic = ["version"]
3031

@@ -40,15 +41,24 @@ awsathena = "pyathena.sqlalchemy.base:AthenaDialect"
4041

4142
[project.optional-dependencies]
4243
sqlalchemy = ["sqlalchemy>=1.0.0"]
43-
pandas = ["pandas>=1.3.0"]
44-
arrow = ["pyarrow>=10.0.0"]
44+
pandas = [
45+
"pandas>=1.3.0; python_version<'3.13'",
46+
"pandas>=2.3.0; python_version>='3.13'",
47+
]
48+
arrow = [
49+
"pyarrow>=10.0.0; python_version<'3.14'",
50+
"pyarrow>=22.0.0; python_version>='3.14'",
51+
]
4552

4653
[dependency-groups]
4754
dev = [
4855
"sqlalchemy>=1.0.0",
49-
"pandas>=1.3.0",
50-
"numpy>=1.26.0",
51-
"pyarrow>=10.0.0",
56+
"pandas>=1.3.0; python_version<'3.13'",
57+
"pandas>=2.3.0; python_version>='3.13'",
58+
"numpy>=1.26.0; python_version<'3.13'",
59+
"numpy>=2.3.0; python_version>='3.13'",
60+
"pyarrow>=10.0.0; python_version<'3.14'",
61+
"pyarrow>=22.0.0; python_version>='3.14'",
5262
"Jinja2>=3.1.0",
5363
"mypy>=0.900",
5464
"pytest>=3.5",
@@ -146,14 +156,15 @@ exclude = [
146156
legacy_tox_ini = """
147157
[tox]
148158
isolated_build = true
149-
envlist = py{310,311,312,313}
159+
envlist = py{310,311,312,313,314}
150160
151161
[gh-actions]
152162
python =
153163
3.10: py310
154164
3.11: py311
155165
3.12: py312
156166
3.13: py313
167+
3.14: py314
157168
158169
[testenv]
159170
allowlist_externals =

0 commit comments

Comments
 (0)