Skip to content

Update cogent3 requirement from >=2026.10.22 to >=2026.11.5 - #126

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 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.11.5"

A minor enhancement release.

Contributors

Enhancements

  • The fast pairwise distances (hamming, pdist, jc69, tn93, logdet and paralinear) take an include_ambiguity argument, e.g. aln.distance_matrix(calc="tn93", include_ambiguity=True). Sites with an ambiguity code are then included rather than dropped, with each code weighted by the alignment frequencies of the bases it represents. Codes for every base, such as N, are still excluded.

Documentation

  • The genetic distance cookbook page shows how to use include_ambiguity, with a small worked example of how ambiguity codes are weighted.

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.

... (truncated)

Commits
  • da385dd Merge pull request #2803 from GavinHuttley/develop
  • 9296408 BLD: bump version to 2026.11.5
  • af4397a Merge pull request #2802 from GavinHuttley/develop
  • 4fa2ab7 BUG: allow include_ambiguity for moltypes that have no gap character
  • 9068e24 Merge pull request #2801 from GavinHuttley/develop
  • f508451 DEV: run zizmor on pushes to master instead of excluding them
  • 19fd3c0 DEV: audit GitHub workflows with zizmor
  • 719d63c Merge pull request #2800 from GavinHuttley/develop
  • 6201e55 TST: skip parallel cases of existing distance tests on one CPU
  • 63b3be4 DOC: describe include_ambiguity for pairwise distances
  • 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.22...2026.11.5)

---
updated-dependencies:
- dependency-name: cogent3
  dependency-version: 2026.11.5
  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 15, 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 4e7f2b6 into develop Nov 15, 2026
19 checks passed
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