bw2calc breaking changes
bw2calc 4.0.0 (November 27, 2026) is its newest release with breaking changes, 18 of them. The first: bw2calc 4.0.0 drops support for Python 3.9 and 3.10 and requires Python 3.11 or later. Every breaking API change we have recorded in bw2calc on PyPI: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.2.0, released November 30, 2026. Source repository
Its 4.0.0 release requires Python 3.11 or later. Python end of life dates.
bw2calc 4.0.0 breaking changes
- Removed
Python 3.11 is now the minimum supported version. Users on Python 3.9 or 3.10 must upgrade Python. github.com - Removed
bw2calc.lca.consistent_global_index
bw2calc.lca.consistent_global_index was removed in bw2calc 4.0.0 pypi.org - Behavior changed
A row whose location is the global location of another package is now dropped from LCIA results, which can change computed scores. github.com - Behavior changed
consistent_global_index
The function is still present but no longer performs the check. Use GlobalIndexFilter instead. github.com - Behavior changed
GlobalIndexFilter
An indices array the filter does not know now raises UnknownIndicesArray rather than being used unfiltered. github.com - Behavior changed
InconsistentGlobalIndex
The exception class remains but is no longer used. Unknown indices arrays now raise UnknownIndicesArray. github.com - Behavior changed
selective_use
Changing the dict returned by selective_use in place is ignored. Change the calculation configuration instead. github.com - Configuration changed
numpy, pandas, pydantic, scipy, stats_arrays, threadpoolctl and xarray now require minimum versions. Older installed versions must be upgraded. github.com - Signature changed
bw2calc.fast_supply_arrays.lu_solver
Was def lu_solver(matrix: Any, copy: bool = True) -> Callable[[np.ndarray], np.ndarray]; now def lu_solver(matrix: Any, copy: bool = True, refine: bool = True) -> Callable[[np.ndarray], np.ndarray]. pypi.org - Signature changed
bw2calc.LCA.__init__
Was def __init__(self, demand: dict, method: Optional[tuple] = None, weighting: Optional[str] = None, normalization: Optional[str] = None, data_objs: Optional[Iterable[Union[Path, AbstractFileSystem, bwp.DatapackageBase]]] = None... pypi.org - Signature changed
bw2calc.lca.LCA.__init__
Was def __init__(self, demand: dict, method: Optional[tuple] = None, weighting: Optional[str] = None, normalization: Optional[str] = None, data_objs: Optional[Iterable[Union[Path, AbstractFileSystem, bwp.DatapackageBase]]] = None... pypi.org - Signature changed
bw2calc.lca.SingleValueDiagonalMatrix.__init__
Was def __init__(self, *, packages: Sequence[Datapackage], matrix: str, dimension: int, use_vectors: bool = True, use_arrays: bool = True, use_distributions: bool = False, seed_override: Union[int, None] = None, indexer_override: Any =... pypi.org - Signature changed
bw2calc.multi_lca.MultiLCA.__init__
Was def __init__(self, demands: dict[str, dict[int, float]], method_config: Union[dict, MethodConfig], data_objs: Iterable[Union[Path, AbstractFileSystem, bwp.DatapackageBase]], remapping_dicts: Optional[Iterable[dict]] = None, log_config... pypi.org - Signature changed
bw2calc.MultiLCA.__init__
Was def __init__(self, demands: dict[str, dict[int, float]], method_config: Union[dict, MethodConfig], data_objs: Iterable[Union[Path, AbstractFileSystem, bwp.DatapackageBase]], remapping_dicts: Optional[Iterable[dict]] = None, log_config... pypi.org - Signature changed
bw2calc.partitioned_lca.PartitionedMonteCarloLCA.__init__
Was def __init__(self, demand: dict[int, float], static_databases: list, data_objs: list, seed_override: Optional[int] = None); now def __init__(self, demand: dict[int, float], static_databases: list, data_objs: list, seed_override... pypi.org - Signature changed
bw2calc.PartitionedMonteCarloLCA.__init__
Was def __init__(self, demand: dict[int, float], static_databases: list, data_objs: list, seed_override: Optional[int] = None); now def __init__(self, demand: dict[int, float], static_databases: list, data_objs: list, seed_override... pypi.org - Signature changed
bw2calc.single_value_diagonal_matrix.SingleValueDiagonalMatrix.__init__
Was def __init__(self, *, packages: Sequence[Datapackage], matrix: str, dimension: int, use_vectors: bool = True, use_arrays: bool = True, use_distributions: bool = False, seed_override: Union[int, None] = None, indexer_override: Any =... pypi.org - Signature changed
bw2calc.utils.lu_solver
Was def lu_solver(matrix: Any, copy: bool = True) -> Callable[[np.ndarray], np.ndarray]; now def lu_solver(matrix: Any, copy: bool = True, refine: bool = True) -> Callable[[np.ndarray], np.ndarray]. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.