Skip to content

Commit 68dd979

Browse files
h-vetinarijreback
authored andcommitted
DEPS: Bump numpy to 1.13.3 (#25554)
1 parent 882961d commit 68dd979

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+169
-422
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ matrix:
4141

4242
- dist: trusty
4343
env:
44-
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true
44+
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36-cov.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true
4545

4646
# In allow_failures
4747
- dist: trusty

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pip install pandas
164164
```
165165

166166
## Dependencies
167-
- [NumPy](https://www.numpy.org): 1.12.0 or higher
167+
- [NumPy](https://www.numpy.org): 1.13.3 or higher
168168
- [python-dateutil](https://labix.org/python-dateutil): 2.5.0 or higher
169169
- [pytz](https://pythonhosted.org/pytz): 2015.4 or higher
170170

ci/azure/windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
vmImage: ${{ parameters.vmImage }}
99
strategy:
1010
matrix:
11-
py36_np14:
11+
py36_np15:
1212
ENV_FILE: ci/deps/azure-windows-36.yaml
1313
CONDA_PY: "36"
1414

ci/deps/azure-35-compat.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ channels:
33
- defaults
44
- conda-forge
55
dependencies:
6-
- beautifulsoup4==4.4.1
7-
- bottleneck=1.2.0
8-
- cython=0.28.2
9-
- hypothesis>=3.58.0
6+
- beautifulsoup4=4.4.1
7+
- bottleneck=1.2.1
108
- jinja2=2.8
11-
- numexpr=2.6.1
12-
- numpy=1.12.0
9+
- numexpr=2.6.2
10+
- numpy=1.13.3
1311
- openpyxl=2.4.0
1412
- pytables=3.4.2
1513
- python-dateutil=2.5.0
16-
- python=3.5*
14+
- python=3.5.*
1715
- pytz=2015.4
18-
- scipy=0.18.1
16+
- scipy=0.19.0
1917
- xlrd=1.0.0
2018
- xlsxwriter=0.7.7
2119
- xlwt=1.0.0
2220
# universal
21+
- cython=0.28.2
22+
- hypothesis>=3.58.0
2323
- pytest-xdist
2424
- pytest-mock
2525
- isort

ci/deps/azure-36-locale.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4==4.5.1
7-
- bottleneck=1.2.0
7+
- bottleneck=1.2.*
88
- cython=0.28.2
99
- lxml
10-
- matplotlib=2.0.0
11-
- numpy=1.12.0
10+
- matplotlib=2.2.2
11+
- numpy=1.14.*
1212
- openpyxl=2.4.0
1313
- python-dateutil
1414
- python-blosc
15-
- python=3.6
15+
- python=3.6.*
1616
- pytz=2016.10
1717
- scipy
1818
- sqlalchemy=1.1.4

ci/deps/azure-36-locale_slow.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ dependencies:
1010
- ipython
1111
- jinja2
1212
- lxml
13-
- matplotlib
13+
- matplotlib=3.0.*
1414
- nomkl
1515
- numexpr
16-
- numpy
16+
- numpy=1.15.*
1717
- openpyxl
1818
- pytables
1919
- python-dateutil
20-
- python=3.6*
20+
- python=3.6.*
2121
- pytz
2222
- s3fs
2323
- scipy

ci/deps/azure-37-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- openpyxl
1717
- pytables
1818
- python-dateutil
19-
- python=3.7*
19+
- python=3.7.*
2020
- pytz
2121
- s3fs
2222
- scipy

ci/deps/azure-37-numpydev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pandas-dev
22
channels:
33
- defaults
44
dependencies:
5-
- python=3.7*
5+
- python=3.7.*
66
- pytz
77
- Cython>=0.28.2
88
# universal

ci/deps/azure-macos-35.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ dependencies:
88
- html5lib
99
- jinja2
1010
- lxml
11-
- matplotlib=2.2.0
11+
- matplotlib=2.2.3
1212
- nomkl
1313
- numexpr
14-
- numpy=1.12.0
14+
- numpy=1.13.3
1515
- openpyxl
1616
- pyarrow
1717
- pytables
18-
- python=3.5*
18+
- python=3.5.*
1919
- pytz
2020
- xarray
2121
- xlrd

ci/deps/azure-windows-36.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ dependencies:
77
- bottleneck
88
- boost-cpp<1.67
99
- fastparquet>=0.2.1
10-
- matplotlib
10+
- matplotlib=3.0.2
1111
- numexpr
12-
- numpy=1.14*
12+
- numpy=1.15.*
1313
- openpyxl
1414
- parquet-cpp
1515
- pyarrow

ci/deps/azure-windows-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- html5lib
1010
- jinja2
1111
- lxml
12-
- matplotlib=3.0.1
12+
- matplotlib=2.2.*
1313
- numexpr
1414
- numpy=1.14.*
1515
- openpyxl

ci/deps/travis-36.yaml renamed to ci/deps/travis-36-cov.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ dependencies:
1414
- matplotlib
1515
- nomkl
1616
- numexpr
17-
- numpy
17+
- numpy=1.15.*
1818
- openpyxl
19+
- pandas-gbq
1920
- psycopg2
2021
- pyarrow=0.9.0
2122
- pymysql
2223
- pytables
2324
- python-snappy
24-
- python=3.6.6
25+
- python=3.6.*
2526
- pytz
2627
- s3fs
2728
- scikit-learn

ci/deps/travis-36-doc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- pytables
3030
- python-dateutil
3131
- python-snappy
32-
- python=3.6*
32+
- python=3.6.*
3333
- pytz
3434
- scipy
3535
- seaborn

ci/deps/travis-36-locale.yaml

+14-7
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,33 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4
7+
- blosc=1.14.3
8+
- python-blosc
79
- cython>=0.28.2
10+
- fastparquet=0.2.1
11+
- gcsfs=0.1.0
812
- html5lib
913
- ipython
1014
- jinja2
11-
- lxml
12-
- matplotlib
15+
- lxml=3.7.0
16+
- matplotlib=3.0.0
1317
- nomkl
1418
- numexpr
1519
- numpy
1620
- openpyxl
17-
- psycopg2
21+
- pandas-gbq=0.8.0
22+
- psycopg2=2.6.2
1823
- pymysql=0.7.9
1924
- pytables
2025
- python-dateutil
21-
- python=3.6*
26+
# cannot go past python=3.6.6 for matplotlib=3.0.0 due to
27+
# https://github.com/matplotlib/matplotlib/issues/12626
28+
- python=3.6.6
2229
- pytz
23-
- s3fs
30+
- s3fs=0.0.8
2431
- scipy
25-
- sqlalchemy
26-
- xarray
32+
- sqlalchemy=1.1.4
33+
- xarray=0.8.2
2734
- xlrd
2835
- xlsxwriter
2936
- xlwt

ci/deps/travis-36-slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- pymysql
1717
- pytables
1818
- python-dateutil
19-
- python=3.6*
19+
- python=3.6.*
2020
- pytz
2121
- s3fs
2222
- scipy

ci/deps/travis-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
- c3i_test
66
dependencies:
7-
- python=3.7
7+
- python=3.7.*
88
- botocore>=1.11
99
- cython>=0.28.2
1010
- numpy

doc/source/install.rst

+9-11
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Dependencies
224224
------------
225225

226226
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 24.2.0 or higher
227-
* `NumPy <http://www.numpy.org>`__: 1.12.0 or higher
227+
* `NumPy <http://www.numpy.org>`__: 1.13.3 or higher
228228
* `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
229229
* `pytz <http://pytz.sourceforge.net/>`__: 2015.4 or higher
230230

@@ -235,11 +235,11 @@ Recommended Dependencies
235235

236236
* `numexpr <https://github.com/pydata/numexpr>`__: for accelerating certain numerical operations.
237237
``numexpr`` uses multiple cores as well as smart chunking and caching to achieve large speedups.
238-
If installed, must be Version 2.6.1 or higher.
238+
If installed, must be Version 2.6.2 or higher.
239239

240240
* `bottleneck <https://github.com/kwgoodman/bottleneck>`__: for accelerating certain types of ``nan``
241241
evaluations. ``bottleneck`` uses specialized cython routines to achieve large speedups. If installed,
242-
must be Version 1.2.0 or higher.
242+
must be Version 1.2.1 or higher.
243243

244244
.. note::
245245

@@ -254,27 +254,27 @@ Optional Dependencies
254254

255255
* `Cython <http://www.cython.org>`__: Only necessary to build development
256256
version. Version 0.28.2 or higher.
257-
* `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions, Version 0.18.1 or higher
258-
* `xarray <http://xarray.pydata.org>`__: pandas like handling for > 2 dims. Version 0.7.0 or higher is recommended.
257+
* `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions, Version 0.19.0 or higher
258+
* `xarray <http://xarray.pydata.org>`__: pandas like handling for > 2 dims. Version 0.8.2 or higher is recommended.
259259
* `PyTables <http://www.pytables.org>`__: necessary for HDF5-based storage, Version 3.4.2 or higher
260260
* `pyarrow <http://arrow.apache.org/docs/python/>`__ (>= 0.9.0): necessary for feather-based storage.
261-
* `Apache Parquet <https://parquet.apache.org/>`__, either `pyarrow <http://arrow.apache.org/docs/python/>`__ (>= 0.7.0) or `fastparquet <https://fastparquet.readthedocs.io/en/latest>`__ (>= 0.2.1) for parquet-based storage. The `snappy <https://pypi.org/project/python-snappy>`__ and `brotli <https://pypi.org/project/brotlipy>`__ are available for compression support.
261+
* `Apache Parquet <https://parquet.apache.org/>`__, either `pyarrow <http://arrow.apache.org/docs/python/>`__ (>= 0.9.0) or `fastparquet <https://fastparquet.readthedocs.io/en/latest>`__ (>= 0.2.1) for parquet-based storage. The `snappy <https://pypi.org/project/python-snappy>`__ and `brotli <https://pypi.org/project/brotlipy>`__ are available for compression support.
262262
* `SQLAlchemy <http://www.sqlalchemy.org>`__: for SQL database support. Version 1.1.4 or higher recommended. Besides SQLAlchemy, you also need a database specific driver. You can find an overview of supported drivers for each SQL dialect in the `SQLAlchemy docs <http://docs.sqlalchemy.org/en/latest/dialects/index.html>`__. Some common drivers are:
263263

264264
* `psycopg2 <http://initd.org/psycopg/>`__: for PostgreSQL
265265
* `pymysql <https://github.com/PyMySQL/PyMySQL>`__: for MySQL.
266266
* `SQLite <https://docs.python.org/3/library/sqlite3.html>`__: for SQLite, this is included in Python's standard library by default.
267267

268-
* `matplotlib <http://matplotlib.org/>`__: for plotting, Version 2.0.0 or higher.
268+
* `matplotlib <http://matplotlib.org/>`__: for plotting, Version 2.2.2 or higher.
269269
* For Excel I/O:
270270

271271
* `xlrd/xlwt <http://www.python-excel.org/>`__: Excel reading (xlrd), version 1.0.0 or higher required, and writing (xlwt)
272272
* `openpyxl <https://openpyxl.readthedocs.io/en/stable/>`__: openpyxl version 2.4.0
273-
for writing .xlsx files (xlrd >= 0.9.0)
273+
for writing .xlsx files (xlrd >= 1.0.0)
274274
* `XlsxWriter <https://pypi.org/project/XlsxWriter>`__: Alternative Excel writer
275275

276276
* `Jinja2 <http://jinja.pocoo.org/>`__: Template engine for conditional HTML formatting.
277-
* `s3fs <http://s3fs.readthedocs.io/>`__: necessary for Amazon S3 access (s3fs >= 0.0.7).
277+
* `s3fs <http://s3fs.readthedocs.io/>`__: necessary for Amazon S3 access (s3fs >= 0.0.8).
278278
* `blosc <https://pypi.org/project/blosc>`__: for msgpack compression using ``blosc``
279279
* `gcsfs <http://gcsfs.readthedocs.io/>`__: necessary for Google Cloud Storage access (gcsfs >= 0.1.0).
280280
* One of
@@ -289,8 +289,6 @@ Optional Dependencies
289289
<https://pandas-gbq.readthedocs.io/en/latest/install.html#dependencies>`__:
290290
for Google BigQuery I/O. (pandas-gbq >= 0.8.0)
291291

292-
293-
* `Backports.lzma <https://pypi.org/project/backports.lzma/>`__: Only for Python 2, for writing to and/or reading from an xz compressed DataFrame in CSV; Python 3 support is built into the standard library.
294292
* One of the following combinations of libraries is needed to use the
295293
top-level :func:`~pandas.read_html` function:
296294

doc/source/whatsnew/v0.25.0.rst

+36-12
Original file line numberDiff line numberDiff line change
@@ -159,30 +159,54 @@ cause a ``SparseSeries`` or ``SparseDataFrame`` to be returned, as before.
159159
Increased minimum versions for dependencies
160160
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
161161

162-
Due to dropping support for Python 2.7, a number of optional dependencies have updated minimum versions.
163-
Independently, some minimum supported versions of dependencies were updated (:issue:`23519`, :issue:`24942`).
162+
Due to dropping support for Python 2.7, a number of optional dependencies have updated minimum versions (issue:`25725`, :issue:`24942`, :issue:`25752`).
163+
Independently, some minimum supported versions of dependencies were updated (:issue:`23519`, :issue:`25554`).
164164
If installed, we now require:
165165

166166
+-----------------+-----------------+----------+
167167
| Package | Minimum Version | Required |
168168
+=================+=================+==========+
169-
| beautifulsoup4 | 4.4.1 | |
169+
| numpy | 1.13.3 | X |
170170
+-----------------+-----------------+----------+
171-
| openpyxl | 2.4.0 | |
171+
| pytz | 2015.4 | X |
172172
+-----------------+-----------------+----------+
173-
| pymysql | 0.7.9 | |
173+
| bottleneck | 1.2.1 | |
174174
+-----------------+-----------------+----------+
175-
| pytz | 2015.4 | |
176-
+-----------------+-----------------+----------+
177-
| sqlalchemy | 1.1.4 | |
178-
+-----------------+-----------------+----------+
179-
| xlsxwriter | 0.7.7 | |
180-
+-----------------+-----------------+----------+
181-
| xlwt | 1.0.0 | |
175+
| numexpr | 2.6.2 | |
182176
+-----------------+-----------------+----------+
183177
| pytest (dev) | 4.0.2 | |
184178
+-----------------+-----------------+----------+
185179

180+
For `optional libraries <https://pandas-docs.github.io/pandas-docs-travis/install.html#dependencies>`_ the general recommendation is to use the latest version.
181+
The following table lists the lowest version per library that is currently being tested throughout the development of pandas.
182+
Optional libraries below the lowest tested version may still work, but are not considered supported.
183+
184+
+-----------------+-----------------+
185+
| Package | Minimum Version |
186+
+=================+=================+
187+
| fastparquet | 0.2.1 |
188+
+-----------------+-----------------+
189+
| matplotlib | 2.2.2 |
190+
+-----------------+-----------------+
191+
| openpyxl | 2.4.0 |
192+
+-----------------+-----------------+
193+
| pyarrow | 0.9.0 |
194+
+-----------------+-----------------+
195+
| pytables | 3.4.2 |
196+
+-----------------+-----------------+
197+
| scipy | 0.19.0 |
198+
+-----------------+-----------------+
199+
| sqlalchemy | 1.1.4 |
200+
+-----------------+-----------------+
201+
| xarray | 0.8.2 |
202+
+-----------------+-----------------+
203+
| xlrd | 1.0.0 |
204+
+-----------------+-----------------+
205+
| xlsxwriter | 0.7.7 |
206+
+-----------------+-----------------+
207+
| xlwt | 1.0.0 |
208+
+-----------------+-----------------+
209+
186210
.. _whatsnew_0250.api.other:
187211

188212
Other API Changes

environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ dependencies:
3131
- blosc
3232
- botocore>=1.11
3333
- boto3
34-
- bottleneck>=1.2.0
34+
- bottleneck>=1.2.1
3535
- fastparquet>=0.2.1
3636
- html5lib
3737
- ipython>=5.6.0
3838
- ipykernel
3939
- jinja2
4040
- lxml
41-
- matplotlib>=2.0.0
41+
- matplotlib>=2.2.2
4242
- nbsphinx
4343
- numexpr>=2.6.8
4444
- openpyxl

0 commit comments

Comments
 (0)