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

# pyhmmer breaking changes

pyhmmer 0.12.0 (January 22, 2026) is its newest release with breaking changes, 266 of them. The first: pyhmmer 0.12.0 drops support for PyPy 3.6. Every breaking API change we have recorded in pyhmmer on PyPI: 266 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 `0.12.3`, released August 19, 2026. [Source repository](https://github.com/althonos/pyhmmer)

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

## pyhmmer 0.12.0 breaking changes

pyhmmer 0.12.0, released January 22, 2026: 266 breaking changes.

- **Removed**  

Outdated compatibility code for PyPy 3.6 has been removed, so PyPy 3.6 is no longer supported. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `_from_raw_bytes`  

Class constructors using \_from_raw_bytes now detect invalid buffer sizes, so inputs that were previously accepted may now raise an error. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Alignment.hmm_name`  

Alignment.hmm_name now returns str instead of bytes; other Alignment text properties changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Alignment.target_name`  

Alignment.target_name now returns str instead of bytes; other Alignment text properties changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `HMM.name`  

HMM.name now returns str instead of bytes; accession and description changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `MSA.indexed`  

The indexed mapping uses str keys instead of bytes keys, so lookups with bytes keys will no longer match. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `MSA.name`  

MSA.name now returns str instead of bytes; other MSA textual properties changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `OptimizedProfile.name`  

OptimizedProfile.name now returns str instead of bytes; accession and description changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Profile.name`  

Profile.name now returns str instead of bytes; accession and description changed the same way. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Sequence.accession`  

Sequence.accession now returns str, so code expecting bytes must decode the value or compare against str. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Sequence.description`  

Sequence.description now returns str, so code expecting bytes must decode the value or compare against str. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Sequence.name`  

Sequence.name now returns str, so code expecting bytes must decode the value or compare against str. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `Sequence.source`  

Sequence.source now returns str, so code expecting bytes must decode the value or compare against str. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `SequenceBlock.indexed`  

The indexed mapping uses str keys instead of bytes keys, so lookups with bytes keys will no longer match. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `SSIReader`  

SSIReader keys and aliases are now str instead of bytes. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Behavior changed** `SSIWriter`  

SSIWriter keys and aliases are now str instead of bytes. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Signature changed** `DigitalMSA`  

DigitalMSA no longer accepts positional arguments other than alphabet; pass them by keyword. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Signature changed** `DigitalSequence`  

DigitalSequence no longer accepts positional arguments other than alphabet; pass them by keyword. [github.com](https://github.com/althonos/pyhmmer/releases/tag/v0.12.0)
- **Signature changed** `pyhmmer.daemon.Builder`  

Was class Builder(object); now class Builder(typing.Generic\[ABC\]). [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.__copy__`  

Was def \_\_copy\_\_(self) -> Builder; now def \_\_copy\_\_(self) -> Builder\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.__init__`  

Was def \_\_init\_\_(self, alphabet: Alphabet, \*, architecture: ARCHITECTURE = 'fast', weighting: WEIGHTING = 'pb', effective_number: typing.Union\[EFFECTIVE, int, float\] = 'entropy', prior_scheme: typing.Optional\[PRIOR_SCHEME\] = 'alphabet'... [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.alphabet`  

Was alphabet: Alphabet; now alphabet: ABC. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.build`  

Was def build(self, sequence: DigitalSequence, background: Background) -> typing.Tuple\[HMM, Profile, OptimizedProfile\]; now def build(self, sequence: DigitalSequence\[ABC\], background: Background\[ABC\]) -> typing.Tuple\[HMM\[ABC\]... [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.build_msa`  

Was def build_msa(self, msa: DigitalMSA, background: Background) -> typing.Tuple\[HMM, Profile, OptimizedProfile\]; now def build_msa(self, msa: DigitalMSA\[ABC\], background: Background\[ABC\]) -> typing.Tuple\[HMM\[ABC\], Profile\[ABC\]... [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.Builder.copy`  

Was def copy(self) -> Builder; now def copy(self) -> Builder\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM`  

Was class HMM(object); now class HMM(typing.Generic\[ABC\]). [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.__copy__`  

Was def \_\_copy\_\_(self) -> HMM; now def \_\_copy\_\_(self) -> HMM\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.__deepcopy__`  

Was def \_\_deepcopy\_\_(self, memo: typing.Dict\[int, object\]) -> HMM; now def \_\_deepcopy\_\_(self, memo: Dict\[int, object\]) -> HMM\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.__init__`  

Was def \_\_init\_\_(self, alphabet: Alphabet, M: int, name: bytes) -> None; now def \_\_init\_\_(self, alphabet: ABC, M: int, name: str) -> None. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.accession`  

Was accession: typing.Optional\[bytes\]; now accession: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.alphabet`  

Was alphabet: Alphabet; now alphabet: ABC. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.copy`  

Was def copy(self) -> HMM; now def copy(self) -> HMM\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.description`  

Was description: typing.Optional\[bytes\]; now description: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.mean_match_information`  

Was def mean_match_information(self, background: Background) -> float; now def mean_match_information(self, background: Background\[ABC\]) -> float. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.mean_match_relative_entropy`  

Was def mean_match_relative_entropy(self, background: Background) -> float; now def mean_match_relative_entropy(self, background: Background\[ABC\]) -> float. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.name`  

Was name: bytes; now name: str. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.sample`  

Was @classmethod def sample(cls, alphabet: Alphabet, M: int, randomness: typing.Union\[Randomness, int, None\] = None, ungapped: bool = False, enumerate: bool = False) -> HMM; now @classmethod def sample(cls, alphabet: ABC, M: int... [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.set_consensus`  

Was def set_consensus(self, sequence: typing.Optional\[DigitalSequence\]) -> None; now def set_consensus(self, sequence: Optional\[DigitalSequence\[ABC\]\]) -> None. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.HMM.to_profile`  

Was def to_profile(self, background: typing.Optional\[Background\] = None, L: int = 400, multihit: bool = True, local: bool = True) -> Profile; now def to_profile(self, background: Optional\[Background\[ABC\]\] = None, L: int = 400, multihit... [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.__iter__`  

Was def \_\_iter\_\_(self) -> IterativeSearch; now def \_\_iter\_\_(self) -> IterativeSearch\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.__next__`  

Was def \_\_next\_\_(self) -> IterationResult; now def \_\_next\_\_(self) -> IterationResult\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.builder`  

Was builder: Builder; now builder: Builder\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.pipeline`  

Was pipeline: Pipeline; now pipeline: Pipeline\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.query`  

Was query: typing.Union\[DigitalSequence, HMM\]; now query: Union\[DigitalSequence\[ABC\], HMM\[ABC\]\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.IterativeSearch.targets`  

Was targets: DigitalSequenceBlock; now targets: DigitalSequenceBlock\[ABC\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.MSA.accession`  

Was accession: typing.Optional\[bytes\]; now accession: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.MSA.author`  

Was author: typing.Optional\[bytes\]; now author: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.MSA.description`  

Was description: typing.Optional\[bytes\]; now description: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.MSA.indexed`  

Was indexed: typing.Mapping\[bytes, Sequence\]; now indexed: typing.Mapping\[str, Sequence\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)
- **Signature changed** `pyhmmer.daemon.MSA.model_mask`  

Was model_mask: typing.Optional\[bytes\]; now model_mask: Optional\[str\]. [pypi.org](https://pypi.org/project/pyhmmer/0.12.0/)

And 216 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.
