Skip to content

Commit 4f49d41

Browse files
committed
feat: support building for Python 3.14
1 parent b3c7ee7 commit 4f49d41

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

.github/workflows/build_linux_arm64_wheels-gh.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
pyenv install 3.11:latest
7575
pyenv install 3.12:latest
7676
pyenv install 3.13:latest
77-
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13
77+
pyenv install 3.14:latest
78+
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13 3.14
7879
7980
# Verify installations
8081
echo "Installed versions:"
@@ -87,7 +88,7 @@ jobs:
8788
pyenv versions
8889
echo ""
8990
echo "Verifying all required Python versions are available:"
90-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
91+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
9192
if ! pyenv versions --bare | grep -q "^$version"; then
9293
echo "ERROR: Python $version is not installed!"
9394
exit 1
@@ -99,7 +100,7 @@ jobs:
99100
run: |
100101
export PATH="$HOME/.pyenv/bin:$PATH"
101102
eval "$(pyenv init -)"
102-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
103+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
103104
echo "Installing dependencies for Python $version"
104105
pyenv shell $version
105106
python -m pip install --upgrade pip
@@ -257,7 +258,7 @@ jobs:
257258
run: |
258259
export PATH="$HOME/.pyenv/bin:$PATH"
259260
eval "$(pyenv init -)"
260-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
261+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
261262
echo "Testing chdb on Python $version"
262263
pyenv shell $version
263264
python -m pip install dist/*.whl --force-reinstall

.github/workflows/build_linux_x86_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
pyenv install 3.11:latest
7575
pyenv install 3.12:latest
7676
pyenv install 3.13:latest
77-
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13
77+
pyenv install 3.14:latest
78+
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13 3.14
7879
7980
# Verify installations
8081
echo "Installed versions:"
@@ -87,7 +88,7 @@ jobs:
8788
pyenv versions
8889
echo ""
8990
echo "Verifying all required Python versions are available:"
90-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
91+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
9192
if ! pyenv versions --bare | grep -q "^$version"; then
9293
echo "ERROR: Python $version is not installed!"
9394
exit 1
@@ -99,7 +100,7 @@ jobs:
99100
run: |
100101
export PATH="$HOME/.pyenv/bin:$PATH"
101102
eval "$(pyenv init -)"
102-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
103+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
103104
echo "Installing dependencies for Python $version"
104105
pyenv shell $version
105106
python -m pip install --upgrade pip
@@ -256,7 +257,7 @@ jobs:
256257
run: |
257258
export PATH="$HOME/.pyenv/bin:$PATH"
258259
eval "$(pyenv init -)"
259-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
260+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
260261
echo "Testing chdb on Python $version"
261262
pyenv shell $version
262263
python -m pip install dist/*.whl --force-reinstall

.github/workflows/build_macos_arm64_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
pyenv install 3.11:latest
3737
pyenv install 3.12:latest
3838
pyenv install 3.13:latest
39-
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13
39+
pyenv install 3.14:latest
40+
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13 3.14
4041
4142
echo "Installed versions:"
4243
pyenv versions
@@ -48,7 +49,7 @@ jobs:
4849
pyenv versions
4950
echo ""
5051
echo "Verifying all required Python versions are available:"
51-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
52+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
5253
if ! pyenv versions --bare | grep -q "^$version"; then
5354
echo "ERROR: Python $version is not installed!"
5455
exit 1
@@ -60,7 +61,7 @@ jobs:
6061
run: |
6162
export PATH="$HOME/.pyenv/bin:$PATH"
6263
eval "$(pyenv init -)"
63-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
64+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
6465
echo "Installing dependencies for Python $version"
6566
pyenv shell $version
6667
python -m pip install --upgrade pip
@@ -197,7 +198,7 @@ jobs:
197198
run: |
198199
export PATH="$HOME/.pyenv/bin:$PATH"
199200
eval "$(pyenv init -)"
200-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
201+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
201202
echo "Testing chdb on Python $version"
202203
pyenv shell $version
203204
python -m pip install dist/*.whl --force-reinstall

.github/workflows/build_macos_x86_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
pyenv install 3.11:latest
3737
pyenv install 3.12:latest
3838
pyenv install 3.13:latest
39-
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13
39+
pyenv install 3.14:latest
40+
pyenv global 3.8 3.9 3.10 3.11 3.12 3.13 3.14
4041
4142
echo "Installed versions:"
4243
pyenv versions
@@ -48,7 +49,7 @@ jobs:
4849
pyenv versions
4950
echo ""
5051
echo "Verifying all required Python versions are available:"
51-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
52+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
5253
if ! pyenv versions --bare | grep -q "^$version"; then
5354
echo "ERROR: Python $version is not installed!"
5455
exit 1
@@ -60,7 +61,7 @@ jobs:
6061
run: |
6162
export PATH="$HOME/.pyenv/bin:$PATH"
6263
eval "$(pyenv init -)"
63-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
64+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
6465
echo "Installing dependencies for Python $version"
6566
pyenv shell $version
6667
python -m pip install --upgrade pip
@@ -219,7 +220,7 @@ jobs:
219220
run: |
220221
export PATH="$HOME/.pyenv/bin:$PATH"
221222
eval "$(pyenv init -)"
222-
for version in 3.8 3.9 3.10 3.11 3.12 3.13; do
223+
for version in 3.8 3.9 3.10 3.11 3.12 3.13 3.14; do
223224
echo "Testing chdb on Python $version"
224225
pyenv shell $version
225226
python -m pip install dist/*.whl --force-reinstall

chdb/build_pybind11.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ build_pybind11_nonlimitedapi() {
6363
}
6464

6565
build_all_pybind11_nonlimitedapi() {
66-
local python_versions=("3.8" "3.9" "3.10" "3.11" "3.12" "3.13")
66+
local python_versions=("3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14")
6767

6868
echo "Building pybind11 nonlimitedapi libraries for all Python versions..."
6969

0 commit comments

Comments
 (0)