Skip to content

Commit 8ddd6a6

Browse files
authored
CI: Add regular 3.11 pipeline (#50696)
1 parent d95ff3e commit 8ddd6a6

File tree

5 files changed

+74
-8
lines changed

5 files changed

+74
-8
lines changed

.github/workflows/macos-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
os: [macos-latest, windows-latest]
34-
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml]
34+
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml, actions-311.yaml]
3535
fail-fast: false
3636
runs-on: ${{ matrix.os }}
3737
name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }}

.github/workflows/python-dev.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ name: Python Dev
2323
on:
2424
push:
2525
branches:
26-
- main
27-
- 1.5.x
26+
# - main
27+
# - 1.5.x
28+
- None
2829
pull_request:
2930
branches:
30-
- main
31-
- 1.5.x
31+
# - main
32+
# - 1.5.x
33+
- None
3234
paths-ignore:
3335
- "doc/**"
3436

.github/workflows/ubuntu.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
timeout-minutes: 180
2828
strategy:
2929
matrix:
30-
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml]
30+
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml, actions-311.yaml]
3131
pattern: ["not single_cpu", "single_cpu"]
3232
pyarrow_version: ["7", "8", "9", "10"]
3333
include:
@@ -92,6 +92,12 @@ jobs:
9292
pyarrow_version: "8"
9393
- env_file: actions-39.yaml
9494
pyarrow_version: "9"
95+
- env_file: actions-311.yaml
96+
pyarrow_version: "7"
97+
- env_file: actions-311.yaml
98+
pyarrow_version: "8"
99+
- env_file: actions-311.yaml
100+
pyarrow_version: "9"
95101
fail-fast: false
96102
name: ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }}
97103
env:

ci/deps/actions-311.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: pandas-dev
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.11
6+
7+
# build dependencies
8+
- versioneer[toml]
9+
- cython>=0.29.32
10+
11+
# test dependencies
12+
- pytest>=7.0
13+
- pytest-cov
14+
- pytest-xdist>=2.2.0
15+
- psutil
16+
- pytest-asyncio>=0.17
17+
- boto3
18+
19+
# required dependencies
20+
- python-dateutil
21+
- numpy<1.24.0
22+
- pytz
23+
24+
# optional dependencies
25+
- beautifulsoup4
26+
- blosc
27+
- bottleneck
28+
- brotlipy
29+
- fastparquet
30+
- fsspec
31+
- html5lib
32+
- hypothesis
33+
- gcsfs
34+
- jinja2
35+
- lxml
36+
- matplotlib>=3.6.1
37+
# - numba not compatible with 3.11
38+
- numexpr
39+
- openpyxl
40+
- odfpy
41+
- pandas-gbq
42+
- psycopg2
43+
- pymysql
44+
# - pytables>=3.8.0 # first version that supports 3.11
45+
- pyarrow
46+
- pyreadstat
47+
- python-snappy
48+
- pyxlsb
49+
- s3fs>=2021.08.0
50+
- scipy
51+
- sqlalchemy<1.4.46
52+
- tabulate
53+
- tzdata>=2022a
54+
- xarray
55+
- xlrd
56+
- xlsxwriter
57+
- zstandard

pandas/tests/extension/test_arrow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import pytest
2727

2828
from pandas.compat import (
29+
PY311,
2930
is_ci_environment,
3031
is_platform_windows,
3132
pa_version_under6p0,
@@ -49,7 +50,7 @@
4950
)
5051
from pandas.tests.extension import base
5152

52-
pa = pytest.importorskip("pyarrow", minversion="1.0.1")
53+
pa = pytest.importorskip("pyarrow", minversion="6.0.0")
5354

5455
from pandas.core.arrays.arrow.array import ArrowExtensionArray
5556

@@ -287,7 +288,7 @@ def test_from_sequence_pa_array_notimplemented(self, request):
287288

288289
def test_from_sequence_of_strings_pa_array(self, data, request):
289290
pa_dtype = data.dtype.pyarrow_dtype
290-
if pa.types.is_time64(pa_dtype) and pa_dtype.equals("time64[ns]"):
291+
if pa.types.is_time64(pa_dtype) and pa_dtype.equals("time64[ns]") and not PY311:
291292
request.node.add_marker(
292293
pytest.mark.xfail(
293294
reason="Nanosecond time parsing not supported.",

0 commit comments

Comments
 (0)