8000 Python3.11 support (#603) · samuelcolvin/datafusion-python@3a82be0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a82be0

Browse files
authored
Python3.11 support (apache#603)
1 parent dd4ed97 commit 3a82be0

File tree

3 files changed

+184
-161
lines changed

3 files changed

+184
-161
lines changed

.github/workflows/conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python: ["3.8", "3.9", "3.10"]
34+
python: ["3.8", "3.9", "3.10", "3.11"]
3535
arch: ["linux-64", "linux-aarch64"]
3636
steps:
3737
- name: Manage disk space

.github/workflows/test.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
matrix:
3535
python-version:
3636
- "3.10"
37+
- "3.11"
3738
toolchain:
3839
- "stable"
39-
# we are not that much eager in walking on the edge yet
40-
# - nightly
4140
# build stable for only 3.7
4241
include:
4342
- python-version: "3.7"
@@ -83,19 +82,26 @@ jobs:
8382
command: clippy
8483
args: --all-targets --all-features -- -D clippy::all -A clippy::redundant_closure
8584

85+
- name: Create Virtualenv (3.7)
86+
if: ${{ matrix.python-version == '3.7' }}
87+
run: |
88+
python -m venv venv
89+
source venv/bin/activate
90+
pip install -r requirements-37.txt
91+
8692
- name: Create Virtualenv (3.10)
8793
if: ${{ matrix.python-version == '3.10' }}
8894
run: |
8995
python -m venv venv
9096
source venv/bin/activate
9197
pip install -r requirements-310.txt
9298
93-
- name: Create Virtualenv (3.7)
94-
if: ${{ matrix.python-version == '3.7' }}
99+
- name: Create Virtualenv (3.11)
100+
if: ${{ matrix.python-version == '3.11' }}
95101
run: |
96102
python -m venv venv
97103
source venv/bin/activate
98-
pip install -r requirements-37.txt
104+
pip install -r requirements-311.txt
99105
100106
- name: Run Python Linters
101107
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}

0 commit comments

Comments
 (0)
0