Skip to content

Update cogent3 requirement from >=2026.10.15 to >=2026.10.22 - #123

Merged
GavinHuttley merged 1 commit into
developfrom
dependabot/pip/cogent3-gte-2026.10.22
Nov 1, 2026
Merged

GavinHuttley merged 1 commit into
developfrom
dependabot/pip/cogent3-gte-2026.10.22

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on cogent3 to permit the latest version.

Changelog

Sourced from cogent3's changelog.

Changes in release "2026.10.22"

Minor bug fix and feature enhancement release.

API

  • SequenceCollection.distance_matrix() now raises TypeError for any keyword other than calc. Previously extra keywords were silently ignored.

Contributors

Enhancements

  • Alignment.distance_matrix() now supports calc="logdet", with or without the Tamura and Kumar adjustment.
  • In parallel mode, hamming and pdist distances are about 1.8x faster, because the work is now split evenly across threads.
  • get_app("sp_score", calc="hamming") now gives a meaningful score, the same as calc="pdist".

Bug fixes

  • sp_score now scores every pair of sequences on the sites they share. It was giving wrong scores when a gappy sequence agreed with another one at all its shared sites, or when two sequences were identical. Fixes #2783.
  • Some sp_score values change. pdist correctly ignores moltype defined ambiguity codes. Protein jc69 uses all 21 protein states, so a protein distance is now finite until 20/21 of shared sites differ, not 3/4. tn93 estimates base frequencies from the whole alignment rather than from each pair. Distances other than pdist and hamming are computed in 32-bit floats.
  • The tn93 distance used by Alignment.distance_matrix() now works for RNA alignments.
  • Alignment.distance_matrix() and Alignment.quick_tree() with calc="pdist" now raise ArithmeticError when two sequences share no sites, consistent with the other distances. Previously the distance was silently nan.
  • DistanceMatrix.drop_invalid() now drops sequences one at a time, each time the one in the most invalid pairs, until no invalid distances remain. Previously it dropped every sequence in any invalid pair, often leaving nothing. It now always returns a DistanceMatrix, never None.
  • Alignment.quick_tree() now passes extra keywords to the distance calculator, e.g. use_tk_adjustment=False with calc="logdet".

Changes in release "2026.10.15"

Minor bug fix release plus bumping py version.

Contributors

Enhancements

  • Added support for Python 3.15 and numpy 2.5. The optional cogent3-h5seqs dependency is installed only on Python 3.14 and below (for now), and piqtree only on platforms where it publishes wheels.

Bug fixes

  • UnionDict merging no longer loops forever when both sides share a nested dict two or more levels down, e.g. {"d": {"e": {"k": 1}}} | {"d": {"e": {"m": 2}}}. Nested dicts are now copied on construction and assignment, so | leaves both operands untouched and keys can no longer share a child dict. A dict that contains

... (truncated)

Commits
  • 9d1bd6b Merge pull request #2785 from GavinHuttley/develop
  • a8646af BUG: jc69 saturates at (n-1)/n of sites for an n-state alphabet
  • ad75642 TST: protein jc69 stays finite until 20/21 of sites differ
  • 4c4b281 BLD: bump version to 2026.10.22
  • ac72910 Merge pull request #2784 from GavinHuttley/develop
  • 314147a PERF: compute count-based distances straight into the result matrix
  • 5d71efc API: SequenceCollection.distance_matrix rejects unknown keywords
  • 1ae8441 BUG: quick_tree forwards calculator options
  • fe8547c BUG: drop_invalid drops sequences greedily, not every one with a nan
  • b3e8c26 BUG: pdist honours invalid_raises
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [cogent3](https://github.com/cogent3/cogent3) to permit the latest version.
- [Release notes](https://github.com/cogent3/cogent3/releases)
- [Changelog](https://github.com/cogent3/cogent3/blob/develop/changelog.md)
- [Commits](cogent3/cogent3@2026.10.15...2026.10.22)

---
updated-dependencies:
- dependency-name: cogent3
  dependency-version: 2026.10.22
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@GavinHuttley
GavinHuttley merged commit 4fadcda into develop Nov 1, 2026
19 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/cogent3-gte-2026.10.22 branch November 1, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant