File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 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 = [
@@ -30,12 +31,13 @@ packages = [
30
31
"Documentation" = " https://pandas.pydata.org/pandas-docs/stable"
31
32
32
33
[tool .poetry .dependencies ]
33
- python = " >=3.8,<3.11 "
34
+ python = " >=3.8,<3.12 "
34
35
types-pytz = " >= 2022.1.1"
35
36
36
37
[tool .poetry .dev-dependencies ]
37
38
mypy = " ==0.990"
38
- pyarrow = " >=9.0.0"
39
+ # Until pyarrow releases wheels for 3.11 this is required to make the ci pass
40
+ pyarrow = { version = " >=9.0.0" , python = " <3.11" }
39
41
pytest = " >=7.1.2"
40
42
pyright = " >=1.1.278"
41
43
poethepoet = " 0.16.0"
@@ -47,8 +49,8 @@ pre-commit = ">=2.19.0"
47
49
black = " >=22.8.0"
48
50
isort = " >=5.10.1"
49
51
openpyxl = " >=3.0.10"
50
- tables = " >=3.7.0"
51
- lxml = " >=4.7.1,<4.9.0"
52
+ tables = { version = " >=3.7.0" , python = " <3.11 " }
53
+ lxml = { version = " >=4.7.1,<4.9.0" , python = " <3.11 " }
52
54
pyreadstat = " >=1.1.9"
53
55
xlrd = " >=2.0.1"
54
56
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