All Versions
93
Latest Version
5.1
Avg Release Cycle
52 days
Latest Release
675 days ago

Changelog History
Page 5

  • v2.0.11 Changes

    December 31, 2018

    πŸ› Bug Fixes

    astropy.io.ascii ^

    • πŸ›  Fix fast reader C tokenizer to handle double quotes in quoted field. [#8283]

    astropy.io.fits ^

    • πŸ›  Fix a bug in io.fits with writing Fortran-ordered arrays to file objects. [#8282]

    astropy.units ^

    • βž• Add support for np.matmul as a ufunc (new in numpy 1.16). [#8264, #8305]

    astropy.utils ^

    • Fix failures caused by IERS_A_URL being unavailable by introducing IERS_A_URL_MIRROR. [#8308]
  • v2.0.10 Changes

    December 04, 2018

    πŸ› Bug Fixes

    astropy.convolution

    • πŸ›  Fix Moffat2DKernel's FWHM computation, which has an influence on the default size of the kernel when no size is given. [#8105]

    astropy.coordinates

    • Disable of_address usage due to Google API now requiring API key. [#7993]

    astropy.io.fits ^

    • fits.append now correctly handles file objects with valid modes other than ostream. [#7856]

    astropy.table ^

    • Fix Table.show_in_notebook failure when mixin columns are present. [#8069]

    βœ… astropy.tests ^

    • βœ… Explicitly disallow incompatible versions of pytest when using the test runner. [#8188]

    astropy.units ^

    • πŸ›  Fixed the spelling of the 'luminous emittance/illuminance' physical property. [#7942]

    astropy.visualization

    • πŸ›  Fixed a bug that caused origin to be incorrect if not specified. [#7927]

    • πŸ›  Fixed a bug that caused an error when plotting grids multiple times with grid_type='contours'. [#7927]

    • Put an upper limit on the number of bins in hist and histogram and factor out calculation of bin edges into public function calculate_bin_edges. [#7991]

    Other Changes and Additions

    • Fixing astropy.__citation__ to provide the full bibtex entry of the 2018 paper. [#8110]

    • πŸš€ Pytest 4.0 is not supported by the 2.0.x LTS releases. [#8173]

    • ⚑️ Updating bundled pytest-remotedata to v0.3.1. [#8174]

    • ⚑️ Updating bundled pytest-doctestplus to v0.2.0. [#8175]

    • ⚑️ Updating bundled pytest-openfiles to v0.3.0. [#8176]

    • βž• Adding warning_type keyword argument to the "deprecated" decorators to allow issuing custom warning types instead of the default AstropyDeprecationWarning. [#8178]

  • v2.0.9 Changes

    October 14, 2018

    πŸ› Bug Fixes

    astropy.io.ascii ^

    • πŸ›  Fix reading of big files with the fast reader. [#7885]

    astropy.io.fits ^

    • HDUList.__contains__() now works with HDU arguments. That is, hdulist[0] in hdulist now works as expected. [#7282]

    • HDUList s can now be written to streams in Python 3 [#7850]

    astropy.nddata ^

    • πŸ›  Fixed the bug in CCData.read when the HDU is not specified and the first one is empty so the function searches for the first HDU with data which may not have an image extension. [#7739]

    astropy.stats ^

    • πŸ›  Fixed bugs in biweight statistics functions where a constant data array (or if using the axis keyword, constant along an axis) would return NaN. [#7737]

    astropy.table ^

    • πŸ›  Fixed a bug in to_pandas() where integer type masked columns were always getting converted to float. This could cause loss of precision. Now this only occurs if there are actually masked data values, in which case pandas does require the values to be float so that NaN can be used to mark the masked values. [#7741, #7747]

    βœ… astropy.tests ^

    • πŸ”„ Change the name of the configuration variable controlling the location of the Astropy cache in the Pytest plugin from cache_dir to astropy_cache_dir. The command line flag also changed to --astropy-cache-dir. This prevents a conflict with the cache_dir variable provided by pytest itself. Also made similar change to config_dir option as a precaution. [#7721]

    astropy.units ^

    • UnrecognizedUnit instances can now be compared to any other object without raising TypeError. [#7606]

    astropy.visualization

    • πŸ›  Fix compatibility with Matplotlib 3.0. [#7839]

    • πŸ›  Fix an issue that caused a crash when using WCSAxes with a custom Transform object and when using grid_type='contours' to plot a grid. [#7846]

    astropy.wcs ^

    • Instead of raising an error astropy.wcs now returns the input when the input has zero size. [#7746]

    • Fix malloc(0) bug in pipeline_all_pixel2world() and pipeline_pix2foc(). They now raise an exception for input with zero coordinates, i.e. shape = (0, n). [#7806]

    • πŸ›  Fixed an issue with scalar input when WCS.naxis is one. [#7858]

    Other Changes and Additions

    • Added a new astropy.__citation__ attribute which gives a citation for Astropy in bibtex format. Made sure that both this and astropy.__bibtex__ works outside the source environment, too. [#7718]
  • v2.0.8 Changes

    August 02, 2018

    πŸ› Bug Fixes

    astropy.convolution

    • Correct data type conversion for non-float masked kernels. [#7542]

    • πŸ›  Fix non-float or masked, zero sum kernels when normalize_kernel=False. Non-floats would yeild a type error and masked kernels were not being filled. [#7541]

    astropy.coordinates

    • Ensure that relative humidities can be given as Quantities, rather than take any quantity and just strip its unit. [#7668]

    astropy.nddata ^

    • πŸ›  Fixed Cutout2D output WCS NAXIS values to reflect the cutout image size. [#7552]

    astropy.table ^

    • Fixed a bug in add_columns method where rename_duplicate=True would cause an error if there were no duplicates. [#7540]

    βœ… astropy.tests ^

    • πŸ›  Fixed bug in python setup.py test --coverage on Windows machines. [#7673]

    astropy.time ^

    • Avoid rounding errors when converting Quantity to TimeDelta. [#7625]

    astropy.visualization

    • πŸ›  Fixed a bug that caused the position of the tick values in decimal mode to be incorrectly determined. [#7332]

    astropy.wcs ^

    • Fixed a bug that caused wcs_to_celestial_frame, skycoord_to_pixel, and pixel_to_skycoord to raise an error if the axes of the celestial WCS were swapped. [#7691]
  • v2.0.7 Changes

    June 01, 2018

    πŸ› Bug Fixes

    astropy.modeling ^

    • πŸ›  Fixed Tabular models to not change the shape of data. [#7411]

    astropy.stats ^

    • In freedman_bin_width, if the data has too small IQR, raise ValueError. [#7248, #7402]

    astropy.table ^

    • πŸ›  Fix a performance issue in MaskedColumn where initialization was extremely slow for large arrays with the default mask=None. [#7422]

    • πŸ›  Fix printing table row indexed with unsigned integer. [#7469]

    • πŸ›  Fix copy of mask when copying a Table, as this is no more done systematically by Numpy since version 1.14. Also fixed a problem when MaskedColumn was initialized with mask=np.ma.nomask. [#7486]

    astropy.time ^

    • πŸ›  Fixed a bug in Time that raised an error when initializing a subclass of Time with a Time object. [#7453]

    astropy.utils ^

    • πŸ›  Fixed a bug that improperly handled unicode case of URL mirror in Python 2. [#7493]

    astropy.visualization

    • πŸ›  Fixed a bug that prevented legends from being added to plots done with units. [#7510]

    Other Changes and Additions

    • ⬆️ Bundled pytest-remotedata plugin is upgraded to 0.3. [#7493]
  • v2.0.6 Changes

    April 23, 2018

    πŸ› Bug Fixes

    astropy.convolution

    • convolve(boundary=None) requires the kernel to be smaller than the image. This was never actually checked, it now is and an exception is raised. [#7313]

    astropy.units ^

    • u.quantity_input no longer errors if the return annotation for a function is None. [#7336, #7380]

    astropy.visualization

    • 0️⃣ Explicitly default to origin='lower' in WCSAxes. [#7331]

    • Lists of units are now converted in the Matplotlib unit converter. This means that for Matplotlib versions later than 2.2, more plotting functions now work with units (e.g. errorbar). [#7037]

    Other Changes and Additions

    • ⚑️ Updated the bundled CFITSIO library to 3.44. This is to remedy another critical security vulnerability that was identified by NASA. See cextern/cfitsio/docs/changes.txt for additional information. [#7370]
  • v2.0.5 Changes

    March 12, 2018

    πŸ› Bug Fixes

    astropy.coordinates

    • βž• Add a workaround for a bug in the einsum function in Numpy 1.14.0. [#7187]

    • πŸ›  Fix problems with printing Angle instances under numpy 1.14.1. [#7234]

    astropy.io.fits ^

    • πŸ›  Fixed the fitsdiff script for matching fits file with one in a directory path. [#7085]

    • πŸ‘‰ Make sure that lazily-loaded HDUList is automatically loaded when calling hdulist.pop. [#7186]

    astropy.modeling ^

    • Propagate weights to underlying fitter in FittingWithOutlierRemoval [#7249]

    βœ… astropy.tests ^

    • πŸ‘Œ Support dotted package names as namespace packages when gathering test coverage. [#7170]

    astropy.visualization

    • Matplotlib axes have the axisbelow property to control the z-order of ticks, tick labels, and grid lines. WCSAxes will now respect this property. This is useful for drawing scale bars or inset boxes, which should have a z-order that places them above all ticks and gridlines. [#7098]

    Other Changes and Additions

    • πŸš‘ Updated the bundled CFITSIO library to 3.430. This is to remedy a critical security vulnerability that was identified by NASA. See cextern/cfitsio/docs/changes.txt for additional information. [#7274, #7275]
  • v2.0.4 Changes

    February 06, 2018

    πŸ› Bug Fixes

    astropy.convolution

    • Fixed IndexError when preserve_nan=True in convolve_fft. Added testing with preserve_nan=True. [#7000]

    astropy.coordinates

    • πŸ“œ The sites.json file is now parsed explicitly with a UTF-8 encoding. This means that future revisions to the file with unicode observatory names can be done without breaking the site registry parser. [#7082]

    • Working around a bug in Numpy 1.14.0 that broke some coordinate transformations. [#7105]

    • πŸ›  Fixed a bug where negative angles could be rounded wrongly when converting to a string with seconds omitted. [#7148]

    astropy.io.fits ^

    • πŸ— When datafile is missing, fits.tabledump uses input file name to build output file name. Fixed how it gets input file name from HDUList. [#6976]

    • πŸ›  Fix in-place updates to scaled columns. [#6956]

    astropy.io.registry

    • πŸ›  Fixed bug in identifying inherited registrations from multiple ancestors [#7156]

    astropy.modeling ^

    • πŸ›  Fixed a bug in LevMarLSQFitter when fitting 2D models with constraints. [#6705]

    astropy.utils ^

    • download_file function will check for cache downloaded from mirror URL first before attempting actual download if primary URL is unavailable. [#6987]

    astropy.visualization

    • πŸ›  Fixed test failures for astropy.visualization.wcsaxes which were due to local matplotlibrc files being taken into account. [#7132]

    Other Changes and Additions

    • πŸ›  Fixed broken links in the documentation. [#6745]

    • 🐎 Substantial performance improvement (potentially >1000x for some cases) when converting non-scalar coordinates.Angle objects to strings. [#7004]

  • v2.0.3 Changes

    December 13, 2017

    πŸ› Bug Fixes

    astropy.coordinates

    • Ecliptic frame classes now support attributes v_x, v_y, v_z when using with a Cartesian representation. [#6569]

    • βž• Added a nicer error message when accidentally calling frame.representation instead of frame.data in the context of methods that use ._apply(). [#6561]

    • Creating a new SkyCoord from a list of multiple SkyCoord objects now yield the correct type of frame, and works at all for non-equatorial frames. [#6612]

    • Improved accuracy of velocity calculation in EarthLocation.get_gcrs_posvel. [#6699]

    • πŸ‘Œ Improved accuracy of radial velocity corrections in SkyCoord.radial_velocity_correction`. [#6861]

    • πŸ‘ The precision of ecliptic frames is now much better, after removing the nutation from the rotation and fixing the computation of the position of the Sun. [#6508]

    astropy.extern ^

    • πŸ”– Version 0.2.1 of pytest-astropy is included as an external package. [#6918]

    astropy.io.fits ^

    • πŸ›  Fix writing the result of fitsdiff to file with --output-file. [#6621]

    • πŸ›  Fix a minor bug where FITS_rec instances can not be indexed with tuples and other sequences that end up with a scalar. [#6955, #6966]

    astropy.io.misc ^

    • πŸ›  Fix ImportError when hdf5 is imported first in a fresh Python interpreter in Python 3. [#6604, #6610]

    astropy.nddata ^

    • Suppress errors during WCS creation in CCDData.read(). [#6500]

    • πŸ›  Fixed a problem with CCDData.read when the extension wasn't given and the primary HDU contained no data but another HDU did. In that case the header were not correctly combined. [#6489]

    astropy.stats ^

    • πŸ›  Fixed an issue where the biweight statistics functions would sometimes cause runtime underflow/overflow errors for float32 input arrays. [#6905]

    astropy.table ^

    • πŸ›  Fixed a problem when printing a table when a column is deleted and garbage-collected, and the format function caching mechanism happens to re-use the same cache key. [#6714]

    • πŸ›  Fixed a problem when comparing a unicode masked column (on left side) to a bytes masked column (on right side). [#6899]

    • πŸ›  Fixed a problem in comparing masked columns in bytes and unicode when the unicode had masked entries. [#6899]

    βœ… astropy.tests ^

    • πŸ›  Fixed a bug that causes tests for rst files to not be run on certain platforms. [#6555, #6608]

    • πŸ›  Fixed a bug that caused the doctestplus plugin to not work nicely with the hypothesis package. [#6605, #6609]

    • πŸ›  Fixed a bug that meant that the data.astropy.org mirror could not be used when using --remote-data=astropy. [#6724]

    • πŸ‘Œ Support compatibility with new pytest-astropy plugins. [#6918]

    • πŸ“¦ When testing, astropy (or the package being tested) is now installed to a temporary directory instead of copying the build. This allows entry points to work correctly. [#6890]

    astropy.time ^

    • πŸŽ‰ Initialization of Time instances now is consistent for all formats to ensure that -0.5 <= jd2 < 0.5. [#6653]

    astropy.units ^

    • Ensure that Quantity slices can be set with objects that have a unit attribute (such as Column). [#6123]

    astropy.utils ^

    • download_files_in_parallel now respects the given timeout value. [#6658]

    • πŸ›  Fixed bugs in remote data handling and also in IERS unit test related to path URL, and URI normalization on Windows. [#6651]

    • Fixed a bug that caused get_pkg_data_fileobj to not work correctly when used with non-local data from inside packages. [#6724]

    • Make sure get_pkg_data_fileobj fails if the URL can not be read, and correctly falls back on the mirror if necessary. [#6767]

    • Fix the finddiff option in find_current_module to properly deal with submodules. [#6767]

    • πŸ›  Fixed pyreadline import in utils.console.isatty for older IPython versions on Windows. [#6800]

    astropy.visualization

    • πŸ›  Fixed the vertical orientation of the fits2bitmap output bitmap image to match that of the FITS image. [#6844, #6969]

    • βž• Added a workaround for a bug in matplotlib so that the fits2bitmap script generates the correct output file type. [#6969]

    Other Changes and Additions

    • πŸ“š No longer require LaTeX to build the documentation locally and use mathjax instead. [#6701]

    • βœ… Ensured that all tests use the Astropy data mirror if needed. [#6767]

  • v2.0.2 Changes

    September 08, 2017

    πŸ› Bug Fixes

    astropy.coordinates

    • Ensure transformations via ICRS also work for coordinates that use cartesian representations. [#6440]

    • πŸ›  Fixed a bug that was preventing SkyCoord objects made from lists of other coordinate objects from being written out to ECSV files. [#6448]

    astropy.io.fits ^

    • πŸ‘Œ Support the GZIP_2 FITS image compression algorithm as claimed in docs. [#6486]

    astropy.io.votable

    • πŸ›  Fixed a bug that wrote out VO table as version 1.2 instead of 1.3. [#6521]

    astropy.table ^

    • πŸ›  Fix a bug when combining unicode columns via join or vstack. The character width of the output column was a factor of 4 larger than needed. [#6459]

    βœ… astropy.tests ^

    • πŸ›  Fixed running the test suite using --parallel. [#6415]

    • βž• Added error handling for attempting to run tests in parallel without having the pytest-xdist package installed. [#6416]

    • πŸ›  Fixed issue running doctests with pytest>=3.2. [#6423, #6430]

    • πŸ›  Fixed issue caused by antivirus software in response to malformed compressed files used for testing. [#6522]

    • ⚑️ Updated top-level config file to properly ignore top-level directories. [#6449]

    astropy.units ^

    • Quantity.repr_latex now respects precision option from numpy printoptions. [#6412]

    astropy.utils ^

    • πŸ“‡ For the deprecated_renamed_argument decorator, refer to the deprecationβ€˜s caller instead of astropy.utils.decorators, to makes it easier to find where the deprecation warnings comes from. [#6422]