jason-neal / companion_simulations

Simulating combined host+companion spectra, and fitting to observed crires spectra.
MIT License
2 stars 0 forks source link

Scheduled monthly dependency update for November #112

Open pyup-bot opened 2 years ago

pyup-bot commented 2 years ago

Update astropy from 5.0.4 to 5.1.1.

Changelog ### 5.1 ``` ======================== New Features ------------ astropy.coordinates ^^^^^^^^^^^^^^^^^^^ - The ephemeris used in ``astropy.coordinates`` can now be set to any version of the JPL ephemeris available from https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/. [#12541] - ``Angle.to_string()`` now accepts the ``'latex_inline'`` unit format. [13056] astropy.cosmology ^^^^^^^^^^^^^^^^^ - Cosmology instance can be parsed from or converted to a YAML string using the new "yaml" format in Cosmology's ``to/from_format`` I/O. [12279] - Register "astropy.row" into Cosmology's to/from format I/O, allowing a Cosmology instance to be parse from or converted to an Astropy Table Row. [12313] - A method ``clone`` has been added to ``Parameter`` to quickly deep copy the object and change any constructor argument. A supporting equality method is added, and ``repr`` is enhanced to be able to roundtrip -- ``eval(repr(Parameter()))`` -- if the Parameter's arguments can similarly roundtrip. Parameter's arguments are made keyword-only. [12479] - Add methods ``Otot`` and ``Otot0`` to FLRW cosmologies to calculate the total energy density of the Universe. [12590] - Add property ``is_flat`` to cosmologies to calculate the curvature of the Universe. ``Cosmology`` is now an abstract class and subclasses must override the abstract property ``is_flat``. [12606] - For converting a cosmology to a mapping, two new boolean keyword arguments are added: ``cosmology_as_str`` for turning the class reference to a string, instead of the class object itself, and ``move_from_meta`` to merge the metadata with the rest of the returned mapping instead of adding it as a nested dictionary. [12710] - Register format "astropy.cosmology" with Cosmology I/O. [12736] - Cosmological equivalency (``Cosmology.is_equivalent``) can now be extended to any Python object that can be converted to a Cosmology, using the new keyword argument ``format``. This allows e.g. a properly formatted Table to be equivalent to a Cosmology. [12740] - The new module ``cosmology/tests/helper.py`` has been added to provide tools for testing the cosmology module and related extensions. [12966] - A new property ``nonflat`` has been added to flat cosmologies (``FlatCosmologyMixin`` subclasses) to get an equivalent cosmology, but of the corresponding non-flat class. [13076] - ``clone`` has been enhanced to allow for flat cosmologies to clone on the equivalent non-flat cosmology. [13099] - ``cosmology`` file I/O uses the Unified Table I/O interface, which has added support for reading and writing file paths of the form ``~/file.ecsv`` or ``~<username>/file.ecsv``, referring to the home directory of the current user or the specified user, respectively. [13129] astropy.io.ascii ^^^^^^^^^^^^^^^^ - Simplify the way that the ``converters`` argument of ``io.ascii.read`` is provided. Previously this required wrapping each data type as the tuple returned by the ``io.ascii.convert_numpy()`` function and ensuring that the value is a ``list``. With this update you can write ``converters={'col1': bool}`` to force conversion as a ``bool`` instead of the previous syntax ``converters={'col1': [io.ascii.convert_numpy(bool)]}``. Note that this update is back-compatible with the old behavior. [13073] - Added support in ``io.ascii`` for reading and writing file paths of the form ``~/file.csv`` or ``~<username>/file.csv``, referring to the home directory of the current user or the specified user, respectively. [13130] astropy.io.fits ^^^^^^^^^^^^^^^ - Add option ``unit_parse_strict`` to ``astropy.io.fits.connect.read_table_fits`` to enable warnings or errors about invalid FITS units when using ``astropy.table.Table.read``. The default for this new option is ``"warn"``, which means warnings are now raised for columns with invalid units. [11843] - Changes default FITS behavior to use buffered I/O rather than unbuffered I/O for performance reasons. [12081] - ``astropy.io.fits.Header`` now has a method to calculate the size (in bytes) of the data portion (with or without padding) following that header. [12110] astropy.io.misc ^^^^^^^^^^^^^^^ - Allow serialization of model unit equivalencies. [10198] - Built-in Cosmology subclasses can now be converted to/from YAML with the functions ``dump`` and ``load`` in ``astropy.io.misc.yaml``. [12279] - Add asdf support for ``Cosine1D``, ``Tangent1D``, ``ArcSine1D``, ``ArcCosine1D``, and ``ArcTangent1D`` models. [12895] - Add asdf support for ``Spline1D`` models. [12897] astropy.io.registry ^^^^^^^^^^^^^^^^^^^ - Added support to the Unified Table I/O interface for reading and writing file paths of the form ``~/file.csv`` or ``~<username>/file.csv``, referring to the home directory of the current user or the specified user, respectively. [13129] astropy.modeling ^^^^^^^^^^^^^^^^ - Add new fitters based on ``scipy.optimize.least_squares`` method of non-linear least-squares optimization: [12051] - ``TRFLSQFitter`` using the Trust Region Reflective algorithm. - ``LMLSQFitter`` using the Levenberg-Marquardt algorithm (implemented by ``scipy.optimize.least_squares``). - ``DogBoxLSQFitter`` using the dogleg algorithm. - Enable direct use of the ``ignored`` feature of ``ModelBoundingBox`` by users in addition to its use as part of enabling ``CompoundBoundingBox``. [12384] - Switch ``modeling.projections`` to use ``astropy.wcs.Prjprm`` wrapper internally and provide access to the ``astropy.wcs.Prjprm`` structure. [12558] - Add error to non-finite inputs to the ``LevMarLSQFitter``, to protect against soft scipy failure. [12811] - Allow the ``Ellipse2D`` and ``Sersic2D`` theta parameter to be input as an angular quantity. [13030] - Added ``Schechter1D`` model. [13116] astropy.nddata ^^^^^^^^^^^^^^ - Add support for converting between uncertainty types. This uncertainty conversion system uses a similar flow to the coordinate subsystem, where Cartesian is used as the common system. In this case, variance is used as the common system. [12057] - The ``as_image_hdu`` option is now available for ``CCDData.to_hdu`` and ``CCDData.write``. This option allows the user to get an ``ImageHDU`` as the first item of the returned ``HDUList``, instead of the default ``PrimaryHDU``. [12962] - File I/O through ``nddata.CCDData`` uses the Unified I/O interface, which has added support for reading and writing file paths of the form ``~/file.csv`` or ``~<username>/file.csv``, referring to the home directory of the current user or the specified user, respectively. [13129] astropy.table ^^^^^^^^^^^^^ - A new keyword-only argument ``kind`` was added to the ``Table.sort`` method to specify the sort algorithm. [12637] - Columns which are ``numpy`` structured arrays are now fully supported, effectively allowing tables within tables. This applies to ``Column``, ``MaskedColumn``, and ``Quantity`` columns. These structured data columns can be stored in ECSV, FITS, and HDF5 formats. [12644] - Improve the performance of ``np.searchsorted`` by a factor of 1000 for a bytes-type ``Column`` when the search value is ``str`` or an array of ``str``. This happens commonly for string data stored in FITS or HDF5 format files. [12680] - Add support for using mixin columns in group aggregation operations when the mixin supports the specified operation (e.g. ``np.sum`` works for ``Quantity`` but not ``Time``). In cases where the operation is not supported the code now issues a warning and drops the column instead of raising an exception. [12825] - Added support to the Unified Table I/O interface for reading and writing file paths of the form ``~/file.csv`` or ``~<username>/file.csv``, referring to the home directory of the current user or the specified user, respectively. [13129] astropy.time ^^^^^^^^^^^^ - Add support for calling ``numpy.linspace()`` with two ``Time`` instances to generate a or multiple linearly spaced set(s) of times. [13132] astropy.units ^^^^^^^^^^^^^ - ``structured_to_unstructured`` and ``unstructured_to_structured`` in ``numpy.lib.recfunctions`` now work with Quantity. [12486] - Implement multiplication and division of LogQuantities and numbers [12566] - New ``doppler_redshift`` equivalency to convert between Doppler redshift and radial velocity. [12709] - Added the ``where`` keyword argument to the ``mean()``,``var()``, ``std()`` and ``nansum()`` methods of ``astropy.units.Quantity``. Also added the ``intial`` keyword argument to ``astropy.units.Quantity.nansum()``. [12891] - Added "Maxwell" as a unit for magnetic flux to the CGS module. [12975] - ``Quantity.to_string()`` and ``FunctionUnitBase.to_string()`` now accept the ``'latex_inline'`` unit format. The output of ``StructuredUnit.to_string()`` when called with ``format='latex_inline'`` is now more consistent with the output when called with ``format='latex'``. [13056] astropy.utils ^^^^^^^^^^^^^ - Added the ``where`` keyword argument to the ``mean()``, ``var()``, ``std()``, ``any()``, and ``all()`` methods of ``astropy.utils.masked.MaskedNDArray``. [12891] - Improve handling of unavailable IERS-A (predictive future Earth rotation) data in two ways. First, allow conversions with degraded accuracy if the IERS-A data are missing or do not cover the required time span. This is done with a new config item ``conf.iers_degraded_accuracy`` which specifies the behavior when times are outside the range of IERS table. The options are 'error' (raise an ``IERSRangeError``, default), 'warn' (issue a ``IERSDegradedAccuracyWarning``) or 'ignore' (ignore the problem). Second, the logic for auto-downloads was changed to guarantee that no matter what happens with the IERS download operations, only warnings will be issued. [13052] astropy.wcs ^^^^^^^^^^^ - ``astropy.wcs.Celprm`` and ``astropy.wcs.Prjprm`` have been added to allow access to lower level WCSLIB functionality and to allow direct access to the ``cel`` and ``prj`` members of ``Wcsprm``. [12514] - Add ``temporal`` properties for convenient access of/selection of/testing for the ``TIME`` axis introduced in WCSLIB version 7.8. [13094] API Changes ----------- astropy.coordinates ^^^^^^^^^^^^^^^^^^^ - The ``dms_to_degrees`` and ``hms_to_hours`` functions (and implicitly tuple-based initialization of ``Angle``) is now deprecated, as it was difficult to be sure about the intent of the user for signed values of the degrees/hours, minutes, and seconds. [13162] astropy.cosmology ^^^^^^^^^^^^^^^^^ - The already deprecated ``Planck18_arXiv_v2`` has been removed. Use ``Planck18`` instead [12354] - ``default_cosmology.get_cosmology_from_string`` is deprecated and will be removed in two minor versions. Use ``getattr(astropy.cosmology, <str>)`` instead. [12375] - In I/O, conversions of Parameters move more relevant information from the Parameter to the Column. The default Parameter ``format_spec`` is changed from ``".3g"`` to ``""``. [12612] - Units of redshift are added to ``z_reion`` in built-in realizations' metadata. [12624] - Cosmology realizations (e.g. ``Planck18``) and parameter dictionaries are now lazily loaded from source files. [12746] - The Cosmology Parameter argument "fmt" for specifying a format spec has been deprecated in favor of using the built-in string representation from the Parameter's value's dtype. [13072] astropy.io.ascii ^^^^^^^^^^^^^^^^ - When reading an ECSV file, changed the type checking to issue an ``InvalidEcsvDatatypeWarning`` instead of raising a ``ValueError`` exception if the ``datatype`` of a column is not recognized in the ECSV standard. This also applies to older versions of ECSV files which used to silently proceed but now warn first. [12841] astropy.io.fits ^^^^^^^^^^^^^^^ - Removed deprecated ``clobber`` argument from functions in ``astropy.io.fits``. [12258] - Add ``-s/--sort`` argument to ``fitsheader`` to sort the fitsort-mode output. [13106] astropy.io.misc ^^^^^^^^^^^^^^^ - Deprecate asdf in astropy core in favor of the asdf-astropy package. [12903, 12930] astropy.modeling ^^^^^^^^^^^^^^^^ - Made ``astropy.modeling.fitting._fitter_to_model_params`` and ``astropy.modeling.fitting._model_to_fit_params`` public methods. [12585] astropy.table ^^^^^^^^^^^^^ - Change the repr of the Table object to replace embedded newlines and tabs with ``r'\n'`` and ``r'\t'`` respectively. This improves the display of such tables. [12631] - A new keyword-only argument ``kind`` was added to the ``Table.sort`` method to specify the sort algorithm. The signature of ``Table.sort`` was modified so that the ``reverse`` argument is now keyword-only. Previously ``reverse`` could be specified as the second positional argument. [12637] - Changed behavior when a structured ``numpy.ndarray`` is added as a column to a ``Table``. Previously this was converted to a ``NdarrayMixin`` subclass of ``ndarray`` and added as a mixin column. This was because saving as a file (e.g. HDF5, FITS, ECSV) was not supported for structured array columns. Now a structured ``numpy.ndarray`` is added to the table as a native ``Column`` and saving to file is supported. [13236] astropy.tests ^^^^^^^^^^^^^ - Backward-compatible import of ``astropy.tests.disable_internet`` has been removed; use ``pytest_remotedata.disable_internet`` from ``pytest-remotedata`` instead. [12633] - Backward-compatible import of ``astropy.tests.helper.remote_data`` has been removed; use ``pytest.mark.remote_data`` from ``pytest-remotedata`` instead. [12633] - The following are deprecated and will be removed in a future release. Use ``pytest`` warning and exception handling instead: [12633] * ``astropy.io.ascii.tests.common.raises`` * ``astropy.tests.helper.catch_warnings`` * ``astropy.tests.helper.ignore_warnings`` * ``astropy.tests.helper.raises`` * ``astropy.tests.helper.enable_deprecations_as_exceptions`` * ``astropy.tests.helper.treat_deprecations_as_exceptions`` - Backward-compatible plugin ``astropy.tests.plugins.display`` has been removed; use ``pytest-astropy-header`` instead. [12633] astropy.time ^^^^^^^^^^^^ - Creating an `~astropy.time.TimeDelta` object with numerical inputs that do not have a unit and without specifying an explicit format, for example ``TimeDelta(5)``, now results in a `~astropy.time.TimeDeltaMissingUnitWarning`. This also affects statements like ``Time("2020-01-01") + 5`` or ``Time("2020-01-05") - Time("2020-01-03") < 5``, which implicitly transform the right-hand side into an `~astropy.time.TimeDelta` instance. [12888] Bug Fixes --------- astropy.coordinates ^^^^^^^^^^^^^^^^^^^ - The machinery that makes observatory locations available as ``EarthLocation`` objects is now smarter about processing observatory names from its data files. More names are available for use and the empty string is no longer considered to be a valid name. [12721] astropy.io.ascii ^^^^^^^^^^^^^^^^ - Fixed ``io.ascii`` read and write functions for most formats to correctly handle data fields with embedded newlines for both the fast and pure-Python readers and writers. [12631] - Fix an issue when writing ``Time`` table columns to a file when the time ``format`` is one of ``datetime``, ``datetime64``, or ``ymdhms``. Previously, writing a ``Time`` column with one of these formats could result in an exception or else an incorrect output file that cannot be read back in. [12842] astropy.io.fits ^^^^^^^^^^^^^^^ - Add a ``mask_invalid`` option to ``Table.read`` to allow deactivating the masking of NaNs in float columns and empty strings in string columns. This option is necessary to allow effective use of memory-mapped reading with ``memmap=True``. [12544] - Fix ``CompImageHeader.clear()``. [13102] astropy.modeling ^^^^^^^^^^^^^^^^ - Bugfix for ``ignore`` functionality failing in ``ModelBoundingBox`` when using ``ignore`` option alongside passing bounding box data as tuples. [13032] astropy.table ^^^^^^^^^^^^^ - Fixed a bug in ``Table.show_in_browser`` using the ``jsviewer=True`` option to display the table with sortable columns. Previously the sort direction arrows were not being shown due to missing image files for the arrows. [12716] - Fix an issue when writing ``Time`` table columns to a file when the time ``format`` is one of ``datetime``, ``datetime64``, or ``ymdhms``. Previously, writing a ``Time`` column with one of these formats could result in an exception or else an incorrect output file that cannot be read back in. [12842] - Fixed a bug where it is not possible to set the ``.info.format`` property of a table structured column and get formatted output. [13233] - Fixed a bug when adding a masked structured array to a table. Previously this was auto-converted to a ``NdarrayMixin`` which loses the mask. With this fix the data are added to the table as a ``MaskedColumn`` and the mask is preserved. [13236] astropy.time ^^^^^^^^^^^^ - Fix an issue when writing ``Time`` table columns to a file when the time ``format`` is one of ``datetime``, ``datetime64``, or ``ymdhms``. Previously, writing a ``Time`` column with one of these formats could result in an exception or else an incorrect output file that cannot be read back in. [12842] astropy.utils ^^^^^^^^^^^^^ - Fixed a bug which caused ``numpy.interp`` to produce incorrect results when ``Masked`` arrays were passed. [12978] - Fixed HAS_YAML not working as intended. [13066] astropy.wcs ^^^^^^^^^^^ - Convert ``NoConvergence`` errors to warnings in ``world_to_pixel_values`` so that callers can work at least with the non converged solution. [11693] - Expose the ability to select TIME axis introduced in WCSLIB version 7.8. [13062] - Do not call ``wcstab`` on ``wcscopy`` and copy ``wtb`` members from the original WCS. [13063] - Updated bundled WCSLIB version to 7.11. This update together with 7.10 includes bug fixes to ``tabini()`` and ``tabcpy()`` as well as several print formatting enhancements. For a full list of changes - see http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES [#13171] - Fixed error that occurred in ``WCS.world_to_pixel`` for ``WCS`` objects with a spectral axis and observer location information when passing a ``SpectralCoord`` that had missing observer or target information. [13228] ```
Links - PyPI: https://pypi.org/project/astropy - Changelog: https://pyup.io/changelogs/astropy/ - Homepage: http://astropy.org

Update matplotlib from 3.5.1 to 3.6.1.

Changelog ### 3.6.1 ``` This is the first bugfix release of the 3.6.x series. This release contains several bug-fixes and adjustments: * A warning is no longer raised when constrained layout explicitly disabled and tight layout is applied * Add missing `get_cmap` method to `ColormapRegistry` * Adding a colorbar on a `ScalarMappable` that is not attached to an `Axes` is now deprecated instead of raising a hard error * Fix `barplot` being empty when first element is NaN * Fix `FigureManager.resize` on GTK4 * Fix `fill_between` compatibility with NumPy 1.24 development version * Fix `hexbin` with empty arrays and log scaling * Fix `resize_event` deprecation warnings when creating figure on macOS * Fix build in mingw * Fix compatibility with PyCharm's interagg backend * Fix crash on empty `Text` in PostScript backend * Fix generic font families in SVG exports * Fix horizontal colorbars with hatches * Fix misplaced mathtext using `eqnarray` * `stackplot` no longer changes the Axes cycler ``` ### 3.5.3 ``` This is the third bugfix release of the 3.5.x series. This release contains several bug-fixes and adjustments: * Fix alignment of over/under symbols * Fix bugs in colorbars: * alpha of extensions * `drawedges=True` with extensions * handling of `panchor=False` * Fix builds on Cygwin and IBM i * Fix contour labels in `SubFigure`s * Fix cursor output: * for `imshow` with all negative values * when using `BoundaryNorm` * Fix interactivity in IPython/Jupyter * Fix NaN handling in `errorbar` * Fix NumPy conversion from AstroPy unit arrays * Fix positional *markerfmt* passed to `stem` * Fix unpickling: * crash loading in a separate process * incorrect DPI when HiDPI screens ``` ### 3.5.2 ``` This is the second bugfix release of the 3.5.x series. This release contains several bug-fixes and adjustments: * Add support for Windows on ARM (source-only; no wheels provided yet) * Add year to concise date formatter when displaying less than 12 months * Disable `QuadMesh` mouse cursor to avoid severe performance regression in `pcolormesh` * Delay backend selection to allow choosing one in more cases * Fix automatic layout bugs in EPS output * Fix autoscaling of `scatter` plots * Fix clearing of subfigures * Fix colorbar exponents, inversion of extensions, and use on inset axes * Fix compatibility with various NumPy-like classes (e.g., Pandas, xarray, etc.) * Fix constrained layout bugs with mixed subgrids * Fix `errorbar` with dashes * Fix errors in conversion to GTK4 and Qt6 * Fix figure options accidentally re-ordering data * Fix keyboard focus of TkAgg backend * Fix manual selection of contour labels * Fix path effects on text with whitespace * Fix `quiver` in subfigures * Fix `RangeSlider.set_val` displaying incorrectly * Fix regressions in collection data limits * Fix `stairs` with no edgecolor * Fix some leaks in Tk backends * Fix tight layout DPI confusion * Fix tool button customizability and some tool manager bugs * Only set Tk HiDPI scaling-on-map for Windows systems * Partially allow TTC font collection files by selecting the first font ```
Links - PyPI: https://pypi.org/project/matplotlib - Changelog: https://pyup.io/changelogs/matplotlib/ - Homepage: https://matplotlib.org

Update joblib from 1.1.0 to 1.2.0.

Changelog ### 1.2.0 ``` ------------- - Fix a security issue where ``eval(pre_dispatch)`` could potentially run arbitrary code. Now only basic numerics are supported. https://github.com/joblib/joblib/pull/1327 - Make sure that joblib works even when multiprocessing is not available, for instance with Pyodide https://github.com/joblib/joblib/pull/1256 - Avoid unnecessary warnings when workers and main process delete the temporary memmap folder contents concurrently. https://github.com/joblib/joblib/pull/1263 - Fix memory alignment bug for pickles containing numpy arrays. This is especially important when loading the pickle with ``mmap_mode != None`` as the resulting ``numpy.memmap`` object would not be able to correct the misalignment without performing a memory copy. This bug would cause invalid computation and segmentation faults with native code that would directly access the underlying data buffer of a numpy array, for instance C/C++/Cython code compiled with older GCC versions or some old OpenBLAS written in platform specific assembly. https://github.com/joblib/joblib/pull/1254 - Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+. - Vendor loky 3.3.0 which fixes several bugs including: - robustly forcibly terminating worker processes in case of a crash (https://github.com/joblib/joblib/pull/1269); - avoiding leaking worker processes in case of nested loky parallel calls; - reliability spawn the correct number of reusable workers. ``` ### 1.1.1 ``` ------------- - Fix a security issue where ``eval(pre_dispatch)`` could potentially run arbitrary code. Now only basic numerics are supported. https://github.com/joblib/joblib/pull/1327 ```
Links - PyPI: https://pypi.org/project/joblib - Changelog: https://pyup.io/changelogs/joblib/ - Docs: https://joblib.readthedocs.io

Update numba from 0.55.1 to 0.56.3.

Changelog ### 0.56.3 ``` --------------------------------- This is a bugfix release to remove the version restriction applied to the ``setuptools`` package and to fix a bug in the CUDA target in relation to copying zero length device arrays to zero length host arrays. Pull-Requests: * PR `8475 <https://github.com/numba/numba/pull/8475>`_: Remove setuptools version pin (`gmarkall <https://github.com/gmarkall>`_) * PR `8482 <https://github.com/numba/numba/pull/8482>`_: Fix #8477: Allow copies with different strides for 0-length data (`gmarkall <https://github.com/gmarkall>`_) * PR `8486 <https://github.com/numba/numba/pull/8486>`_: Restrict the TBB development package to supported version in Azure. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8503 <https://github.com/numba/numba/pull/8503>`_: Update version support table for 0.56.3 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8504 <https://github.com/numba/numba/pull/8504>`_: Update CHANGE_LOG for 0.56.3 (`stuartarchibald <https://github.com/stuartarchibald>`_) Authors: * `gmarkall <https://github.com/gmarkall>`_ * `stuartarchibald <https://github.com/stuartarchibald>`_ ``` ### 0.56.2 ``` ---------------------------------- This is a bugfix release that supports NumPy 1.23 and fixes CUDA function caching. Pull-Requests: * PR `8239 <https://github.com/numba/numba/pull/8239>`_: Add decorator to run a test in a subprocess (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8276 <https://github.com/numba/numba/pull/8276>`_: Move Azure to use macos-11 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8310 <https://github.com/numba/numba/pull/8310>`_: CUDA: Fix Issue #8309 - atomics don't work on complex components (`Graham Markall <https://github.com/gmarkall>`_) * PR `8342 <https://github.com/numba/numba/pull/8342>`_: Upgrade to ubuntu-20.04 for azure pipeline CI (`jamesobutler <https://github.com/jamesobutler>`_) * PR `8356 <https://github.com/numba/numba/pull/8356>`_: Update setup.py, buildscripts, CI and docs to require setuptools<60 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8374 <https://github.com/numba/numba/pull/8374>`_: Don't pickle LLVM IR for CUDA code libraries (`Graham Markall <https://github.com/gmarkall>`_) * PR `8377 <https://github.com/numba/numba/pull/8377>`_: Add support for NumPy 1.23 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8384 <https://github.com/numba/numba/pull/8384>`_: Move strace() check into tests that actually need it (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8386 <https://github.com/numba/numba/pull/8386>`_: Fix the docs for numba.get_thread_id (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8407 <https://github.com/numba/numba/pull/8407>`_: Pin NumPy version to 1.18-1.24 (`Andre Masella <https://github.com/apmasell>`_) * PR `8411 <https://github.com/numba/numba/pull/8411>`_: update version support table for 0.56.1 (`esc <https://github.com/esc>`_) * PR `8412 <https://github.com/numba/numba/pull/8412>`_: Create changelog for 0.56.1 (`Andre Masella <https://github.com/apmasell>`_) * PR `8413 <https://github.com/numba/numba/pull/8413>`_: Fix Azure CI for NumPy 1.23 and use conda-forge scipy (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8414 <https://github.com/numba/numba/pull/8413>`_: Hotfix for 0.56.2 (`Siu Kwan Lam <https://github.com/sklam>`_) Authors: * `Andre Masella <https://github.com/apmasell>`_ * `esc <https://github.com/esc>`_ * `Graham Markall <https://github.com/gmarkall>`_ * `jamesobutler <https://github.com/jamesobutler>`_ * `Siu Kwan Lam <https://github.com/sklam>`_ * `stuartarchibald <https://github.com/stuartarchibald>`_ ``` ### 0.56.1 ``` --------------------------- The release was skipped due to issues during the release process. ``` ### 0.56.0 ``` ------------------------------ This release continues to add new features, bug fixes and stability improvements to Numba. Please note that this will be the last release that has support for Python 3.7 as the next release series (Numba 0.57) will support Python 3.11! Also note that, this will be the last release to support linux-32 packages produced by the Numba team. Python language support enhancements: * Previously missing support for large, in-line dictionaries and internal calls to functions with large numbers of keyword arguments in Python 3.10 has been added. * ``operator.mul`` now works for ``list`` s. * Literal slices, e.g. ``slice(1, 10, 2)`` can be returned from ``nopython`` mode functions. * The ``len`` function now works on ``dict_keys``, ``dict_values`` and ``dict_items`` . * Numba's ``set`` implementation now supports reference counted items e.g. strings. Numba specific feature enhancements: * The experimental ``jitclass`` feature gains support for a large number of ``builtin`` methods e.g. declaring ``__hash__`` or ``__getitem__`` for a ``jitclass`` type. * It's now possible to use ``vectorize`` on an already ``jit`` family decorated function. * Name mangling has been updated to emit compiled function names that exactly match the function name in Python. This means debuggers, like GDB, can be set to break directly on Python function names. * A GDB "pretty printing" support module has been added, when loaded into GDB Numba's internal representations of Python/NumPy types are rendered inside GDB as they would be in Python. * An experimental option is added to the ``jit`` family decorators to entirely turn off LLVM's optimisation passes for a given function (see ``_dbg_optnone`` kwarg in the ``jit`` decorator family). * A new environment variable is added ``NUMBA_EXTEND_VARIABLE_LIFETIMES``, which if set will extend the lifetime of variables to the end of their basic block, this to permit a debugging experience in GDB similar to that found in compiled C/C++/Fortran code. NumPy features/enhancements: * Initial support for passing, using and returning ``numpy.random.Generator`` instances has been added, this currently includes support for the ``random`` distribution. * The broadcasting functions ``np.broadcast_shapes`` and ``np.broadcast_arrays`` are now supported. * The ``min`` and ``max`` functions now work with ``np.timedelta64`` and ``np.datetime64`` types. * Sorting multi-dimensional arrays along the last axis is now supported in ``np.sort()``. * The ``np.clip`` function is updated to accept NumPy arrays for the ``a_min`` and ``a_max`` arguments. * The NumPy allocation routines (``np.empty`` , ``np.ones`` etc.) support shape arguments specified using members of ``enum.IntEnum`` s. * The function ``np.random.noncentral_chisquare`` is now supported. * The performance of functions ``np.full`` and ``np.ones`` has been improved. Parallel Accelerator enhancements: * The ``parallel=True`` functionality is enhanced through the addition of the functions ``numba.set_parallel_chunksize`` and ``numba.get_parallel_chunksize`` to permit a more fine grained scheduling of work defined in a parallel region. There is also support for adjusting the ``chunksize`` via a context manager. * The ``ID`` of a thread is now defined to be predictable and within a known range, it is available through calling the function ``numba.get_thread_id``. * The performance of ``stencil`` s has been improved in both serial and parallel execution. CUDA enhancements: * New functionality: * Self-recursive device functions. * Vector type support (``float4``, ``int2``, etc.). * Shared / local arrays of extension types can now be created. * Support for linking CUDA C / C++ device functions into Python kernels. * PTX generation for Compute Capabilities 8.6 and 8.7 - e.g. RTX A series, GTX 3000 series. * Comparison operations for ``float16`` types. * Performance improvements: * Context queries are no longer made during launch configuration. * Launch configurations are now LRU cached. * On-disk caching of CUDA kernels is now supported. * Documentation: many new examples added. Docs: * Numba now has an official "mission statement". * There's now a "version support table" in the documentation to act as an easy to use, single reference point, for looking up information about Numba releases and their required/supported dependencies. General Enhancements: * Numba imports more quickly in environments with large numbers of packages as it now uses ``importlib-metadata`` for querying other packages. * Emission of chrome tracing output is now supported for the internal compilation event handling system. * This release is tested and known to work when using the `Pyston <https://www.pyston.org/>`_ Python interpreter. Pull-Requests: * PR `5209 <https://github.com/numba/numba/pull/5209>`_: Use importlib to load numba extensions (`Stepan Rakitin <https://github.com/svrakitin>`_ `Graham Markall <https://github.com/gmarkall>`_ `stuartarchibald <https://github.com/stuartarchibald>`_) * PR `5877 <https://github.com/numba/numba/pull/5877>`_: Jitclass builtin methods (`Ethan Pronovost <https://github.com/EPronovost>`_ `Graham Markall <https://github.com/gmarkall>`_) * PR `6490 <https://github.com/numba/numba/pull/6490>`_: Stencil output allocated with np.empty now and new code to initialize the borders. (`Todd A. Anderson <https://github.com/DrTodd13>`_) * PR `7005 <https://github.com/numba/numba/pull/7005>`_: Make `numpy.searchsorted` match NumPy when first argument is unsorted (`Brandon T. Willard <https://github.com/brandonwillard>`_) * PR `7363 <https://github.com/numba/numba/pull/7363>`_: Update cuda.local.array to clarify "simple constant expression" (e.g. no NumPy ints) (`Sterling Baird <https://github.com/sgbaird>`_) * PR `7364 <https://github.com/numba/numba/pull/7364>`_: Removes an instance of signed integer overflow undefined behaviour. (`Tobias Sargeant <https://github.com/folded>`_) * PR `7537 <https://github.com/numba/numba/pull/7537>`_: Add chrome tracing (`Hadia Ahmed <https://github.com/hadia206>`_ `Siu Kwan Lam <https://github.com/sklam>`_) * PR `7556 <https://github.com/numba/numba/pull/7556>`_: Testhound/fp16 comparison (`Michael Collison <https://github.com/testhound>`_ `Graham Markall <https://github.com/gmarkall>`_) * PR `7586 <https://github.com/numba/numba/pull/7586>`_: Support for len on dict.keys, dict.values, and dict.items (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `7617 <https://github.com/numba/numba/pull/7617>`_: Numba gdb-python extension for printing (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7619 <https://github.com/numba/numba/pull/7619>`_: CUDA: Fix linking with PTX when compiling lazily (`Graham Markall <https://github.com/gmarkall>`_) * PR `7621 <https://github.com/numba/numba/pull/7621>`_: Add support for linking CUDA C / C++ with `cuda.jit` kernels (`Graham Markall <https://github.com/gmarkall>`_) * PR `7625 <https://github.com/numba/numba/pull/7625>`_: Combined parfor chunking and caching PRs. (`stuartarchibald <https://github.com/stuartarchibald>`_ `Todd A. Anderson <https://github.com/DrTodd13>`_ `Siu Kwan Lam <https://github.com/sklam>`_) * PR `7651 <https://github.com/numba/numba/pull/7651>`_: DOC: pypi and conda-forge badges (`Ray Bell <https://github.com/raybellwaves>`_) * PR `7660 <https://github.com/numba/numba/pull/7660>`_: Add support for np.broadcast_arrays (`Guilherme Leobas <https://github.com/guilhermeleobas>`_) * PR `7664 <https://github.com/numba/numba/pull/7664>`_: Flatten mangling dicts into a single dict (`Graham Markall <https://github.com/gmarkall>`_) * PR `7680 <https://github.com/numba/numba/pull/7680>`_: CUDA Docs: include example calling slow matmul (`Graham Markall <https://github.com/gmarkall>`_) * PR `7682 <https://github.com/numba/numba/pull/7682>`_: performance improvements to np.full and np.ones (`Rishi Kulkarni <https://github.com/rishi-kulkarni>`_) * PR `7684 <https://github.com/numba/numba/pull/7684>`_: DOC: remove incorrect warning in np.random reference (`Rishi Kulkarni <https://github.com/rishi-kulkarni>`_) * PR `7685 <https://github.com/numba/numba/pull/7685>`_: Don't convert setitems that have dimension mismatches to parfors. (`Todd A. Anderson <https://github.com/DrTodd13>`_) * PR `7690 <https://github.com/numba/numba/pull/7690>`_: Implemented np.random.noncentral_chisquare for all size arguments (`Rishi Kulkarni <https://github.com/rishi-kulkarni>`_) * PR `7695 <https://github.com/numba/numba/pull/7695>`_: `IntEnumMember` support for `np.empty`, `np.zeros`, and `np.ones` (`Benjamin Graham <https://github.com/benwilliamgraham>`_) * PR `7699 <https://github.com/numba/numba/pull/7699>`_: CUDA: Provide helpful error if the return type is missing for `declare_device` (`Graham Markall <https://github.com/gmarkall>`_) * PR `7700 <https://github.com/numba/numba/pull/7700>`_: Support for scalar arguments in Np.ascontiguousarray (`Dhruv Patel <https://github.com/DhruvPatel01>`_) * PR `7703 <https://github.com/numba/numba/pull/7703>`_: Ignore unsupported types in `ShapeEquivSet._getnames()` (`Benjamin Graham <https://github.com/benwilliamgraham>`_) * PR `7704 <https://github.com/numba/numba/pull/7704>`_: Move the type annotation pass to post legalization. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7709 <https://github.com/numba/numba/pull/7709>`_: CUDA: Fixes missing type annotation pass following #7704 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7712 <https://github.com/numba/numba/pull/7712>`_: Fixing issue 7693 (`stuartarchibald <https://github.com/stuartarchibald>`_ `Graham Markall <https://github.com/gmarkall>`_ `luk-f-a <https://github.com/luk-f-a>`_) * PR `7714 <https://github.com/numba/numba/pull/7714>`_: Support for boxing SliceLiteral type (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `7718 <https://github.com/numba/numba/pull/7718>`_: Bump llvmlite dependency to 0.39.0dev0 for Numba 0.56.0dev0 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7724 <https://github.com/numba/numba/pull/7724>`_: Update URLs in error messages to refer to RTD docs. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7728 <https://github.com/numba/numba/pull/7728>`_: Document that AOT-compiled functions do not check arg types (`Graham Markall <https://github.com/gmarkall>`_) * PR `7729 <https://github.com/numba/numba/pull/7729>`_: Handle Omitted/OmittedArgDataModel in DI generation. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7732 <https://github.com/numba/numba/pull/7732>`_: update release checklist following 0.55.0 RC1 (`esc <https://github.com/esc>`_) * PR `7736 <https://github.com/numba/numba/pull/7736>`_: Update CHANGE_LOG for 0.55.0 final. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7740 <https://github.com/numba/numba/pull/7740>`_: CUDA Python 11.6 support (`Graham Markall <https://github.com/gmarkall>`_) * PR `7744 <https://github.com/numba/numba/pull/7744>`_: Fix issues with locating/parsing source during DebugInfo emission. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7745 <https://github.com/numba/numba/pull/7745>`_: Fix the release year for Numba 0.55 change log entry. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7748 <https://github.com/numba/numba/pull/7748>`_: Fix #7713: Ensure _prng_random_hash return has correct bitwidth (`Graham Markall <https://github.com/gmarkall>`_) * PR `7749 <https://github.com/numba/numba/pull/7749>`_: Refactor threading layer priority tests to not use stdout/stderr (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7752 <https://github.com/numba/numba/pull/7752>`_: Fix #7751: Use original filename for array exprs (`Graham Markall <https://github.com/gmarkall>`_) * PR `7755 <https://github.com/numba/numba/pull/7755>`_: CUDA: Deprecate support for CC < 5.3 and CTK < 10.2 (`Graham Markall <https://github.com/gmarkall>`_) * PR `7763 <https://github.com/numba/numba/pull/7763>`_: Update Read the Docs configuration (automatic) (`readthedocs-assistant <https://github.com/readthedocs-assistant>`_) * PR `7764 <https://github.com/numba/numba/pull/7764>`_: Add dbg_optnone and dbg_extend_lifetimes flags (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `7771 <https://github.com/numba/numba/pull/7771>`_: Move function unique ID to abi-tags (`stuartarchibald <https://github.com/stuartarchibald>`_ `Siu Kwan Lam <https://github.com/sklam>`_) * PR `7772 <https://github.com/numba/numba/pull/7772>`_: CUDA: Add Support to Creating `StructModel` Array (`Michael Wang <https://github.com/isVoid>`_) * PR `7776 <https://github.com/numba/numba/pull/7776>`_: Updates coverage.py config (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7777 <https://github.com/numba/numba/pull/7777>`_: Remove reference existing issue from GH template. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7778 <https://github.com/numba/numba/pull/7778>`_: Remove long deprecated flags from the CLI. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7780 <https://github.com/numba/numba/pull/7780>`_: Fix sets with reference counted items (`Benjamin Graham <https://github.com/benwilliamgraham>`_) * PR `7782 <https://github.com/numba/numba/pull/7782>`_: adding reminder to check on deprecations (`esc <https://github.com/esc>`_) * PR `7783 <https://github.com/numba/numba/pull/7783>`_: remove upper limit on Python version (`esc <https://github.com/esc>`_) * PR `7786 <https://github.com/numba/numba/pull/7786>`_: Remove dependency on intel-openmp for OSX (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7788 <https://github.com/numba/numba/pull/7788>`_: Avoid issue with DI gen for arrayexprs. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7796 <https://github.com/numba/numba/pull/7796>`_: update change-log for 0.55.1 (`esc <https://github.com/esc>`_) * PR `7797 <https://github.com/numba/numba/pull/7797>`_: prune README (`esc <https://github.com/esc>`_) * PR `7799 <https://github.com/numba/numba/pull/7799>`_: update the release checklist post 0.55.1 (`esc <https://github.com/esc>`_) * PR `7801 <https://github.com/numba/numba/pull/7801>`_: add sdist command and umask reminder (`esc <https://github.com/esc>`_) * PR `7804 <https://github.com/numba/numba/pull/7804>`_: update local references from master -> main (`esc <https://github.com/esc>`_) * PR `7805 <https://github.com/numba/numba/pull/7805>`_: Enhance source line finding logic for debuginfo (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `7809 <https://github.com/numba/numba/pull/7809>`_: Updates the gdb configuration to accept a binary name or a path. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7813 <https://github.com/numba/numba/pull/7813>`_: Extend parfors test timeout for aarch64. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7814 <https://github.com/numba/numba/pull/7814>`_: CUDA Dispatcher refactor (`Graham Markall <https://github.com/gmarkall>`_) * PR `7815 <https://github.com/numba/numba/pull/7815>`_: CUDA Dispatcher refactor 2: inherit from `dispatcher.Dispatcher` (`Graham Markall <https://github.com/gmarkall>`_) * PR `7817 <https://github.com/numba/numba/pull/7817>`_: Update intersphinx URLs for NumPy and llvmlite. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7823 <https://github.com/numba/numba/pull/7823>`_: Add renamed vars to callee scope such that it is self consistent. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7829 <https://github.com/numba/numba/pull/7829>`_: CUDA: Support `Enum/IntEnum` in Kernel (`Michael Wang <https://github.com/isVoid>`_) * PR `7833 <https://github.com/numba/numba/pull/7833>`_: Add version support information table to docs. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7835 <https://github.com/numba/numba/pull/7835>`_: Fix pickling error when module cannot be imported (`idorrington <https://github.com/idorrington>`_) * PR `7836 <https://github.com/numba/numba/pull/7836>`_: min() and max() support for np.datetime and np.timedelta (`Benjamin Graham <https://github.com/benwilliamgraham>`_) * PR `7837 <https://github.com/numba/numba/pull/7837>`_: Initial refactoring of parfor reduction lowering (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `7845 <https://github.com/numba/numba/pull/7845>`_: change time.time() to time.perf_counter() in docs (`Nopileos2 <https://github.com/Nopileos2>`_) * PR `7846 <https://github.com/numba/numba/pull/7846>`_: Fix CUDA enum vectorize test on Windows (`Graham Markall <https://github.com/gmarkall>`_) * PR `7848 <https://github.com/numba/numba/pull/7848>`_: Support for int * list (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `7850 <https://github.com/numba/numba/pull/7850>`_: CUDA: Pass `fastmath` compiler flag down to `compile_ptx` and `compile_device`; Improve `fastmath` tests (`Michael Wang <https://github.com/isVoid>`_) * PR `7855 <https://github.com/numba/numba/pull/7855>`_: Ensure np.argmin/no.argmax return type is intp (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7858 <https://github.com/numba/numba/pull/7858>`_: CUDA: Deprecate `ptx` Attribute and Update Tests (`Graham Markall <https://github.com/gmarkall>`_ `Michael Wang <https://github.com/isVoid>`_) * PR `7861 <https://github.com/numba/numba/pull/7861>`_: Fix a spelling mistake in README (`Zizheng Guo <https://github.com/gzz2000>`_) * PR `7864 <https://github.com/numba/numba/pull/7864>`_: Fix cross_iter_dep check. (`Todd A. Anderson <https://github.com/DrTodd13>`_) * PR `7865 <https://github.com/numba/numba/pull/7865>`_: Remove add_user_function (`Graham Markall <https://github.com/gmarkall>`_) * PR `7866 <https://github.com/numba/numba/pull/7866>`_: Support for large numbers of args/kws with Python 3.10 (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `7878 <https://github.com/numba/numba/pull/7878>`_: CUDA: Remove some deprecated support, add CC 8.6 and 8.7 (`Graham Markall <https://github.com/gmarkall>`_) * PR `7893 <https://github.com/numba/numba/pull/7893>`_: Use uuid.uuid4() as the key in serialization. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7895 <https://github.com/numba/numba/pull/7895>`_: Remove use of `llvmlite.llvmpy` (`Andre Masella <https://github.com/apmasell>`_) * PR `7898 <https://github.com/numba/numba/pull/7898>`_: Skip test_ptds under cuda-memcheck (`Graham Markall <https://github.com/gmarkall>`_) * PR `7901 <https://github.com/numba/numba/pull/7901>`_: Pyston compatibility for the test suite (`Kevin Modzelewski <https://github.com/kmod>`_) * PR `7904 <https://github.com/numba/numba/pull/7904>`_: Support m1 (`esc <https://github.com/esc>`_) * PR `7911 <https://github.com/numba/numba/pull/7911>`_: added sys import (`Nightfurex <https://github.com/Nightfurex>`_) * PR `7915 <https://github.com/numba/numba/pull/7915>`_: CUDA: Fix test checking debug info rendering. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7918 <https://github.com/numba/numba/pull/7918>`_: Add JIT examples to CUDA docs (`brandon-b-miller <https://github.com/brandon-b-miller>`_ `Graham Markall <https://github.com/gmarkall>`_) * PR `7919 <https://github.com/numba/numba/pull/7919>`_: Disallow //= reductions in pranges. (`Todd A. Anderson <https://github.com/DrTodd13>`_) * PR `7924 <https://github.com/numba/numba/pull/7924>`_: Retain non-modified index tuple components. (`Todd A. Anderson <https://github.com/DrTodd13>`_) * PR `7939 <https://github.com/numba/numba/pull/7939>`_: Fix rendering in feature request template. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7940 <https://github.com/numba/numba/pull/7940>`_: Implemented `np.allclose` in `numba/np/arraymath.py` (`Gagandeep Singh <https://github.com/czgdp1807>`_) * PR `7941 <https://github.com/numba/numba/pull/7941>`_: Remove debug dump output from closure inlining pass. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7946 <https://github.com/numba/numba/pull/7946>`_: instructions for creating a build environment were outdated (`esc <https://github.com/esc>`_) * PR `7949 <https://github.com/numba/numba/pull/7949>`_: Add Cuda Vector Types (`Michael Wang <https://github.com/isVoid>`_) * PR `7950 <https://github.com/numba/numba/pull/7950>`_: mission statement (`esc <https://github.com/esc>`_) * PR `7956 <https://github.com/numba/numba/pull/7956>`_: Stop using pip for 3.10 on public ci (Revert "start testing Python 3.10 on public CI") (`esc <https://github.com/esc>`_) * PR `7957 <https://github.com/numba/numba/pull/7957>`_: Use cloudpickle for disk caches (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `7958 <https://github.com/numba/numba/pull/7958>`_: `numpy.clip` accept `numpy.array` for `a_min`, `a_max` (`Gagandeep Singh <https://github.com/czgdp1807>`_) * PR `7959 <https://github.com/numba/numba/pull/7959>`_: Permit a new array model to have a super set of array model fields. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7961 <https://github.com/numba/numba/pull/7961>`_: `numba.typed.typeddict.Dict.get` uses `castedkey` to avoid returning default value even if the key is present (`Gagandeep Singh <https://github.com/czgdp1807>`_) * PR `7963 <https://github.com/numba/numba/pull/7963>`_: remove the roadmap from the sphinx based docs (`esc <https://github.com/esc>`_) * PR `7964 <https://github.com/numba/numba/pull/7964>`_: Support for large constant dictionaries in Python 3.10 (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `7965 <https://github.com/numba/numba/pull/7965>`_: Use uuid4 instead of PID in cache temp name to prevent collisions. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7971 <https://github.com/numba/numba/pull/7971>`_: lru cache for configure call (`Tingkai Liu <https://github.com/TK-21st>`_) * PR `7972 <https://github.com/numba/numba/pull/7972>`_: Fix fp16 support for cuda shared array (`Michael Collison <https://github.com/testhound>`_ `Graham Markall <https://github.com/gmarkall>`_) * PR `7986 <https://github.com/numba/numba/pull/7986>`_: Small caching refactor to support target cache implementations (`Graham Markall <https://github.com/gmarkall>`_) * PR `7994 <https://github.com/numba/numba/pull/7994>`_: Supporting multidimensional arrays in quick sort (`Gagandeep Singh <https://github.com/czgdp1807>`_ `Siu Kwan Lam <https://github.com/sklam>`_) * PR `7996 <https://github.com/numba/numba/pull/7996>`_: Fix binding logic in `overload_glue`. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `7999 <https://github.com/numba/numba/pull/7999>`_: Remove `overload_glue` for NumPy allocators. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8003 <https://github.com/numba/numba/pull/8003>`_: Add np.broadcast_shapes (`Guilherme Leobas <https://github.com/guilhermeleobas>`_) * PR `8004 <https://github.com/numba/numba/pull/8004>`_: CUDA fixes for Windows (`Graham Markall <https://github.com/gmarkall>`_) * PR `8014 <https://github.com/numba/numba/pull/8014>`_: Fix support for {real,imag} array attrs in Parfors. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8016 <https://github.com/numba/numba/pull/8016>`_: [Docs] [Very Minor] Make `numba.jit` boundscheck doc line consistent (`Kyle Martin <https://github.com/martinky24>`_) * PR `8017 <https://github.com/numba/numba/pull/8017>`_: Update FAQ to include details about using debug-only option (`Guilherme Leobas <https://github.com/guilhermeleobas>`_) * PR `8027 <https://github.com/numba/numba/pull/8027>`_: Support for NumPy 1.22 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8031 <https://github.com/numba/numba/pull/8031>`_: Support for Numpy BitGenerators PR#1 - Core Generator Support (`Kaustubh <https://github.com/kc611>`_) * PR `8035 <https://github.com/numba/numba/pull/8035>`_: Fix a couple of typos RE implementation (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8037 <https://github.com/numba/numba/pull/8037>`_: CUDA self-recursion tests (`Graham Markall <https://github.com/gmarkall>`_) * PR `8044 <https://github.com/numba/numba/pull/8044>`_: Make Python 3.10 kwarg peephole less restrictive (`Nick Riasanovsky <https://github.com/njriasan>`_) * PR `8046 <https://github.com/numba/numba/pull/8046>`_: Fix caching test failures (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8049 <https://github.com/numba/numba/pull/8049>`_: support str(bool) syntax (`LI Da <https://github.com/dlee992>`_) * PR `8052 <https://github.com/numba/numba/pull/8052>`_: Ensure pthread is linked in when building for ppc64le. (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8056 <https://github.com/numba/numba/pull/8056>`_: Move caching tests from test_dispatcher to test_caching (`Graham Markall <https://github.com/gmarkall>`_) * PR `8057 <https://github.com/numba/numba/pull/8057>`_: Fix coverage checking (`Graham Markall <https://github.com/gmarkall>`_) * PR `8064 <https://github.com/numba/numba/pull/8064>`_: Rename "nb:run_pass" to "numba:run_pass" and document it. (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8065 <https://github.com/numba/numba/pull/8065>`_: Fix PyLowering mishandling starargs (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8068 <https://github.com/numba/numba/pull/8068>`_: update changelog for 0.55.2 (`esc <https://github.com/esc>`_) * PR `8077 <https://github.com/numba/numba/pull/8077>`_: change return type of np.broadcast_shapes to a tuple (`Guilherme Leobas <https://github.com/guilhermeleobas>`_) * PR `8080 <https://github.com/numba/numba/pull/8080>`_: Fix windows test failure due to timeout when the machine is slow poss… (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8081 <https://github.com/numba/numba/pull/8081>`_: Fix erroneous array count in parallel gufunc kernel generation. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8089 <https://github.com/numba/numba/pull/8089>`_: Support on-disk caching in the CUDA target (`Graham Markall <https://github.com/gmarkall>`_) * PR `8097 <https://github.com/numba/numba/pull/8097>`_: Exclude libopenblas 0.3.20 on osx-arm64 (`esc <https://github.com/esc>`_) * PR `8099 <https://github.com/numba/numba/pull/8099>`_: Fix Py_DECREF use in case of error state (for devicearray). (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8102 <https://github.com/numba/numba/pull/8102>`_: Combine numpy run_constrained in meta.yaml to the run requirements (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8109 <https://github.com/numba/numba/pull/8109>`_: Pin TBB support with respect to incompatible 2021.6 API. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8118 <https://github.com/numba/numba/pull/8118>`_: Update release checklists post 0.55.2 (`esc <https://github.com/esc>`_) * PR `8123 <https://github.com/numba/numba/pull/8123>`_: Fix CUDA print tests on Windows (`Graham Markall <https://github.com/gmarkall>`_) * PR `8124 <https://github.com/numba/numba/pull/8124>`_: Add explicit checks to all allocators in the NRT. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8126 <https://github.com/numba/numba/pull/8126>`_: Mark gufuncs as having mutable outputs (`Andre Masella <https://github.com/apmasell>`_) * PR `8133 <https://github.com/numba/numba/pull/8133>`_: Fix #8132. Regression in Record.make_c_struct for handling nestedarray (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8137 <https://github.com/numba/numba/pull/8137>`_: CUDA: Fix #7806, Division by zero stops the kernel (`Graham Markall <https://github.com/gmarkall>`_) * PR `8142 <https://github.com/numba/numba/pull/8142>`_: CUDA: Fix some missed changes from dropping 9.2 (`Graham Markall <https://github.com/gmarkall>`_) * PR `8144 <https://github.com/numba/numba/pull/8144>`_: Fix NumPy capitalisation in docs. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8145 <https://github.com/numba/numba/pull/8145>`_: Allow ufunc builder to use previously JITed function (`Andre Masella <https://github.com/apmasell>`_) * PR `8151 <https://github.com/numba/numba/pull/8151>`_: pin NumPy to build 0 of 1.19.2 on public CI (`esc <https://github.com/esc>`_) * PR `8163 <https://github.com/numba/numba/pull/8163>`_: CUDA: Remove context query in launch config (`Graham Markall <https://github.com/gmarkall>`_) * PR `8165 <https://github.com/numba/numba/pull/8165>`_: Restrict strace based tests to be linux only via support feature. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8170 <https://github.com/numba/numba/pull/8170>`_: CUDA: Fix missing space in low occupancy warning (`Graham Markall <https://github.com/gmarkall>`_) * PR `8175 <https://github.com/numba/numba/pull/8175>`_: make build and upload order consistent (`esc <https://github.com/esc>`_) * PR `8181 <https://github.com/numba/numba/pull/8181>`_: Fix various typos (`luzpaz <https://github.com/luzpaz>`_) * PR `8187 <https://github.com/numba/numba/pull/8187>`_: Update CHANGE_LOG for 0.55.2 (`stuartarchibald <https://github.com/stuartarchibald>`_ `esc <https://github.com/esc>`_) * PR `8189 <https://github.com/numba/numba/pull/8189>`_: updated version support information for 0.55.2/0.57 (`esc <https://github.com/esc>`_) * PR `8191 <https://github.com/numba/numba/pull/8191>`_: CUDA: Update deprecation notes for 0.56. (`Graham Markall <https://github.com/gmarkall>`_) * PR `8192 <https://github.com/numba/numba/pull/8192>`_: Update CHANGE_LOG for 0.56.0 (`stuartarchibald <https://github.com/stuartarchibald>`_ `esc <https://github.com/esc>`_ `Siu Kwan Lam <https://github.com/sklam>`_) * PR `8195 <https://github.com/numba/numba/pull/8195>`_: Make the workqueue threading backend once again fork safe. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8196 <https://github.com/numba/numba/pull/8196>`_: Fix numerical tolerance in parfors caching test. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8197 <https://github.com/numba/numba/pull/8197>`_: Fix `isinstance` warning check test. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8203 <https://github.com/numba/numba/pull/8203>`_: pin llvmlite 0.39 for public CI builds (`esc <https://github.com/esc>`_) * PR `8255 <https://github.com/numba/numba/pull/8255>`_: CUDA: Make numba.cuda.tests.doc_examples.ffi a module to fix #8252 (`Graham Markall <https://github.com/gmarkall>`_) * PR `8274 <https://github.com/numba/numba/pull/8274>`_: Update version support table doc for 0.56. (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8275 <https://github.com/numba/numba/pull/8275>`_: Update CHANGE_LOG for 0.56.0 final (`stuartarchibald <https://github.com/stuartarchibald>`_) Authors: * `Andre Masella <https://github.com/apmasell>`_ * `Benjamin Graham <https://github.com/benwilliamgraham>`_ * `brandon-b-miller <https://github.com/brandon-b-miller>`_ * `Brandon T. Willard <https://github.com/brandonwillard>`_ * `Gagandeep Singh <https://github.com/czgdp1807>`_ * `Dhruv Patel <https://github.com/DhruvPatel01>`_ * `LI Da <https://github.com/dlee992>`_ * `Todd A. Anderson <https://github.com/DrTodd13>`_ * `Ethan Pronovost <https://github.com/EPronovost>`_ * `esc <https://github.com/esc>`_ * `Tobias Sargeant <https://github.com/folded>`_ * `Graham Markall <https://github.com/gmarkall>`_ * `Guilherme Leobas <https://github.com/guilhermeleobas>`_ * `Zizheng Guo <https://github.com/gzz2000>`_ * `Hadia Ahmed <https://github.com/hadia206>`_ * `idorrington <https://github.com/idorrington>`_ * `Michael Wang <https://github.com/isVoid>`_ * `Kaustubh <https://github.com/kc611>`_ * `Kevin Modzelewski <https://github.com/kmod>`_ * `luk-f-a <https://github.com/luk-f-a>`_ * `luzpaz <https://github.com/luzpaz>`_ * `Kyle Martin <https://github.com/martinky24>`_ * `Nightfurex <https://github.com/Nightfurex>`_ * `Nick Riasanovsky <https://github.com/njriasan>`_ * `Nopileos2 <https://github.com/Nopileos2>`_ * `Ray Bell <https://github.com/raybellwaves>`_ * `readthedocs-assistant <https://github.com/readthedocs-assistant>`_ * `Rishi Kulkarni <https://github.com/rishi-kulkarni>`_ * `Sterling Baird <https://github.com/sgbaird>`_ * `Siu Kwan Lam <https://github.com/sklam>`_ * `stuartarchibald <https://github.com/stuartarchibald>`_ * `Stepan Rakitin <https://github.com/svrakitin>`_ * `Michael Collison <https://github.com/testhound>`_ * `Tingkai Liu <https://github.com/TK-21st>`_ ``` ### 0.55.2 ``` ----------------------------- This is a maintenance release to support NumPy 1.22 and Apple M1. Pull-Requests: * PR `8067 <https://github.com/numba/numba/pull/8067>`_: Backport #8027: Support for NumPy 1.22 (`stuartarchibald <https://github.com/stuartarchibald>`_) * PR `8069 <https://github.com/numba/numba/pull/8069>`_: Install llvmlite 0.38 for Numba 0.55.* (`esc <https://github.com/esc>`_) * PR `8075 <https://github.com/numba/numba/pull/8075>`_: update max NumPy for 0.55.2 (`esc <https://github.com/esc>`_) * PR `8078 <https://github.com/numba/numba/pull/8078>`_: Backport #7804: update local references from master -> main (`esc <https://github.com/esc>`_) * PR `8082 <https://github.com/numba/numba/pull/8082>`_: Backport #8080: fix windows failure due to timeout (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8084 <https://github.com/numba/numba/pull/8084>`_: Pin meta.yaml to llvmlite 0.38 series (`Siu Kwan Lam <https://github.com/sklam>`_) * PR `8093 <https://github.com/numba/numba/pull/8093>`_: Backport #7904: Support m1 (`esc <https://github.com/esc>`_) * PR `8094 <https://github.com/numba/numba/pull/8094>`_: Backport #8052 Ensure pthread is li