---
title: "bw2calc 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each bw2calc release removed, renamed or changed: 18 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/bw2calc
last_updated: 2026-12-04
---

# 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

Latest version `4.2.0`, released November 30, 2026. [Source repository](https://github.com/brightway-lca/brightway2-calc)

Its 4.0.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

## bw2calc 4.0.0 breaking changes

bw2calc 4.0.0, released November 27, 2026: 18 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](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Removed** `bw2calc.lca.consistent_global_index`  

bw2calc.lca.consistent_global_index was removed in bw2calc 4.0.0 [pypi.org](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Behavior changed** `consistent_global_index`  

The function is still present but no longer performs the check. Use GlobalIndexFilter instead. [github.com](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Behavior changed** `GlobalIndexFilter`  

An indices array the filter does not know now raises UnknownIndicesArray rather than being used unfiltered. [github.com](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Behavior changed** `InconsistentGlobalIndex`  

The exception class remains but is no longer used. Unknown indices arrays now raise UnknownIndicesArray. [github.com](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Behavior changed** `selective_use`  

Changing the dict returned by selective_use in place is ignored. Change the calculation configuration instead. [github.com](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **Configuration changed**  

numpy, pandas, pydantic, scipy, stats_arrays, threadpoolctl and xarray now require minimum versions. Older installed versions must be upgraded. [github.com](https://github.com/brightway-lca/brightway2-calc/blob/4.0.0/CHANGES.md)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)
- **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](https://pypi.org/project/bw2calc/4.0.0/)

## 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.
