---
title: "astropy 8.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each astropy release removed, renamed or changed: 315 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/astropy
last_updated: 2026-12-04
---

# astropy breaking changes

astropy 8.0.0 (June 16, 2026) is its newest release with breaking changes, 115 of them. The first: Minimum supported NumPy raised to 2.0 in astropy 8.0.0. Every breaking API change we have recorded in astropy on PyPI: 315 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.0.3`, released November 17, 2026. [Source repository](https://github.com/astropy/astropy)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 115 breaking changes in 1 version.
- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 225 breaking changes in 2 versions.

## astropy 8.0.0 breaking changes

astropy 8.0.0, released June 16, 2026: 115 breaking changes.

- **Removed**  

Users on older NumPy must upgrade; minimum NumPy is now 2.0. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.config.set_temp_cache`  

Cache and config directory defaults changed to XDG locations in astropy 8.0.0 [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.connect`  

Import cosmology classes and functions directly from astropy.cosmology. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.core`  

Import cosmology classes and functions directly from astropy.cosmology. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.flrw`  

Import cosmology classes and functions directly from astropy.cosmology. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.funcs`  

Import cosmology classes and functions directly from astropy.cosmology. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.parameter`  

Import cosmology classes and functions directly from astropy.cosmology. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.table.np_utils`  

Import TableMergeError from astropy.table instead. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.tests.command`  

The module deprecated in v6.0 is gone. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.utils.misc.is_path_hidden`  

Deprecated helpers removed from astropy.utils.misc. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `astropy.utils.misc.walk_skip_hidden`  

Deprecated helpers removed from astropy.utils.misc. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `fits2bitmap`  

Use vmin and vmax options instead of min_cut and max_cut. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `Ob0`  

Pass Ob0=0 instead of Ob0=None to indicate zero baryonic matter density. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Removed** `simple_norm`  

Use vmin and vmax keywords instead of min_cut and max_cut. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Renamed** `astropy.io.votable.dataorigin.editor`  

The ivoid and editor terms were renamed to ivoid_data and journal. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Renamed** `astropy.io.votable.dataorigin.ivoid`  

The ivoid and editor terms were renamed to ivoid_data and journal. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed**  

The dev and dev_all extras were moved to PEP 735 groups and are no longer installable as extras. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.config.get_cache_dir`  

The default cache and config locations moved to XDG paths (for example $XDG_CACHE_HOME/astropy). Users relying on $HOME/.astropy must adjust. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.config.get_cache_dir_path`  

The default cache and config locations moved to XDG paths. Users relying on the old locations must adjust. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.config.get_config_dir`  

The default config location moved to XDG paths. Users relying on the old locations must adjust. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.config.get_config_dir_path`  

The default config location moved to XDG paths. Users relying on the old locations must adjust. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.convolution.convolve`  

Edge handling for boundary='fill' with NaN fill now matches convolve_fft, changing results near edges. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.coordinates.LSR`  

Converting v_bary to a Quantity now requires the .xyz attribute instead of .d_xyz. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.io.fits.open`  

Logical columns with NULL values now emit a warning unless logical_as_bytes is set; variable-length logical columns use S1 bytes when logical_as_bytes is True. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.io.registry.help`  

The help methods now raise an exception when Python runs in optimized mode. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.utils.data`  

Functions that only return a cache path no longer guarantee the directory exists. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Behavior changed** `astropy.wcs.wcsapi.BaseLowLevelWCS`  

No warning is emitted when neither side has an observer; warnings remain when only one has observer information. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Default changed** `astropy.constants`  

Default constants now come from CODATA 2022. Use the astropyconst80 science state to keep CODATA 2018 with IAU 2015 values. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Default changed** `strip_spaces`  

The strip_spaces option now defaults to True; set it to False to keep the old behavior. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Configuration changed**  

Publishing moved to PyPI Trusted Publisher in astropy 8.0.0 [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Configuration changed** `astropy.wcs.high_level_objects_to_values`  

serialized_classes is now optional and treated as False when absent. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Signature changed** `astropy.config.get_cache_dir`  

Was def get_cache_dir(rootname: str = 'astropy') -> str; now def get_cache_dir(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> str. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.get_cache_dir_path`  

Was def get_cache_dir_path(rootname: str = 'astropy') -> Path; now def get_cache_dir_path(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> Path. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.get_config_dir`  

Was def get_config_dir(rootname: str = 'astropy') -> str; now def get_config_dir(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> str. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.get_config_dir_path`  

Was def get_config_dir_path(rootname: str = 'astropy') -> Path; now def get_config_dir_path(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> Path. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.paths.get_cache_dir`  

Was def get_cache_dir(rootname: str = 'astropy') -> str; now def get_cache_dir(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> str. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.paths.get_cache_dir_path`  

Was def get_cache_dir_path(rootname: str = 'astropy') -> Path; now def get_cache_dir_path(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> Path. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.paths.get_config_dir`  

Was def get_config_dir(rootname: str = 'astropy') -> str; now def get_config_dir(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> str. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.paths.get_config_dir_path`  

Was def get_config_dir_path(rootname: str = 'astropy') -> Path; now def get_config_dir_path(rootname: str = 'astropy', \*, ensure_exists: bool = True) -> Path. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_concurrency.closure_base`  

Was def closure_base(ctx_manager: type\[\_SetTempPath\], \*, directory: Path, barrier: Barrier) -> Result\[Path\]; now def closure_base(dirtype: \_DirType, \*, directory: Path, barrier: Barrier) -> Result\[Path\]. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_concurrency.test_nesting`  

Was def test_nesting(cm_out: type\[\_SetTempPath\], cm_in: type\[\_SetTempPath\], tmp_path: Path); now def test_nesting(dt_out: \_DirType, dt_in: \_DirType, tmp_path: Path). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_concurrency.test_set_temp_dir`  

Was def test_set_temp_dir(ctx_manager, tmp_path); now def test_set_temp_dir(dirtype, tmp_path). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_configs.test_env_variables_missing_dir`  

Was def test_env_variables_missing_dir(monkeypatch, tmp_path, env_var, func); now def test_env_variables_missing_dir(monkeypatch, tmp_path, dirtype). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_configs.test_env_variables_missing_subdir_and_default`  

Was def test_env_variables_missing_subdir_and_default(monkeypatch, tmp_path, env_var, func); now def test_env_variables_missing_subdir_and_default(monkeypatch, tmp_path_factory, dirtype: \_DirType, setup). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_configs.test_env_variables_setup_file_exists`  

Was def test_env_variables_setup_file_exists(monkeypatch, tmp_path, env_var, func); now def test_env_variables_setup_file_exists(monkeypatch, tmp_path, dirtype). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_configs.test_set_temp_config`  

Was def test_set_temp_config(tmp_path); now def test_set_temp_config(tmp_path, dirtype). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.config.tests.test_configs.test_xdg_variables`  

Was def test_xdg_variables(monkeypatch, tmp_path, env_var, func); now def test_xdg_variables(monkeypatch, tmp_path, dirtype). [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.coordinates.custom_stokes_symbol_mapping`  

Was def custom_stokes_symbol_mapping(mapping: dict\[int, StokesSymbol\], replace: bool = False) -> None; now def custom_stokes_symbol_mapping(mapping: dict\[int, StokesSymbol\], replace: bool = False) -> Generator\[None, None, None\]. [pypi.org](https://pypi.org/project/astropy/8.0.0/)
- **Signature changed** `astropy.coordinates.Galactocentric`  

Converting galcen_v_sun or v_bary to a Quantity now requires the .xyz attribute instead of .d_xyz. [github.com](https://github.com/astropy/astropy/blob/v8.0.0/CHANGES.rst)
- **Signature changed** `astropy.coordinates.polarization.custom_stokes_symbol_mapping`  

Was def custom_stokes_symbol_mapping(mapping: dict\[int, StokesSymbol\], replace: bool = False) -> None; now def custom_stokes_symbol_mapping(mapping: dict\[int, StokesSymbol\], replace: bool = False) -> Generator\[None, None, None\]. [pypi.org](https://pypi.org/project/astropy/8.0.0/)

And 65 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## astropy 7.0.0 breaking changes

astropy 7.0.0, released November 22, 2024: 110 breaking changes.

- **Removed** `_ExtensionHDU`  

\_ExtensionHDU, \_NonstandardExtHDU, (Bin)Table.update and the tile_size argument for CompImageHDU are removed; invalid tile_shape now raises an error. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `astropy.io.fits.hdu.compressed.compress_image_data`  

Low-level compression functions are only available at the qualified \_tiled_compression path now. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `astropy.visualization.np`  

The unintended NumPy export at astropy.visualization.np is removed. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `BaseCoordinateFrame.get_frame_attr_names`  

BaseCoordinateFrame.get_frame_attr_names() is removed. Use get_frame_attr_defaults() instead. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `compat.override__dir__`  

The deprecated compat.override\_\_dir\_\_() utility is removed. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `CoordinateHelper.grid_lines_kwargs`  

Attributes grid_lines_kwargs, grid_lines, lblinfo, lbl_world and minor_frequency access is removed without deprecation. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `coordinates.get_moon`  

The deprecated coordinates.get_moon() function has been removed. Use coordinates.get_body("moon") instead. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `cosmology.utils`  

The deprecated cosmology.utils module is removed. Import public API directly from the cosmology module. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `LogStretch.exp`  

Deprecated exp attribute of log and power-dist stretches and power attribute of PowerStretch are removed; use a instead. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)
- **Removed** `PowerStretch.power`  

The power attribute of PowerStretch is removed; use the a attribute instead. [github.com](https://github.com/astropy/astropy/blob/v7.0.0/CHANGES.rst)

And 100 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## astropy 6.0.0 breaking changes

astropy 6.0.0, released November 27, 2023: 90 breaking changes.

- **Removed** `astropy.config.ConfigurationMissingWarning`  

The deprecated ConfigurationMissingWarning class was removed with no replacement; stop using it. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.config.update_default_config`  

The deprecated update_default_config function was removed with no replacement; stop using it. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.convolution.DiscretizationError`  

Code catching DiscretizationError must catch ValueError instead. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.coordinates.angle_utilities`  

Use the functions from angle_formats instead. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.core`  

Deprecated import paths from astropy.cosmology.core were removed. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.utils.inf_like`  

These deprecated helpers were removed with no replacement. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.cosmology.utils.vectorize_if_needed`  

These deprecated helpers were removed with no replacement. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.io.ascii.tests.common.raises`  

Use pytest.raises instead. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.io.misc.asdf`  

Use the asdf-astropy package instead. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)
- **Removed** `astropy.modeling.fitting._fitter_to_model_params`  

Deprecated private fitting helpers were removed. [github.com](https://github.com/astropy/astropy/blob/v6.0.0/CHANGES.rst)

And 80 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
