Skip to content

Commit a60888c

Browse files
TomAugspurgerjreback
authored andcommitted
Bump minimum verions (pandas-dev#26832)
1 parent a00659a commit a60888c

File tree

9 files changed

+49
-36
lines changed

9 files changed

+49
-36
lines changed

ci/deps/azure-35-compat.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ channels:
33
- defaults
44
- conda-forge
55
dependencies:
6-
- beautifulsoup4=4.4.1
6+
- beautifulsoup4=4.6.0
77
- bottleneck=1.2.1
88
- jinja2=2.8
99
- numexpr=2.6.2
1010
- numpy=1.13.3
11-
- openpyxl=2.4.0
11+
- openpyxl=2.4.8
1212
- pytables=3.4.2
13-
- python-dateutil=2.5.0
13+
- python-dateutil=2.6.1
1414
- python=3.5.*
15-
- pytz=2015.4
15+
- pytz=2017.2
1616
- scipy=0.19.0
17-
- xlrd=1.0.0
18-
- xlsxwriter=0.7.7
19-
- xlwt=1.0.0
17+
- xlrd=1.1.0
18+
- xlsxwriter=0.9.8
19+
- xlwt=1.2.0
2020
# universal
2121
- cython=0.28.2
2222
- hypothesis>=3.58.0

ci/deps/azure-36-locale.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ channels:
33
- defaults
44
- conda-forge
55
dependencies:
6-
- beautifulsoup4==4.5.1
6+
- beautifulsoup4==4.6.0
77
- bottleneck=1.2.*
88
- cython=0.28.2
99
- lxml
1010
- matplotlib=2.2.2
1111
- numpy=1.14.*
12-
- openpyxl=2.4.0
12+
- openpyxl=2.4.8
1313
- python-dateutil
1414
- python-blosc
1515
- python=3.6.*
16-
- pytz=2016.10
16+
- pytz=2017.2
1717
- scipy
1818
- sqlalchemy=1.1.4
19-
- xlrd=1.0.0
20-
- xlsxwriter=0.9.4
19+
- xlrd=1.1.0
20+
- xlsxwriter=0.9.8
2121
- xlwt=1.2.0
2222
# universal
2323
- pytest>=4.0.2

ci/deps/azure-macos-35.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ dependencies:
1616
- pyarrow
1717
- pytables
1818
- python=3.5.*
19+
- python-dateutil==2.6.1
1920
- pytz
2021
- xarray
2122
- xlrd
2223
- xlsxwriter
2324
- xlwt
2425
- pip:
25-
- python-dateutil==2.5.3
2626
# universal
2727
- pytest==4.5.0
2828
- pytest-xdist

doc/source/install.rst

+15-9
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,19 @@ installed), make sure you have `pytest
220220

221221
==================== 12130 passed, 12 skipped in 368.339 seconds =====================
222222

223+
.. _install.dependencies:
224+
223225
Dependencies
224226
------------
225227

226-
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 24.2.0 or higher
227-
* `NumPy <http://www.numpy.org>`__: 1.13.3 or higher
228-
* `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
229-
* `pytz <http://pytz.sourceforge.net/>`__: 2015.4 or higher
228+
================================================================ ==========================
229+
Package Minimum supported version
230+
================================================================ ==========================
231+
`setuptools <https://setuptools.readthedocs.io/en/latest/>`__ 24.2.0
232+
`NumPy <http://www.numpy.org>`__ 1.13.3
233+
`python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__ 2.6.1
234+
`pytz <http://pytz.sourceforge.net/>`__ 2017.2
235+
================================================================ ==========================
230236

231237
.. _install.recommended_dependencies:
232238

@@ -260,21 +266,21 @@ the method requiring that dependency is called.
260266
========================= ================== =============================================================
261267
Dependency Minimum Version Notes
262268
========================= ================== =============================================================
263-
BeautifulSoup4 4.4.1 HTML parser for read_html (see :ref:`note <optional_html>`)
269+
BeautifulSoup4 4.6.0 HTML parser for read_html (see :ref:`note <optional_html>`)
264270
Jinja2 Conditional formatting with DataFrame.style
265271
PyQt4 Clipboard I/O
266272
PyQt5 Clipboard I/O
267273
PyTables 3.4.2 HDF5-based reading / writing
268274
SQLAlchemy 1.1.4 SQL support for databases other than sqlite
269275
SciPy 0.19.0 Miscellaneous statistical functions
270-
XLsxWriter Excel writing
276+
XLsxWriter 0.9.8 Excel writing
271277
blosc Compression for msgpack
272278
fastparquet 0.2.1 Parquet reading / writing
273279
gcsfs 0.1.0 Google Cloud Storage access
274280
html5lib HTML parser for read_html (see :ref:`note <optional_html>`)
275281
lxml HTML parser for read_html (see :ref:`note <optional_html>`)
276282
matplotlib 2.2.2 Visualization
277-
openpyxl 2.4.0 Reading / writing for xlsx files
283+
openpyxl 2.4.8 Reading / writing for xlsx files
278284
pandas-gbq 0.8.0 Google Big Query access
279285
psycopg2 PostgreSQL engine for sqlalchemy
280286
pyarrow 0.9.0 Parquet and feather reading / writing
@@ -283,8 +289,8 @@ qtpy Clipboard I/O
283289
s3fs 0.0.8 Amazon S3 access
284290
xarray 0.8.2 pandas-like API for N-dimensional data
285291
xclip Clipboard I/O on linux
286-
xlrd 1.0.0 Excel reading
287-
xlwt 2.4.0 Excel writing
292+
xlrd 1.1.0 Excel reading
293+
xlwt 1.2.0 Excel writing
288294
xsel Clipboard I/O on linux
289295
zlib Compression for msgpack
290296
========================= ================== =============================================================

doc/source/whatsnew/v0.25.0.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ If installed, we now require:
401401
+-----------------+-----------------+----------+
402402
| pytz | 2015.4 | X |
403403
+-----------------+-----------------+----------+
404+
| python-dateutil | 2.6.1 | X |
405+
+-----------------+-----------------+----------+
404406
| bottleneck | 1.2.1 | |
405407
+-----------------+-----------------+----------+
406408
| numexpr | 2.6.2 | |
@@ -415,11 +417,13 @@ Optional libraries below the lowest tested version may still work, but are not c
415417
+-----------------+-----------------+
416418
| Package | Minimum Version |
417419
+=================+=================+
420+
| beautifulsoup4 | 4.6.0 |
421+
+-----------------+-----------------+
418422
| fastparquet | 0.2.1 |
419423
+-----------------+-----------------+
420424
| matplotlib | 2.2.2 |
421425
+-----------------+-----------------+
422-
| openpyxl | 2.4.0 |
426+
| openpyxl | 2.4.8 |
423427
+-----------------+-----------------+
424428
| pyarrow | 0.9.0 |
425429
+-----------------+-----------------+
@@ -431,13 +435,15 @@ Optional libraries below the lowest tested version may still work, but are not c
431435
+-----------------+-----------------+
432436
| xarray | 0.8.2 |
433437
+-----------------+-----------------+
434-
| xlrd | 1.0.0 |
438+
| xlrd | 1.1.0 |
435439
+-----------------+-----------------+
436-
| xlsxwriter | 0.7.7 |
440+
| xlsxwriter | 0.9.8 |
437441
+-----------------+-----------------+
438-
| xlwt | 1.0.0 |
442+
| xlwt | 1.2.0 |
439443
+-----------------+-----------------+
440444

445+
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
446+
441447
.. _whatsnew_0250.api.other:
442448

443449
Other API Changes

environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
# required
77
- numpy>=1.15
88
- python=3
9-
- python-dateutil>=2.5.0
9+
- python-dateutil>=2.6.1
1010
- pytz
1111

1212
# benchmarks
@@ -64,7 +64,7 @@ dependencies:
6464
- scipy>=1.1
6565

6666
# optional for io
67-
- beautifulsoup4>=4.2.1 # pandas.read_html
67+
- beautifulsoup4>=4.6.0 # pandas.read_html
6868
- fastparquet>=0.2.1 # pandas.read_parquet, DataFrame.to_parquet
6969
- html5lib # pandas.read_html
7070
- lxml # pandas.read_html

pandas/compat/_optional.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@
66
# Update install.rst when updating versions!
77

88
VERSIONS = {
9-
"bs4": "4.4.1",
9+
"bs4": "4.6.0",
1010
"bottleneck": "1.2.1",
1111
"fastparquet": "0.2.1",
1212
"gcsfs": "0.1.0",
1313
"matplotlib": "2.2.2",
1414
"numexpr": "2.6.2",
15-
"openpyxl": "2.4.0",
15+
"openpyxl": "2.4.8",
1616
"pandas_gbq": "0.8.0",
1717
"pyarrow": "0.9.0",
1818
"pytables": "3.4.2",
1919
"s3fs": "0.0.8",
2020
"scipy": "0.19.0",
2121
"sqlalchemy": "1.1.4",
2222
"xarray": "0.8.2",
23-
"xlrd": "1.0.0",
24-
"xlwt": "2.4.0",
23+
"xlrd": "1.1.0",
24+
"xlwt": "1.2.0",
25+
"xlsxwriter": "0.9.8",
2526
}
2627

2728
message = (

requirements-dev.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numpy>=1.15
2-
python-dateutil>=2.5.0
2+
python-dateutil>=2.6.1
33
pytz
44
asv
55
cython>=0.28.2
@@ -38,7 +38,7 @@ jinja2
3838
matplotlib>=2.2.2
3939
numexpr>=2.6.8
4040
scipy>=1.1
41-
beautifulsoup4>=4.2.1
41+
beautifulsoup4>=4.6.0
4242
fastparquet>=0.2.1
4343
html5lib
4444
lxml

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def is_platform_mac():
3333
min_numpy_ver = '1.13.3'
3434
setuptools_kwargs = {
3535
'install_requires': [
36-
'python-dateutil >= 2.5.0',
37-
'pytz >= 2015.4',
36+
'python-dateutil >= 2.6.1',
37+
'pytz >= 2017.2',
3838
'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver),
3939
],
4040
'setup_requires': ['numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver)],

0 commit comments

Comments
 (0)