pydeseq2 breaking changes
pydeseq2 0.7.0 (November 25, 2026) is its newest release with breaking changes, 13 of them. The first: Removed pydeseq2.distributions.grid_fit_shrink_beta. Every breaking API change we have recorded in pydeseq2 on PyPI: 37 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.7.0, released November 25, 2026. Source repository
Its 0.6.0 release requires Python 3.12 or later. Python end of life dates.
pydeseq2 0.7.0 breaking changes
- Removed
pydeseq2.distributions.grid_fit_shrink_beta
pydeseq2.distributions.grid_fit_shrink_beta was removed in pydeseq2 0.7.0 pypi.org - Behavior changed
deseq2
Iterative size factors differ by up to 0.1%, and p-values, LFCs and Cook's filtering change for genes with diverging coefficients. Expect small numeric differences in existing results. github.com - Behavior changed
deseq2_norm_transform
A sample with no positive count or a NaN count among the fitted genes now gets a NaN size factor from deseq2_norm_transform. Handle NaN size factors in downstream code. github.com - Behavior changed
DeseqDataSet
Building a DeseqDataSet with duplicated gene names now raises a ValueError instead of failing later in deseq2(). Make gene names unique before building the dataset. github.com - Behavior changed
lfc_shrink
lfc_shrink() without coeff now raises a ValueError when the contrast involves several coefficients or has a weight other than 1 on its coefficient. Set the reference level in the design instead. github.com - Signature changed
pydeseq2.dds.DeseqDataSet.__init__
Was def __init__(self, *, adata: ad.AnnData | None = None, counts: pd.DataFrame | None = None, metadata: pd.DataFrame | None = None, design: str | pd.DataFrame = '~condition', design_factors: str | list[str] | None = None... pypi.org - Signature changed
pydeseq2.dds.DeseqDataSet.deseq2
Was def deseq2(self, fit_type: Literal['parametric', 'mean'] | None = None) -> None; now def deseq2(self, fit_type: Literal['parametric', 'mean', 'local'] | None = None) -> None. pypi.org - Signature changed
pydeseq2.dds.DeseqDataSet.vst
Was def vst(self, use_design: bool = False, fit_type: Literal['parametric', 'mean'] | None = None) -> None; now def vst(self, use_design: bool = False, fit_type: Literal['parametric', 'mean', 'local'] | None = None) -> None. pypi.org - Signature changed
pydeseq2.ds.DeseqDataSet.__init__
Was def __init__(self, *, adata: ad.AnnData | None = None, counts: pd.DataFrame | None = None, metadata: pd.DataFrame | None = None, design: str | pd.DataFrame = '~condition', design_factors: str | list[str] | None = None... pypi.org - Signature changed
pydeseq2.ds.DeseqDataSet.deseq2
Was def deseq2(self, fit_type: Literal['parametric', 'mean'] | None = None) -> None; now def deseq2(self, fit_type: Literal['parametric', 'mean', 'local'] | None = None) -> None. pypi.org - Signature changed
pydeseq2.ds.DeseqDataSet.vst
Was def vst(self, use_design: bool = False, fit_type: Literal['parametric', 'mean'] | None = None) -> None; now def vst(self, use_design: bool = False, fit_type: Literal['parametric', 'mean', 'local'] | None = None) -> None. pypi.org - Signature changed
pydeseq2.ds.DeseqStats.__init__
Was def __init__(self, dds: DeseqDataSet, contrast: list[str] | np.ndarray, alpha: float = 0.05, cooks_filter: bool = True, independent_filter: bool = True, prior_LFC_var: np.ndarray | None = None, lfc_null: float = 0.0, alt_hypothesis... pypi.org - Signature changed
pydeseq2.ds.DeseqStats.lfc_shrink
Was def lfc_shrink(self, coeff: str, adapt: bool = True) -> None; now def lfc_shrink(self, coeff: str | None = None, adapt: bool = True) -> None. pypi.org
pydeseq2 0.6.0 breaking changes
- Removed
pydeseq2.default_inference.utils
pydeseq2.default_inference.utils was removed in pydeseq2 0.6.0 pypi.org - Removed
pydeseq2.utils
pydeseq2.utils was removed in pydeseq2 0.6.0 pypi.org - Renamed
pydeseq2.utils.grid_fit_alpha
Use pydeseq2.dispersions.grid_fit_alpha instead. pypi.org - Renamed
pydeseq2.utils.grid_fit_beta
Use pydeseq2.glm.grid_fit_beta instead. pypi.org - Renamed
pydeseq2.utils.load_example_data
Use pydeseq2.datasets.load_example_data instead. pypi.org - Renamed
pydeseq2.utils.lowess
Use pydeseq2.stats.lowess instead. pypi.org - Renamed
pydeseq2.utils.mean_absolute_deviation
Use pydeseq2.stats.mean_absolute_deviation instead. pypi.org - Renamed
pydeseq2.utils.nbinomFn
Use pydeseq2.distributions.nbinomFn instead. pypi.org - Renamed
pydeseq2.utils.robust_method_of_moments_disp
Use pydeseq2.dispersions.robust_method_of_moments_disp instead. pypi.org - Renamed
pydeseq2.utils.test_valid_counts
Use pydeseq2.misc.test_valid_counts instead. pypi.org
And 14 more in this version. Sign up to see every change
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.