File tree 7 files changed +30
-5
lines changed
doc/source/getting_started
7 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies:
11
11
- pytest-xdist>=1.31
12
12
- hypothesis>=5.5.3
13
13
- psutil
14
+ - pytest-asyncio
15
+ - boto3
14
16
15
17
# required dependencies
16
18
- python-dateutil
@@ -21,6 +23,7 @@ dependencies:
21
23
- beautifulsoup4
22
24
- blosc
23
25
- bottleneck
26
+ - brotlipy
24
27
- fastparquet
25
28
- fsspec
26
29
- html5lib
@@ -42,6 +45,7 @@ dependencies:
42
45
- pyxlsb
43
46
- s3fs
44
47
- scipy
48
+ - snappy
45
49
- sqlalchemy
46
50
- tabulate
47
51
- xarray
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ dependencies:
12
12
- pytest-xdist>=1.31
13
13
- hypothesis>=5.5.3
14
14
- psutil
15
+ - pytest-asyncio
16
+ - boto3
15
17
16
18
# required dependencies
17
19
- python-dateutil
@@ -21,6 +23,7 @@ dependencies:
21
23
# optional dependencies
22
24
- beautifulsoup4
23
25
- blosc
26
+ - brotlipy
24
27
- bottleneck
25
28
- fastparquet
26
29
- fsspec
@@ -42,6 +45,7 @@ dependencies:
42
45
- pyxlsb
43
46
- s3fs
44
47
- scipy
48
+ - snappy
45
49
- sqlalchemy
46
50
- tabulate
47
51
- xarray
@@ -52,17 +56,14 @@ dependencies:
52
56
53
57
# downstream packages
54
58
- aiobotocore
55
- - boto3
56
59
- botocore
57
60
- cftime
58
61
- dask
59
62
- ipython
60
63
- geopandas
61
- - python-snappy
62
64
- seaborn
63
65
- scikit-learn
64
66
- statsmodels
65
- - brotlipy
66
67
- coverage
67
68
- pandas-datareader
68
69
- pyyaml
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ dependencies:
13
13
- pytest-xdist>=1.31
14
14
- hypothesis>=5.5.3
15
15
- psutil
16
+ - pytest-asyncio
17
+ - boto3
16
18
17
19
# required dependencies
18
20
- python-dateutil=2.8.1
@@ -23,6 +25,7 @@ dependencies:
23
25
- beautifulsoup4=4.8.2
24
26
- blosc=1.20.1
25
27
- bottleneck=1.3.1
28
+ - brotlipy=0.7.0
26
29
- fastparquet=0.4.0
27
30
- fsspec=0.7.4
28
31
- html5lib=1.1
@@ -44,6 +47,7 @@ dependencies:
44
47
- pyxlsb=1.0.6
45
48
- s3fs=0.4.0
46
49
- scipy=1.4.1
50
+ - snappy=1.1.8
47
51
- sqlalchemy=1.4.0
48
52
- tabulate=0.8.7
49
53
- xarray=0.15.1
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies:
11
11
- pytest-xdist>=1.31
12
12
- hypothesis>=5.5.3
13
13
- psutil
14
+ - pytest-asyncio
15
+ - boto3
14
16
15
17
# required dependencies
16
18
- python-dateutil
@@ -21,6 +23,7 @@ dependencies:
21
23
- beautifulsoup4
22
24
- blosc
23
25
- bottleneck
26
+ - brotlipy
24
27
- fastparquet
25
28
- fsspec
26
29
- html5lib
@@ -41,6 +44,7 @@ dependencies:
41
44
- pyxlsb
42
45
- s3fs
43
46
- scipy
47
+ - snappy
44
48
- sqlalchemy
45
49
- tabulate
46
50
- xarray
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies:
11
11
- pytest-xdist>=1.31
12
12
- hypothesis>=5.5.3
13
13
- psutil
14
+ - pytest-asyncio
15
+ - boto3
14
16
15
17
# required dependencies
16
18
- python-dateutil
@@ -21,6 +23,7 @@ dependencies:
21
23
- beautifulsoup4
22
24
- blosc
23
25
- bottleneck
26
+ - brotlipy
24
27
- fastparquet
25
28
- fsspec
26
29
- html5lib
@@ -41,6 +44,7 @@ dependencies:
41
44
- pyxlsb
42
45
- s3fs
43
46
- scipy
47
+ - snappy
44
48
- sqlalchemy
45
49
- tabulate
46
50
- xarray
Original file line number Diff line number Diff line change @@ -410,5 +410,7 @@ Compression
410
410
========================= ================== =============================================================
411
411
Dependency Minimum Version Notes
412
412
========================= ================== =============================================================
413
- Zstandard Zstandard compression
413
+ brotli 0.7.0 Brotli compression
414
+ snappy 1.1.8 Snappy compression
415
+ Zstandard 0.15.2 Zstandard compression
414
416
========================= ================== =============================================================
Original file line number Diff line number Diff line change 13
13
"bs4" : "4.8.2" ,
14
14
"blosc" : "1.20.1" ,
15
15
"bottleneck" : "1.3.1" ,
16
+ "brotli" : "0.7.0" ,
16
17
"fastparquet" : "0.4.0" ,
17
18
"fsspec" : "0.7.4" ,
18
19
"html5lib" : "1.1" ,
34
35
"pyxlsb" : "1.0.6" ,
35
36
"s3fs" : "0.4.0" ,
36
37
"scipy" : "1.4.1" ,
38
+ "snappy" : "1.1.8" ,
37
39
"sqlalchemy" : "1.4.0" ,
38
40
"tables" : "3.6.1" ,
39
41
"tabulate" : "0.8.7" ,
50
52
INSTALL_MAPPING = {
51
53
"bs4" : "beautifulsoup4" ,
52
54
"bottleneck" : "Bottleneck" ,
55
+ "brotli" : "brotlipy" ,
53
56
"lxml.etree" : "lxml" ,
54
57
"odf" : "odfpy" ,
55
58
"pandas_gbq" : "pandas-gbq" ,
@@ -66,6 +69,9 @@ def get_version(module: types.ModuleType) -> str:
66
69
version = getattr (module , "__VERSION__" , None )
67
70
68
71
if version is None :
72
+ if module .__name__ == "brotli" :
73
+ # brotli doesn't contain attributes to confirm it's version
74
+ return ""
69
75
raise ImportError (f"Can't determine version for { module .__name__ } " )
70
76
if module .__name__ == "psycopg2" :
71
77
# psycopg2 appends " (dt dec pq3 ext lo64)" to it's version
@@ -141,7 +147,7 @@ def import_optional_dependency(
141
147
minimum_version = min_version if min_version is not None else VERSIONS .get (parent )
142
148
if minimum_version :
143
149
version = get_version (module_to_get )
144
- if Version (version ) < Version (minimum_version ):
150
+ if version and Version (version ) < Version (minimum_version ):
145
151
msg = (
146
152
f"Pandas requires version '{ minimum_version } ' or newer of '{ parent } ' "
147
153
f"(version '{ version } ' currently installed)."
You can’t perform that action at this time.
0 commit comments