File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 14
14
fail-fast : false
15
15
matrix :
16
16
os : [ubuntu-latest, windows-latest, macos-latest]
17
- python-version : ['3.8', '3.9', '3.10.6']
17
+ python-version : ['3.8', '3.9', '3.10.6', '3.11' ]
18
18
19
19
steps :
20
20
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ classifiers = [
19
19
" Programming Language :: Python :: 3.8" ,
20
20
" Programming Language :: Python :: 3.9" ,
21
21
" Programming Language :: Python :: 3.10" ,
22
+ " Programming Language :: Python :: 3.11" ,
22
23
" Topic :: Scientific/Engineering"
23
24
]
24
25
packages = [
@@ -31,12 +32,13 @@ packages = [
31
32
"Source Code" = " https://github.com/pandas-dev/pandas-stubs"
32
33
33
34
[tool .poetry .dependencies ]
34
- python = " >=3.8,<3.11 "
35
+ python = " >=3.8,<3.12 "
35
36
types-pytz = " >= 2022.1.1"
36
37
37
38
[tool .poetry .dev-dependencies ]
38
39
mypy = " ==0.971"
39
- pyarrow = " >=9.0.0"
40
+ # Until pyarrow releases wheels for 3.11 this is required to make the ci pass
41
+ pyarrow = { version = " >=9.0.0" , python = " <3.11" }
40
42
pytest = " >=7.1.2"
41
43
pyright = " >=1.1.266"
42
44
poethepoet = " 0.16.0"
@@ -48,8 +50,8 @@ pre-commit = ">=2.19.0"
48
50
black = " >=22.8.0"
49
51
isort = " >=5.10.1"
50
52
openpyxl = " >=3.0.10"
51
- tables = " >=3.7.0"
52
- lxml = " >=4.7.1,<4.9.0"
53
+ tables = { version = " >=3.7.0" , python = " <3.11 " }
54
+ lxml = { version = " >=4.7.1,<4.9.0" , python = " <3.11 " }
53
55
pyreadstat = " >=1.1.9"
54
56
xlrd = " >=2.0.1"
55
57
pyxlsb = " >=1.0.9"
Original file line number Diff line number Diff line change 5
5
import pathlib
6
6
from pathlib import Path
7
7
import sqlite3
8
+ import sys
8
9
from typing import (
9
10
TYPE_CHECKING ,
10
11
Any ,
69
70
CWD = os .path .split (os .path .abspath (__file__ ))[0 ]
70
71
71
72
73
+ if sys .version_info >= (3 , 11 ):
74
+ # This is only needed temporarily due to no wheels being available for arrow on 3.11
75
+ _arrow = pytest .importorskip ("arrow" )
76
+
72
77
@pytest .mark .skipif (WINDOWS , reason = "ORC not available on windows" )
73
78
def test_orc ():
74
79
with ensure_clean () as path :
You can’t perform that action at this time.
0 commit comments