Skip to content

Bump minimum verions #26832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions ci/deps/azure-35-compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ channels:
- defaults
- conda-forge
dependencies:
- beautifulsoup4=4.4.1
- beautifulsoup4=4.6.0
- bottleneck=1.2.1
- jinja2=2.8
- numexpr=2.6.2
- numpy=1.13.3
- openpyxl=2.4.0
- openpyxl=2.4.8
- pytables=3.4.2
- python-dateutil=2.5.0
- python-dateutil=2.6.1
- python=3.5.*
- pytz=2015.4
- pytz=2017.2
- scipy=0.19.0
- xlrd=1.0.0
- xlsxwriter=0.7.7
- xlwt=1.0.0
- xlrd=1.1.0
- xlsxwriter=0.9.8
- xlwt=1.2.0
# universal
- cython=0.28.2
- hypothesis>=3.58.0
Expand Down
10 changes: 5 additions & 5 deletions ci/deps/azure-36-locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ channels:
- defaults
- conda-forge
dependencies:
- beautifulsoup4==4.5.1
- beautifulsoup4==4.6.0
- bottleneck=1.2.*
- cython=0.28.2
- lxml
- matplotlib=2.2.2
- numpy=1.14.*
- openpyxl=2.4.0
- openpyxl=2.4.8
- python-dateutil
- python-blosc
- python=3.6.*
- pytz=2016.10
- pytz=2017.2
- scipy
- sqlalchemy=1.1.4
- xlrd=1.0.0
- xlsxwriter=0.9.4
- xlrd=1.1.0
- xlsxwriter=0.9.8
- xlwt=1.2.0
# universal
- pytest>=4.0.2
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/azure-macos-35.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ dependencies:
- pyarrow
- pytables
- python=3.5.*
- python-dateutil==2.6.1
- pytz
- xarray
- xlrd
- xlsxwriter
- xlwt
- pip:
- python-dateutil==2.5.3
# universal
- pytest==4.5.0
- pytest-xdist
Expand Down
24 changes: 15 additions & 9 deletions doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,19 @@ installed), make sure you have `pytest

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

.. _install.dependencies:

Dependencies
------------

* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 24.2.0 or higher
* `NumPy <http://www.numpy.org>`__: 1.13.3 or higher
* `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
* `pytz <http://pytz.sourceforge.net/>`__: 2015.4 or higher
================================================================ ==========================
Package Minimum supported version
================================================================ ==========================
`setuptools <https://setuptools.readthedocs.io/en/latest/>`__ 24.2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should bump this too, but orthogonal

`NumPy <http://www.numpy.org>`__ 1.13.3
`python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__ 2.6.1
`pytz <http://pytz.sourceforge.net/>`__ 2017.2
================================================================ ==========================

.. _install.recommended_dependencies:

Expand Down Expand Up @@ -260,21 +266,21 @@ the method requiring that dependency is called.
========================= ================== =============================================================
Dependency Minimum Version Notes
========================= ================== =============================================================
BeautifulSoup4 4.4.1 HTML parser for read_html (see :ref:`note <optional_html>`)
BeautifulSoup4 4.6.0 HTML parser for read_html (see :ref:`note <optional_html>`)
Jinja2 Conditional formatting with DataFrame.style
PyQt4 Clipboard I/O
PyQt5 Clipboard I/O
PyTables 3.4.2 HDF5-based reading / writing
SQLAlchemy 1.1.4 SQL support for databases other than sqlite
SciPy 0.19.0 Miscellaneous statistical functions
XLsxWriter Excel writing
XLsxWriter 0.9.8 Excel writing
blosc Compression for msgpack
fastparquet 0.2.1 Parquet reading / writing
gcsfs 0.1.0 Google Cloud Storage access
html5lib HTML parser for read_html (see :ref:`note <optional_html>`)
lxml HTML parser for read_html (see :ref:`note <optional_html>`)
matplotlib 2.2.2 Visualization
openpyxl 2.4.0 Reading / writing for xlsx files
openpyxl 2.4.8 Reading / writing for xlsx files
pandas-gbq 0.8.0 Google Big Query access
psycopg2 PostgreSQL engine for sqlalchemy
pyarrow 0.9.0 Parquet and feather reading / writing
Expand All @@ -283,8 +289,8 @@ qtpy Clipboard I/O
s3fs 0.0.8 Amazon S3 access
xarray 0.8.2 pandas-like API for N-dimensional data
xclip Clipboard I/O on linux
xlrd 1.0.0 Excel reading
xlwt 2.4.0 Excel writing
xlrd 1.1.0 Excel reading
xlwt 1.2.0 Excel writing
xsel Clipboard I/O on linux
zlib Compression for msgpack
========================= ================== =============================================================
Expand Down
22 changes: 22 additions & 0 deletions doc/source/whatsnew/v0.25.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,28 @@ Other Enhancements
- :class:`DatetimeIndex` and :class:`TimedeltaIndex` now have a ``mean`` method (:issue:`24757`)
- :meth:`DataFrame.describe` now formats integer percentiles without decimal point (:issue:`26660`)

.. _whatsnew_0250.dependencies:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you merge this with the existing section

Increased minimum versions for dependencies
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these as part of the numpy 1.13 bump

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops forgot about that.


Updated minimum supported dependency versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pandas now requires at least the following versions

=============== =================== =========
Package N New minimum version Required?
=============== =================== =========
python-dateutil 2.6.1 yes
pytz 2017.2 yes
bs4 4.6.0
xlsxwriter 0.9.8
openpyxl 2.4.8
xlrd 1.1.0
xlwt 1.2.0
=============== =================== =========

See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.


.. _whatsnew_0250.api_breaking:

Backwards incompatible API changes
Expand Down
9 changes: 5 additions & 4 deletions pandas/compat/_optional.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
# Update install.rst when updating versions!

VERSIONS = {
"bs4": "4.4.1",
"bs4": "4.6.0",
"bottleneck": "1.2.1",
"fastparquet": "0.2.1",
"gcsfs": "0.1.0",
"matplotlib": "2.2.2",
"numexpr": "2.6.2",
"openpyxl": "2.4.0",
"openpyxl": "2.4.8",
"pandas_gbq": "0.8.0",
"pyarrow": "0.9.0",
"pytables": "3.4.2",
"s3fs": "0.0.8",
"scipy": "0.19.0",
"sqlalchemy": "1.1.4",
"xarray": "0.8.2",
"xlrd": "1.0.0",
"xlwt": "2.4.0",
"xlrd": "1.1.0",
"xlwt": "1.2.0",
"xlsxwriter": "0.9.8",
}

message = (
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def is_platform_mac():
min_numpy_ver = '1.13.3'
setuptools_kwargs = {
'install_requires': [
'python-dateutil >= 2.5.0',
'pytz >= 2015.4',
'python-dateutil >= 2.6.1',
'pytz >= 2017.2',
'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver),
],
'setup_requires': ['numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver)],
Expand Down