Changelog
### 0.39.0
```
--------------
Here are the highlights for the Numba 0.39.0 release.
* This is the first version that supports Python 3.7.
* With help from Intel, we have fixed the issues with SVML support (related
issues 2938, 2998, 3006).
* List has gained support for containing reference-counted types like NumPy
arrays and `list`. Note, list still cannot hold heterogeneous types.
* We have made a significant change to the internal calling-convention,
which should be transparent to most users, to allow for a future feature that
will permitting jumping back into python-mode from a nopython-mode function.
This also fixes a limitation to `print` that disabled its use from nopython
functions that were deep in the call-stack.
* For CUDA GPU support, we added a `__cuda_array_interface__` following the
NumPy array interface specification to allow Numba to consume externally
defined device arrays. We have opened a corresponding pull request to CuPy to
test out the concept and be able to use a CuPy GPU array.
* The Numba dispatcher `inspect_types()` method now supports the kwarg `pretty`
which if set to `True` will produce ANSI/HTML output, showing the annotated
types, when invoked from ipython/jupyter-notebook respectively.
* The NumPy functions `ndarray.dot`, `np.percentile` and `np.nanpercentile`, and
`np.unique` are now supported.
* Numba now supports the use of a per-project configuration file to permanently
set behaviours typically set via `NUMBA_*` family environment variables.
* Support for the `ppc64le` architecture has been added.
Enhancements:
* PR 2793: Simplify and remove javascript from html_annotate templates.
* PR 2840: Support list of refcounted types
* PR 2902: Support for np.unique
* PR 2926: Enable fence for all architecture and add developer notes
* PR 2928: Making error about untyped list more informative.
* PR 2930: Add configuration file and color schemes.
* PR 2932: Fix encoding to 'UTF-8' in `check_output` decode.
* PR 2938: Python 3.7 compat: _Py_Finalizing becomes _Py_IsFinalizing()
* PR 2939: Comprehensive SVML unit test
* PR 2946: Add support for `ndarray.dot` method and tests.
* PR 2953: percentile and nanpercentile
* PR 2957: Add new 3.7 opcode support.
* PR 2963: Improve alias analysis to be more comprehensive
* PR 2984: Support for namedtuples in array analysis
* PR 2986: Fix environment propagation
* PR 2990: Improve function call matching for intrinsics
* PR 3002: Second pass at error rewrites (interpreter errors).
* PR 3004: Add numpy.empty to the list of pure functions.
* PR 3008: Augment SVML detection with llvmlite SVML patch detection.
* PR 3012: Make use of the common spelling of heterogeneous/homogeneous.
* PR 3032: Fix pycc ctypes test due to mismatch in calling-convention
* PR 3039: Add SVML detection to Numba environment diagnostic tool.
* PR 3041: This adds needs_blas to tests that use BLAS
* PR 3056: Require llvmlite>=0.24.0
CUDA Enhancements:
* PR 2860: __cuda_array_interface__
* PR 2910: More CUDA intrinsics
* PR 2929: Add Flag To Prevent Unneccessary D->H Copies
* PR 3037: Add CUDA IPC support on non-peer-accessible devices
CI Enhancements:
* PR 3021: Update appveyor config.
* PR 3040: Add fault handler to all builds
* PR 3042: Add catchsegv
* PR 3077: Adds optional number of processes for `-m` in testing
Fixes:
* PR 2897: Fix line position of delete statement in numba ir
* PR 2905: Fix for 2862
* PR 3009: Fix optional type returning in recursive call
* PR 3019: workaround and unittest for issue 3016
* PR 3035: [TESTING] Attempt delayed removal of Env
* PR 3048: [WIP] Fix cuda tests failure on buildfarm
* PR 3054: Make test work on 32-bit
* PR 3062: Fix cuda.In freeing devary before the kernel launch
* PR 3073: Workaround 3072
* PR 3076: Avoid ignored exception due to missing globals at interpreter teardown
Documentation Updates:
* PR 2966: Fix syntax in env var docs.
* PR 2967: Fix typo in CUDA kernel layout example.
* PR 2970: Fix docstring copy paste error.
Contributors:
The following people contributed to this release.
* Anton Malakhov
* Ehsan Totoni (core dev)
* Julia Tatz
* Matthias Bussonnier
* Nick White
* Ray Donnelly
* Siu Kwan Lam (core dev)
* Stan Seibert (core dev)
* Stuart Archibald (core dev)
* Todd A. Anderson (core dev)
* Rik-de-Kort
* rjenc29
```
Links
- PyPI: https://pypi.org/project/numba
- Changelog: https://pyup.io/changelogs/numba/
- Repo: http://numba.github.com
Changelog
### 0.23.3
```
----------------------
This release fixes a build issue with the sdist for Python 3.7 (:issue:`21785`)
There are no other changes.
.. _whatsnew_0180:
```
### 0.23.2
```
----------------------
This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
and bug fixes. We recommend that all users upgrade to this version.
.. note::
Pandas 0.23.2 is first pandas release that's compatible with
Python 3.7 (:issue:`20552`)
.. contents:: What's new in v0.23.2
:local:
:backlinks: none
.. _whatsnew_0232.enhancements:
Logical Reductions over Entire DataFrame
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:meth:`DataFrame.all` and :meth:`DataFrame.any` now accept ``axis=None`` to reduce over all axes to a scalar (:issue:`19976`)
.. ipython:: python
df = pd.DataFrame({"A": [1, 2], "B": [True, False]})
df.all(axis=None)
This also provides compatibility with NumPy 1.15, which now dispatches to ``DataFrame.all``.
With NumPy 1.15 and pandas 0.23.1 or earlier, :func:`numpy.all` will no longer reduce over every axis:
.. code-block:: python
>>> NumPy 1.15, pandas 0.23.1
>>> np.any(pd.DataFrame({"A": [False], "B": [False]}))
A False
B False
dtype: bool
With pandas 0.23.2, that will correctly return False, as it did with NumPy < 1.15.
.. ipython:: python
np.any(pd.DataFrame({"A": [False], "B": [False]}))
.. _whatsnew_0232.fixed_regressions:
Fixed Regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`to_csv` when handling file-like object incorrectly (:issue:`21471`)
- Re-allowed duplicate level names of a ``MultiIndex``. Accessing a level that has a duplicate name by name still raises an error (:issue:`19029`).
- Bug in both :meth:`DataFrame.first_valid_index` and :meth:`Series.first_valid_index` raised for a row index having duplicate values (:issue:`21441`)
- Fixed printing of DataFrames with hierarchical columns with long names (:issue:`21180`)
- Fixed regression in :meth:`~DataFrame.reindex` and :meth:`~DataFrame.groupby`
with a MultiIndex or multiple keys that contains categorical datetime-like values (:issue:`21390`).
- Fixed regression in unary negative operations with object dtype (:issue:`21380`)
- Bug in :meth:`Timestamp.ceil` and :meth:`Timestamp.floor` when timestamp is a multiple of the rounding frequency (:issue:`21262`)
- Fixed regression in :func:`to_clipboard` that defaulted to copying dataframes with space delimited instead of tab delimited (:issue:`21104`)
Build Changes
~~~~~~~~~~~~~
- The source and binary distributions no longer include test data files, resulting in smaller download sizes. Tests relying on these data files will be skipped when using ``pandas.test()``. (:issue:`19320`)
.. _whatsnew_0232.bug_fixes:
Bug Fixes
~~~~~~~~~
**Conversion**
- Bug in constructing :class:`Index` with an iterator or generator (:issue:`21470`)
- Bug in :meth:`Series.nlargest` for signed and unsigned integer dtypes when the minimum value is present (:issue:`21426`)
**Indexing**
- Bug in :meth:`Index.get_indexer_non_unique` with categorical key (:issue:`21448`)
- Bug in comparison operations for :class:`MultiIndex` where error was raised on equality / inequality comparison involving a MultiIndex with ``nlevels == 1`` (:issue:`21149`)
- Bug in :meth:`DataFrame.drop` behaviour is not consistent for unique and non-unique indexes (:issue:`21494`)
- Bug in :func:`DataFrame.duplicated` with a large number of columns causing a 'maximum recursion depth exceeded' (:issue:`21524`).
**I/O**
- Bug in :func:`read_csv` that caused it to incorrectly raise an error when ``nrows=0``, ``low_memory=True``, and ``index_col`` was not ``None`` (:issue:`21141`)
- Bug in :func:`json_normalize` when formatting the ``record_prefix`` with integer columns (:issue:`21536`)
**Categorical**
- Bug in rendering :class:`Series` with ``Categorical`` dtype in rare conditions under Python 2.7 (:issue:`21002`)
**Timezones**
- Bug in :class:`Timestamp` and :class:`DatetimeIndex` where passing a :class:`Timestamp` localized after a DST transition would return a datetime before the DST transition (:issue:`20854`)
- Bug in comparing :class:`DataFrame`s with tz-aware :class:`DatetimeIndex` columns with a DST transition that raised a ``KeyError`` (:issue:`19970`)
**Timedelta**
- Bug in :class:`Timedelta` where non-zero timedeltas shorter than 1 microsecond were considered False (:issue:`21484`)
.. _whatsnew_050:
```
Links
- PyPI: https://pypi.org/project/pandas
- Changelog: https://pyup.io/changelogs/pandas/
- Homepage: http://pandas.pydata.org
Changelog
### 1.2.10
```
:released: July 13, 2018
.. change::
:tags: bug, sql
:tickets: 4300
Fixed bug where a :class:`.Sequence` would be dropped explicitly before any
:class:`.Table` that refers to it, which breaks in the case when the
sequence is also involved in a server-side default for that table, when
using :meth:`.MetaData.drop_all`. The step which processes sequences
to be dropped via non server-side column default functions is now invoked
after the table itself is dropped.
.. change::
:tags: bug, orm
:tickets: 4295
Fixed bug in :class:`.Bundle` construct where placing two columns of the
same name would be de-duplicated, when the :class:`.Bundle` were used as
part of the rendered SQL, such as in the ORDER BY or GROUP BY of the statement.
.. change::
:tags: bug, orm
:tickets: 4298
Fixed regression in 1.2.9 due to :ticket:`4287` where using a
:class:`.Load` option in conjunction with a string wildcard would result
in a TypeError.
.. changelog::
```
Links
- PyPI: https://pypi.org/project/sqlalchemy
- Changelog: https://pyup.io/changelogs/sqlalchemy/
- Homepage: http://www.sqlalchemy.org
Coverage decreased (-0.02%) to 60.084% when pulling 099b16eb6d88cc240f3d0b1fe5f5459d10093e02 on pyup/scheduled-update-2018-07-17 into 4b65639183b674b967d8bbd09e68ac3f88934b9c on develop.
Update numba from 0.38.1 to 0.39.0.
Changelog
### 0.39.0 ``` -------------- Here are the highlights for the Numba 0.39.0 release. * This is the first version that supports Python 3.7. * With help from Intel, we have fixed the issues with SVML support (related issues 2938, 2998, 3006). * List has gained support for containing reference-counted types like NumPy arrays and `list`. Note, list still cannot hold heterogeneous types. * We have made a significant change to the internal calling-convention, which should be transparent to most users, to allow for a future feature that will permitting jumping back into python-mode from a nopython-mode function. This also fixes a limitation to `print` that disabled its use from nopython functions that were deep in the call-stack. * For CUDA GPU support, we added a `__cuda_array_interface__` following the NumPy array interface specification to allow Numba to consume externally defined device arrays. We have opened a corresponding pull request to CuPy to test out the concept and be able to use a CuPy GPU array. * The Numba dispatcher `inspect_types()` method now supports the kwarg `pretty` which if set to `True` will produce ANSI/HTML output, showing the annotated types, when invoked from ipython/jupyter-notebook respectively. * The NumPy functions `ndarray.dot`, `np.percentile` and `np.nanpercentile`, and `np.unique` are now supported. * Numba now supports the use of a per-project configuration file to permanently set behaviours typically set via `NUMBA_*` family environment variables. * Support for the `ppc64le` architecture has been added. Enhancements: * PR 2793: Simplify and remove javascript from html_annotate templates. * PR 2840: Support list of refcounted types * PR 2902: Support for np.unique * PR 2926: Enable fence for all architecture and add developer notes * PR 2928: Making error about untyped list more informative. * PR 2930: Add configuration file and color schemes. * PR 2932: Fix encoding to 'UTF-8' in `check_output` decode. * PR 2938: Python 3.7 compat: _Py_Finalizing becomes _Py_IsFinalizing() * PR 2939: Comprehensive SVML unit test * PR 2946: Add support for `ndarray.dot` method and tests. * PR 2953: percentile and nanpercentile * PR 2957: Add new 3.7 opcode support. * PR 2963: Improve alias analysis to be more comprehensive * PR 2984: Support for namedtuples in array analysis * PR 2986: Fix environment propagation * PR 2990: Improve function call matching for intrinsics * PR 3002: Second pass at error rewrites (interpreter errors). * PR 3004: Add numpy.empty to the list of pure functions. * PR 3008: Augment SVML detection with llvmlite SVML patch detection. * PR 3012: Make use of the common spelling of heterogeneous/homogeneous. * PR 3032: Fix pycc ctypes test due to mismatch in calling-convention * PR 3039: Add SVML detection to Numba environment diagnostic tool. * PR 3041: This adds needs_blas to tests that use BLAS * PR 3056: Require llvmlite>=0.24.0 CUDA Enhancements: * PR 2860: __cuda_array_interface__ * PR 2910: More CUDA intrinsics * PR 2929: Add Flag To Prevent Unneccessary D->H Copies * PR 3037: Add CUDA IPC support on non-peer-accessible devices CI Enhancements: * PR 3021: Update appveyor config. * PR 3040: Add fault handler to all builds * PR 3042: Add catchsegv * PR 3077: Adds optional number of processes for `-m` in testing Fixes: * PR 2897: Fix line position of delete statement in numba ir * PR 2905: Fix for 2862 * PR 3009: Fix optional type returning in recursive call * PR 3019: workaround and unittest for issue 3016 * PR 3035: [TESTING] Attempt delayed removal of Env * PR 3048: [WIP] Fix cuda tests failure on buildfarm * PR 3054: Make test work on 32-bit * PR 3062: Fix cuda.In freeing devary before the kernel launch * PR 3073: Workaround 3072 * PR 3076: Avoid ignored exception due to missing globals at interpreter teardown Documentation Updates: * PR 2966: Fix syntax in env var docs. * PR 2967: Fix typo in CUDA kernel layout example. * PR 2970: Fix docstring copy paste error. Contributors: The following people contributed to this release. * Anton Malakhov * Ehsan Totoni (core dev) * Julia Tatz * Matthias Bussonnier * Nick White * Ray Donnelly * Siu Kwan Lam (core dev) * Stan Seibert (core dev) * Stuart Archibald (core dev) * Todd A. Anderson (core dev) * Rik-de-Kort * rjenc29 ```Links
- PyPI: https://pypi.org/project/numba - Changelog: https://pyup.io/changelogs/numba/ - Repo: http://numba.github.comUpdate pandas from 0.23.1 to 0.23.3.
Changelog
### 0.23.3 ``` ---------------------- This release fixes a build issue with the sdist for Python 3.7 (:issue:`21785`) There are no other changes. .. _whatsnew_0180: ``` ### 0.23.2 ``` ---------------------- This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes and bug fixes. We recommend that all users upgrade to this version. .. note:: Pandas 0.23.2 is first pandas release that's compatible with Python 3.7 (:issue:`20552`) .. contents:: What's new in v0.23.2 :local: :backlinks: none .. _whatsnew_0232.enhancements: Logical Reductions over Entire DataFrame ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :meth:`DataFrame.all` and :meth:`DataFrame.any` now accept ``axis=None`` to reduce over all axes to a scalar (:issue:`19976`) .. ipython:: python df = pd.DataFrame({"A": [1, 2], "B": [True, False]}) df.all(axis=None) This also provides compatibility with NumPy 1.15, which now dispatches to ``DataFrame.all``. With NumPy 1.15 and pandas 0.23.1 or earlier, :func:`numpy.all` will no longer reduce over every axis: .. code-block:: python >>> NumPy 1.15, pandas 0.23.1 >>> np.any(pd.DataFrame({"A": [False], "B": [False]})) A False B False dtype: bool With pandas 0.23.2, that will correctly return False, as it did with NumPy < 1.15. .. ipython:: python np.any(pd.DataFrame({"A": [False], "B": [False]})) .. _whatsnew_0232.fixed_regressions: Fixed Regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`to_csv` when handling file-like object incorrectly (:issue:`21471`) - Re-allowed duplicate level names of a ``MultiIndex``. Accessing a level that has a duplicate name by name still raises an error (:issue:`19029`). - Bug in both :meth:`DataFrame.first_valid_index` and :meth:`Series.first_valid_index` raised for a row index having duplicate values (:issue:`21441`) - Fixed printing of DataFrames with hierarchical columns with long names (:issue:`21180`) - Fixed regression in :meth:`~DataFrame.reindex` and :meth:`~DataFrame.groupby` with a MultiIndex or multiple keys that contains categorical datetime-like values (:issue:`21390`). - Fixed regression in unary negative operations with object dtype (:issue:`21380`) - Bug in :meth:`Timestamp.ceil` and :meth:`Timestamp.floor` when timestamp is a multiple of the rounding frequency (:issue:`21262`) - Fixed regression in :func:`to_clipboard` that defaulted to copying dataframes with space delimited instead of tab delimited (:issue:`21104`) Build Changes ~~~~~~~~~~~~~ - The source and binary distributions no longer include test data files, resulting in smaller download sizes. Tests relying on these data files will be skipped when using ``pandas.test()``. (:issue:`19320`) .. _whatsnew_0232.bug_fixes: Bug Fixes ~~~~~~~~~ **Conversion** - Bug in constructing :class:`Index` with an iterator or generator (:issue:`21470`) - Bug in :meth:`Series.nlargest` for signed and unsigned integer dtypes when the minimum value is present (:issue:`21426`) **Indexing** - Bug in :meth:`Index.get_indexer_non_unique` with categorical key (:issue:`21448`) - Bug in comparison operations for :class:`MultiIndex` where error was raised on equality / inequality comparison involving a MultiIndex with ``nlevels == 1`` (:issue:`21149`) - Bug in :meth:`DataFrame.drop` behaviour is not consistent for unique and non-unique indexes (:issue:`21494`) - Bug in :func:`DataFrame.duplicated` with a large number of columns causing a 'maximum recursion depth exceeded' (:issue:`21524`). **I/O** - Bug in :func:`read_csv` that caused it to incorrectly raise an error when ``nrows=0``, ``low_memory=True``, and ``index_col`` was not ``None`` (:issue:`21141`) - Bug in :func:`json_normalize` when formatting the ``record_prefix`` with integer columns (:issue:`21536`) **Categorical** - Bug in rendering :class:`Series` with ``Categorical`` dtype in rare conditions under Python 2.7 (:issue:`21002`) **Timezones** - Bug in :class:`Timestamp` and :class:`DatetimeIndex` where passing a :class:`Timestamp` localized after a DST transition would return a datetime before the DST transition (:issue:`20854`) - Bug in comparing :class:`DataFrame`s with tz-aware :class:`DatetimeIndex` columns with a DST transition that raised a ``KeyError`` (:issue:`19970`) **Timedelta** - Bug in :class:`Timedelta` where non-zero timedeltas shorter than 1 microsecond were considered False (:issue:`21484`) .. _whatsnew_050: ```Links
- PyPI: https://pypi.org/project/pandas - Changelog: https://pyup.io/changelogs/pandas/ - Homepage: http://pandas.pydata.orgUpdate sqlalchemy from 1.2.9 to 1.2.10.
Changelog
### 1.2.10 ``` :released: July 13, 2018 .. change:: :tags: bug, sql :tickets: 4300 Fixed bug where a :class:`.Sequence` would be dropped explicitly before any :class:`.Table` that refers to it, which breaks in the case when the sequence is also involved in a server-side default for that table, when using :meth:`.MetaData.drop_all`. The step which processes sequences to be dropped via non server-side column default functions is now invoked after the table itself is dropped. .. change:: :tags: bug, orm :tickets: 4295 Fixed bug in :class:`.Bundle` construct where placing two columns of the same name would be de-duplicated, when the :class:`.Bundle` were used as part of the rendered SQL, such as in the ORDER BY or GROUP BY of the statement. .. change:: :tags: bug, orm :tickets: 4298 Fixed regression in 1.2.9 due to :ticket:`4287` where using a :class:`.Load` option in conjunction with a string wildcard would result in a TypeError. .. changelog:: ```Links
- PyPI: https://pypi.org/project/sqlalchemy - Changelog: https://pyup.io/changelogs/sqlalchemy/ - Homepage: http://www.sqlalchemy.orgUpdate PyAstronomy from 0.12.0 to 0.13.0.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pyastronomy - Homepage: http://www.hs.uni-hamburg.de/DE/Ins/Per/Czesla/PyA/PyA/index.htmlUpdate pyyaml from 3.12 to 3.13.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pyyaml - Homepage: http://pyyaml.org/wiki/PyYAMLUpdate hypothesis from 3.65.1 to 3.66.1.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/hypothesis - Repo: https://github.com/HypothesisWorks/hypothesis/issuesUpdate pytest from 3.6.2 to 3.6.3.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pytest - Changelog: https://pyup.io/changelogs/pytest/ - Repo: https://github.com/pytest-dev/pytest/issues - Homepage: http://pytest.org